55 #ifndef ti_drivers_aescmac_AESCMACLPF3__include 56 #define ti_drivers_aescmac_AESCMACLPF3__include 65 #include <ti/devices/DeviceFamily.h> 66 #include DeviceFamily_constructPath(inc/hw_types.h) 67 #include DeviceFamily_constructPath(driverlib/aes.h) 78 #if DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0 79 #define AESCMACLPF3_DEFAULT_AUTOCFG \ 80 ((uint32_t)AES_AUTOCFG_AESSRC_TXTXBUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3 | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 81 #elif DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX 82 #define AESCMACLPF3_DEFAULT_AUTOCFG \ 83 ((uint32_t)AES_AUTOCFG_AESSRC_TXTXBUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3 | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 85 #error "Unsupported DeviceFamily_Parent for AESCMACLPF3!" 93 #if DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0 94 #define AESCMACLPF3_DMA_CONFIG ((uint32_t)AES_DMA_ADRCHA_BUF0 | (uint32_t)AES_DMA_TRGCHA_AESSTART) 95 #elif DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX 96 #define AESCMACLPF3_DMA_CONFIG ((uint32_t)AES_DMA_ADRCHA_BUF0 | (uint32_t)AES_DMA_TRGCHA_ECBSTART) 98 #error "Unsupported DeviceFamily_Parent for AESCMACLPF3!" 101 #define AESCBCMACLPF3_DMA_CONFIG AESCMACLPF3_DMA_CONFIG 120 volatile uint32_t intermediateTag[AES_TAG_LENGTH_BYTES / 4U];
121 uint32_t finalInputBlock[AES_BLOCK_SIZE_WORDS];
139 void AESCMACLPF3_processBlocks(
const uint8_t *input,
size_t transactionLength);
148 void AESCMACLPF3_readTag(uint32_t tagOut[AES_TAG_LENGTH_BYTES / 4U]);
166 __STATIC_INLINE
bool AESCMAC_acquireLock(
AESCMAC_Handle handle, uint32_t timeout)
194 __STATIC_INLINE
void AESCMAC_enableThreadSafety(
AESCMAC_Handle handle)
197 object->threadSafe =
true;
212 __STATIC_INLINE
void AESCMAC_disableThreadSafety(
AESCMAC_Handle handle)
215 object->threadSafe =
false;
bool CryptoResourceLPF3_acquireLock(uint32_t timeout)
AES Global configuration.
Definition: AESCommon.h:154
AESCMACLPF3 Object.
Definition: AESCMACLPF3.h:116
AESCMAC_OperationType
Enum for the operation types supported by the driver.
Definition: AESCMAC.h:715
AESCommonLPF3_Object common
Definition: AESCMACLPF3.h:119
void(* AESCMAC_CallbackFxn)(AESCMAC_Handle handle, int_fast16_t returnValue, AESCMAC_Operation *operation, AESCMAC_OperationType operationType)
The definition of a callback function used by the AESCMAC driver when used in AESCMAC_RETURN_BEHAVIOR...
Definition: AESCMAC.h:739
AESCMAC_OperationType operationType
Definition: AESCMACLPF3.h:124
AESCMAC_Operation * operation
Definition: AESCMACLPF3.h:123
AESCMAC_OperationalMode
Defines the operation modes for the AESCMAC driver.
Definition: AESCMAC.h:652
AESCMAC_CallbackFxn callbackFxn
Definition: AESCMACLPF3.h:122
AESCommonLPF3 Hardware Attributes.
Definition: AESCommonLPF3.h:80
void CryptoResourceLPF3_releaseLock(void)
AESCommon driver implementation for the Low Power F3 family.
bool threadSafe
Definition: AESCMACLPF3.h:126
Shared resources to arbitrate access to the AES engine.
AESCommonLPF3_HWAttrs AESCMACLPF3_HWAttrs
AESCMACLPF3 Hardware Attributes.
Definition: AESCMACLPF3.h:109
AESCMAC (CMAC and CBC-MAC) driver header.
void * object
Definition: AESCommon.h:157
Struct containing the parameters required for signing or verifying a message.
Definition: AESCMAC.h:661
AESCMAC_OperationalMode operationalMode
Definition: AESCMACLPF3.h:125
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:102