AM64x MCU+ SDK  08.01.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

◆ encDirection

uint8_t SA2UL_ContextParams::encDirection

Encryption algorithm to run refer SA2UL_Encryption_Algos

◆ encMode

uint8_t SA2UL_ContextParams::encMode

Encrypt or decrypt refer SA2UL_Encryption_Direction

◆ key

uint8_t SA2UL_ContextParams::key[SA2UL_MAX_KEY_SIZE_BYTES]

Encryption mode to run refer SA2UL_Encryption_Modes

◆ encKeySize

uint8_t SA2UL_ContextParams::encKeySize

Key input for encryption or HMAC

◆ inputLen

uint32_t SA2UL_ContextParams::inputLen

Encryption key size refer SA2UL_Encryption_Key_Sizes

◆ iv

uint8_t SA2UL_ContextParams::iv[SA2UL_MAX_IV_SIZE_BYTES]

Overall data length, must be sum of all packet lengths