sl_se_ccm_multipart_context_t Struct Reference

CCM streaming context.

#include <sl_se_manager_types.h>

Data Fields

uint32_t message_length
Current length of the encrypted/decrypted data.
uint32_t total_message_length
Total length of data to be encrypted/decrypted.
uint8_t iv [13]
Nonce (MAX size is 13 bytes)
uint8_t se_ctx [32]
SE encryption state.
uint32_t tag_len
Tag length.
sl_se_cipher_operation_t mode
CCM mode (decrypt or encrypt)
union {
uint8_t tagbuf [16]
Tag.
uint8_t final_data [16]
Input data saved for finish operation.
} mode_specific_buffer
uint8_t final_data_length
Length of data saved.
bool last_update_operation
Last operation / update.

CCM streaming context.

Field Documentation

message_length

uint32_t sl_se_ccm_multipart_context_t::message_length

Current length of the encrypted/decrypted data.

total_message_length

uint32_t sl_se_ccm_multipart_context_t::total_message_length

Total length of data to be encrypted/decrypted.

iv

uint8_t sl_se_ccm_multipart_context_t::iv[13]

Nonce (MAX size is 13 bytes)

se_ctx

uint8_t sl_se_ccm_multipart_context_t::se_ctx[32]

SE encryption state.

tag_len

uint32_t sl_se_ccm_multipart_context_t::tag_len

Tag length.

mode

sl_se_cipher_operation_t sl_se_ccm_multipart_context_t::mode

CCM mode (decrypt or encrypt)

tagbuf

uint8_t sl_se_ccm_multipart_context_t::tagbuf[16]

Tag.

final_data

uint8_t sl_se_ccm_multipart_context_t::final_data[16]

Input data saved for finish operation.

final_data_length

uint8_t sl_se_ccm_multipart_context_t::final_data_length

Length of data saved.

last_update_operation

bool sl_se_ccm_multipart_context_t::last_update_operation

Last operation / update.