CCM streaming context.

Public Attributes#

uint32_t

Current length of the encrypted/decrypted data.

uint32_t

Total length of data to be encrypted/decrypted.

uint8_t

Nonce (MAX size is 13 bytes)

uint32_t

Tag length.

CCM mode (decrypt or encrypt)

uint8_t

SE encryption state.

uint8_t

Tag.

uint8_t

Input data saved for finish operation.

union sl_se_ccm_multipart_context_t::@4
uint8_t

Length of data saved.

Public Attribute Documentation#

processed_message_length#

uint32_t sl_se_ccm_multipart_context_t::processed_message_length

Current length of the encrypted/decrypted data.


Definition at line 344 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

total_message_length#

uint32_t sl_se_ccm_multipart_context_t::total_message_length

Total length of data to be encrypted/decrypted.


Definition at line 345 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

iv#

uint8_t sl_se_ccm_multipart_context_t::iv[13]

Nonce (MAX size is 13 bytes)


Definition at line 346 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

tag_len#

uint32_t sl_se_ccm_multipart_context_t::tag_len

Tag length.


Definition at line 347 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

mode#

sl_se_cipher_operation_t sl_se_ccm_multipart_context_t::mode

CCM mode (decrypt or encrypt)


Definition at line 348 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

se_ctx#

uint8_t sl_se_ccm_multipart_context_t::se_ctx[32]

SE encryption state.


Definition at line 355 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

tagbuf#

uint8_t sl_se_ccm_multipart_context_t::tagbuf[16]

Tag.


Definition at line 357 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

final_data#

uint8_t sl_se_ccm_multipart_context_t::final_data[16]

Input data saved for finish operation.


Definition at line 358 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

mode_specific_buffer#

union sl_se_ccm_multipart_context_t::@4 sl_se_ccm_multipart_context_t::mode_specific_buffer

Definition at line 359 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h

final_data_length#

uint8_t sl_se_ccm_multipart_context_t::final_data_length

Length of data saved.


Definition at line 361 of file platform/security/sl_component/se_manager/inc/sl_se_manager_types.h