Go to the documentation of this file.
124 namespace VirgilIoTKit {
164 vs_tl_save_part(vs_tl_element_info_t *element_info,
const uint8_t *in_data, uint16_t data_sz);
178 vs_tl_load_part(vs_tl_element_info_t *element_info, uint8_t *out_data, uint16_t buf_sz, uint16_t *out_sz);
223 #endif // TRUST_LIST_H
File type information.
Definition: update.h:70
Security Module implementation.
Definition: secmodule.h:458
vs_status_e vs_tl_deinit(void)
Trust List destruction.
vs_status_e
Status code.
Definition: status_code.h:77
vs_status_e vs_tl_init(vs_storage_op_ctx_t *op_ctx, vs_secmodule_impl_t *secmodule, vs_file_ver_info_cb_t ver_info_cb)
Trust List initialization.
vs_update_interface_t * vs_tl_update_ctx(void)
Update interface for Trust List.
Update interface for files downloading.
void(* vs_file_ver_info_cb_t)(vs_file_version_t ver)
Callback function to inform system about current version of file.
Definition: provision-structs.h:248
void vs_tl_header_to_net(const vs_tl_header_t *src_data, vs_tl_header_t *dst_data)
Convert Trust List header to network.
Status codes and macroses.
const vs_update_file_type_t * vs_tl_update_file_type(void)
Trust List file type.
Storage element context.
Definition: storage_hal.h:221
vs_status_e vs_tl_save_part(vs_tl_element_info_t *element_info, const uint8_t *in_data, uint16_t data_sz)
Trust List element saving.
Update interface context.
Definition: update.h:284
void vs_tl_header_to_host(const vs_tl_header_t *src_data, vs_tl_header_t *dst_data)
Convert Trust List header to host.
Security Module implementations signatures.
vs_status_e vs_tl_load_part(vs_tl_element_info_t *element_info, uint8_t *out_data, uint16_t buf_sz, uint16_t *out_sz)
Trust List element loading.