Data Accelerator Offload
Loading...
Searching...
No Matches
Data Fields
dao_lc_aes_key_wrap_ctx Struct Reference

#include <dao_liquid_crypto.h>

Data Fields

bool is_wrap
 
enum dao_lc_fc_aes_key_len aes_kek_type
 
uint16_t kek_len
 
uint8_t kek [DAO_LC_AES_MAX_KEY_ENC_KEY_LEN]
 
bool is_wrap_pad
 

Detailed Description

The liquid crypto AES key wrap context. This structure is used to store the context for AES key wrap operations. It contains the key length and the key encryption key (KEK).

Definition at line 733 of file dao_liquid_crypto.h.

Field Documentation

◆ is_wrap

bool is_wrap

Set to true for key wrap operation, false for unwrap operation.

Definition at line 735 of file dao_liquid_crypto.h.

◆ aes_kek_type

enum dao_lc_fc_aes_key_len aes_kek_type

The AES key type (128, 192, or 256 bits)

Definition at line 737 of file dao_liquid_crypto.h.

◆ kek_len

uint16_t kek_len

Length of the Key Encryption Key in bytes (must be 16, 24, or 32)

Definition at line 739 of file dao_liquid_crypto.h.

◆ kek

The key encryption key (KEK)

Definition at line 741 of file dao_liquid_crypto.h.

◆ is_wrap_pad

bool is_wrap_pad

Indicates if padding is used (for AES-KWP)

Definition at line 743 of file dao_liquid_crypto.h.


The documentation for this struct was generated from the following file: