|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
66 #define CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES (128U)
68 #define CRYPTO_HMAC_SHA512_KEYLEN_BYTES (128U)
70 #define CRYPTO_HMAC_SHA1_KEYLEN_BYTES (64U)
72 #define CRYPTO_HMAC_SHA256_KEYLEN_BYTES (64U)
74 #define CRYPTO_HMAC_SHA_IPAD (0x36U)
76 #define CRYPTO_HMAC_SHA_OPAD (0x5CU)
79 #define CRYPTO_AES_CMAC_KEY_LENGTH (16U)
81 #define CRYPTO_AES_BLOCK_LENGTH (16U)
CRYPTO driver context.
Definition: crypto.h:92
#define CRYPTO_AES_BLOCK_LENGTH
Aes block length.
Definition: crypto.h:81
uint32_t keySizeInBytes
Definition: crypto.h:105
CRYPTO Parameters for various operations.
Definition: crypto.h:99
int32_t Crypto_hmacSha(Crypto_Params *params)
This function calculates oPad & iPad for HMAC.
Crypto_Handle Crypto_open(Crypto_Context *ctx)
This function opens a Crypto module.
#define CRYPTO_HMAC_SHA_MAX_KEYLEN_BYTES
Key length for HMAC-SHA Process.
Definition: crypto.h:66
#define CRYPTO_AES_CMAC_KEY_LENGTH
Aes Cmac key length.
Definition: crypto.h:79
uint32_t authMode
Definition: crypto.h:101
int32_t Crypto_close(Crypto_Handle handle)
Function to close a Crypto module.
void * drvHandle
Definition: crypto.h:93
void Crypto_deinit(void)
This function de-initializes the Crypto module.
int32_t Crypto_cmacGenSubKeys(Crypto_Params *params)
This function Generate Sub keys for CMAC calculation.
void * Crypto_Handle
Handle to the Crypto driver returned by Crypto_open()
Definition: crypto.h:84
void Crypto_init(void)
This function initializes the Crypto module.