|
AM263x MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
57 #include <drivers/hw_include/cslr.h>
58 #include <security/crypto/dthe/hw_include/cslr_aes.h>
68 #define DTHE_AES_ECB_MODE (0x00000000U)
70 #define DTHE_AES_CBC_MODE (0x00000001U)
72 #define DTHE_AES_KEY_128_SIZE (0x00000001U)
74 #define DTHE_AES_KEY_192_SIZE (0x00000002U)
76 #define DTHE_AES_KEY_256_SIZE (0x00000003U)
78 #define DTHE_AES_ENCRYPT (0x016FE45DU)
80 #define DTHE_AES_DECRYPT (0xDCBA4213U)
94 typedef enum DTHE_AES_Return_e
105 typedef struct DTHE_AES_Params_t
AES Driver Parameters This structure has all the parameters which are need by the AES Driver to perfo...
Definition: dthe_aes.h:106
uint8_t keyLen
Length of the Key.
Definition: dthe_aes.h:128
This file contains the prototype of DTHE driver APIs.
uint32_t * ptrIV
Definition: dthe_aes.h:133
uint32_t algoType
Definition: dthe_aes.h:108
uint32_t dataLenBytes
Definition: dthe_aes.h:138
uint32_t opType
Operation to be performed by the AES Driver.
Definition: dthe_aes.h:111
uint32_t * ptrPlainTextData
Definition: dthe_aes.h:160
DTHE_AES_Return_t DTHE_AES_execute(DTHE_Handle handle, const DTHE_AES_Params *ptrParams)
The function is used to execute the AES Driver with the specified parameters.
DTHE_AES_Return_t DTHE_AES_close(DTHE_Handle handle)
Function to close DTHE AES Driver.
DTHE_AES_Return_t
DTHE AES Driver Error code.
Definition: dthe_aes.h:95
void * DTHE_Handle
Handle to the DTHE driver.
Definition: dthe.h:84
uint32_t * ptrKey
Definition: dthe_aes.h:123
@ DTHE_AES_RETURN_SUCCESS
Definition: dthe_aes.h:96
uint32_t * ptrEncryptedData
Definition: dthe_aes.h:149
Bool useKEKMode
Definition: dthe_aes.h:117
@ DTHE_AES_RETURN_FAILURE
Definition: dthe_aes.h:97
DTHE_AES_Return_t DTHE_AES_open(DTHE_Handle handle)
Function to Open DTHE AES Driver.