sl_se_gcm_streaming_context_t Struct Reference

GCM streaming context.

#include <sl_se_manager_types.h>

Data Fields

sl_se_command_context_t * cmd_ctx
Pointer to command context object.
const sl_se_key_descriptor_t * key
Pointer to key object.
uint64_t len
Total length of the encrypted data.
uint64_t add_len
Total length of the additional data.
uint8_t se_ctx_enc [32]
SE encryption state.
uint8_t se_ctx_dec [32]
SE decryption state.
uint8_t tagbuf [16]
Tag.
int mode
GCM mode.
bool last_op
Last operation / update.

GCM streaming context.

Field Documentation

cmd_ctx

sl_se_command_context_t * sl_se_gcm_streaming_context_t::cmd_ctx

Pointer to command context object.

key

const sl_se_key_descriptor_t * sl_se_gcm_streaming_context_t::key

Pointer to key object.

len

uint64_t sl_se_gcm_streaming_context_t::len

Total length of the encrypted data.

add_len

uint64_t sl_se_gcm_streaming_context_t::add_len

Total length of the additional data.

se_ctx_enc

uint8_t sl_se_gcm_streaming_context_t::se_ctx_enc[32]

SE encryption state.

se_ctx_dec

uint8_t sl_se_gcm_streaming_context_t::se_ctx_dec[32]

SE decryption state.

tagbuf

uint8_t sl_se_gcm_streaming_context_t::tagbuf[16]

Tag.

mode

int sl_se_gcm_streaming_context_t::mode

GCM mode.

last_op

bool sl_se_gcm_streaming_context_t::last_op

Last operation / update.