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] |
uint8_t SA2UL_ContextParams::opType |
SA operation type, refer SA2UL_Engine_Operation_Type
uint8_t SA2UL_ContextParams::hashAlg |
Hash algorithm, refer SA2UL_AlgoTypes
uint8_t SA2UL_ContextParams::encAlg |
Encryption algorithm to run, refer SA2UL_Encryption_Algos
uint8_t SA2UL_ContextParams::encDirection |
Encrypt or decrypt, refer SA2UL_Encryption_Direction
uint8_t SA2UL_ContextParams::encMode |
Encryption mode to run, refer SA2UL_Encryption_Modes
uint8_t SA2UL_ContextParams::key[SA2UL_MAX_KEY_SIZE_BYTES] |
Key input for encryption
uint8_t SA2UL_ContextParams::encKeySize |
Encryption key size, refer SA2UL_Encryption_Key_Sizes
uint32_t SA2UL_ContextParams::inputLen |
Overall data length, must be sum of all packet lengths
uint8_t SA2UL_ContextParams::iv[SA2UL_MAX_IV_SIZE_BYTES] |
IV input for encryption, refer SA2UL_InputSizes