AM64x MCU+ SDK  10.00.00
SA2UL_ContextParams Struct Reference

Detailed Description

Parameters passed to SA2UL_contextAlloc()

Data Fields

uint8_t opType
 
uint8_t hashAlg
 
uint8_t encAlg
 
uint8_t encDirection
 
uint8_t encMode
 
uint8_t key [SA2UL_MAX_KEY_SIZE_BYTES]
 
uint8_t encKeySize
 
uint32_t inputLen
 
uint8_t iv [SA2UL_MAX_IV_SIZE_BYTES]
 

Field Documentation

◆ opType

uint8_t SA2UL_ContextParams::opType

SA operation type, refer SA2UL_Engine_Operation_Type

◆ hashAlg

uint8_t SA2UL_ContextParams::hashAlg

Hash algorithm, refer SA2UL_AlgoTypes

◆ encAlg

uint8_t SA2UL_ContextParams::encAlg

Encryption algorithm to run, refer SA2UL_Encryption_Algos

◆ encDirection

uint8_t SA2UL_ContextParams::encDirection

Encrypt or decrypt, refer SA2UL_Encryption_Direction

◆ encMode

uint8_t SA2UL_ContextParams::encMode

Encryption mode to run, refer SA2UL_Encryption_Modes

◆ key

uint8_t SA2UL_ContextParams::key[SA2UL_MAX_KEY_SIZE_BYTES]

Key input for encryption

◆ encKeySize

uint8_t SA2UL_ContextParams::encKeySize

Encryption key size, refer SA2UL_Encryption_Key_Sizes

◆ inputLen

uint32_t SA2UL_ContextParams::inputLen

Overall data length, must be sum of all packet lengths

◆ iv

uint8_t SA2UL_ContextParams::iv[SA2UL_MAX_IV_SIZE_BYTES]

IV input for encryption, refer SA2UL_InputSizes