41 #ifndef ti_drivers_aescommon_AESCommonLPF3__include 42 #define ti_drivers_aescommon_AESCommonLPF3__include 50 #include <ti/drivers/dpl/HwiP.h> 52 #include <ti/devices/DeviceFamily.h> 53 #include DeviceFamily_constructPath(inc/hw_types.h) 64 #ifndef AESCommonLPF3_UNALIGNED_IO_SUPPORT_ENABLE 65 #define AESCommonLPF3_UNALIGNED_IO_SUPPORT_ENABLE 0 73 #define AESCommonLPF3_DMA_CHA_BITMASK ((uint32_t)1U << DMA_CH4) 75 #define AESCommonLPF3_DMA_CHB_BITMASK ((uint32_t)1U << DMA_CH5) 122 void AESCommonLPF3_init(
void);
147 void AESCommonLPF3_loadKey(
const CryptoKey *key);
158 void AESCommonLPF3_setupOperation(
CryptoKey *key, uint32_t autoCfgVal);
195 object->operationInProgress =
false;
236 bool AESCommonLPF3_isDMALengthValid(
const void *input,
const void *output,
size_t length);
254 void AESCommonLPF3_configInputDMA(
const void *input,
size_t inputLength);
273 void AESCommonLPF3_configOutputDMA(
void *output,
size_t outputLength);
285 void AESCommonLPF3_cancelDMA(
bool cancelChannelB);
312 void AESCommonLPF3_setupHwi(HwiP_Fxn hwiFxn, uintptr_t hwiFxnArg, uint8_t intPriority);
The CryptoKey type is an opaque representation of a cryptographic key.
volatile int_fast16_t returnStatus
Definition: AESCommonLPF3.h:106
AES_ReturnBehavior
The return behavior of AES functions.
Definition: AESCommon.h:184
AES_ReturnBehavior returnBehavior
Definition: AESCommonLPF3.h:107
CryptoKey datastructure.
Definition: CryptoKey.h:192
volatile bool operationInProgress
Definition: AESCommonLPF3.h:110
volatile bool powerConstraintSet
Definition: AESCommonLPF3.h:111
CryptoKey key
Definition: AESCommonLPF3.h:105
uint8_t intPriority
Crypto Peripheral's interrupt priority.
Definition: AESCommonLPF3.h:94
AESCommonLPF3 Hardware Attributes.
Definition: AESCommonLPF3.h:80
uint32_t semaphoreTimeout
Definition: AESCommonLPF3.h:104
AES common module header for all devices.
bool isOpen
Definition: AESCommonLPF3.h:108
volatile bool cryptoResourceLocked
Definition: AESCommonLPF3.h:109
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:102