sl_se_ccm_multipart_context_t Struct Reference

CCM streaming context.

#include <sl_se_manager_types.h>

Data Fields

uint32_t processed_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)
uint32_t tag_len
Tag length.
sl_se_cipher_operation_t mode
CCM mode (decrypt or encrypt)
uint8_t se_ctx [32]
SE encryption state.
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.

CCM streaming context.

Field Documentation

processed_message_length

uint32_t sl_se_ccm_multipart_context_t::processed_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)

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)

se_ctx

uint8_t sl_se_ccm_multipart_context_t::se_ctx[32]

SE encryption state.

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.