sl_se_gcm_multipart_context_t Struct Reference

Data Fields

uint64_t len
 Total length of the encrypted data.
 
uint64_t add_len
 Total length of the additional data.
 
uint8_t tagbuf [16]
 Tag.
 
uint8_t previous_se_ctx [32]
 SE state from previous operation.
 
uint8_t se_ctx [32]
 SE state.
 
uint8_t final_data [16]
 Input data saved for finish operation.
 
uint8_t final_data_length
 Length of data saved.
 
sl_se_cipher_operation_t mode
 GCM mode.
 
bool first_operation
 First operation.
 

Field Documentation

◆ len

uint64_t sl_se_gcm_multipart_context_t::len

Total length of the encrypted data.

◆ add_len

uint64_t sl_se_gcm_multipart_context_t::add_len

Total length of the additional data.

◆ tagbuf

uint8_t sl_se_gcm_multipart_context_t::tagbuf[16]

Tag.

◆ previous_se_ctx

uint8_t sl_se_gcm_multipart_context_t::previous_se_ctx[32]

SE state from previous operation.

◆ se_ctx

uint8_t sl_se_gcm_multipart_context_t::se_ctx[32]

SE state.

◆ final_data

uint8_t sl_se_gcm_multipart_context_t::final_data[16]

Input data saved for finish operation.

◆ final_data_length

uint8_t sl_se_gcm_multipart_context_t::final_data_length

Length of data saved.

◆ mode

sl_se_cipher_operation_t sl_se_gcm_multipart_context_t::mode

GCM mode.

◆ first_operation

bool sl_se_gcm_multipart_context_t::first_operation

First operation.