AM64x MCU+ SDK  08.02.00
Crypto_Params Struct Reference

Detailed Description

CRYPTO Parameters for various operations.

Data Fields

uint32_t authMode
 
uint8_t key [CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]
 
uint32_t keySizeInBytes
 
uint8_t iPad [CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]
 
uint8_t oPad [CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]
 
uint8_t aesWithKeyAppliedToZeroInput [CRYPTO_AES_BLOCK_LENGTH]
 
uint8_t key1 [CRYPTO_AES_CMAC_KEY_LENGTH]
 
uint8_t key2 [CRYPTO_AES_CMAC_KEY_LENGTH]
 

Field Documentation

◆ authMode

uint32_t Crypto_Params::authMode

Authentication mode.

◆ key

uint8_t Crypto_Params::key[CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]

Key for Hmac sha algorithm

◆ keySizeInBytes

uint32_t Crypto_Params::keySizeInBytes

Key size in bytes for Hmac algorithm

◆ iPad

uint8_t Crypto_Params::iPad[CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]

iPad for hmac calculation

◆ oPad

uint8_t Crypto_Params::oPad[CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES]

oPad for hmac calculation

◆ aesWithKeyAppliedToZeroInput

uint8_t Crypto_Params::aesWithKeyAppliedToZeroInput[CRYPTO_AES_BLOCK_LENGTH]

Used to calculate key1 and key2

◆ key1

uint8_t Crypto_Params::key1[CRYPTO_AES_CMAC_KEY_LENGTH]

Key1 for Cmac operations

◆ key2

uint8_t Crypto_Params::key2[CRYPTO_AES_CMAC_KEY_LENGTH]

Key2 for Cmac operations