57 #ifndef ti_drivers_aesecb_AESECBLPF3__include 58 #define ti_drivers_aesecb_AESECBLPF3__include 78 #define AESECBLPF3_DMA_SIZE_THRESHOLD (1U * AES_BLOCK_SIZE) 85 #if DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0 86 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 87 ((uint32_t)AES_AUTOCFG_AESSRC_BUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 88 #elif DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX 89 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 90 ((uint32_t)AES_AUTOCFG_ECBSRC_BUF | (uint32_t)AES_AUTOCFG_TRGECB_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 92 #error "Unsupported DeviceFamily_Parent for AESECBLPF3!" 133 void AESECBLPF3_processData(
AESCommonLPF3_Object *
object,
const uint8_t *input, uint8_t *output,
size_t inputLength);
150 __STATIC_INLINE
bool AESECB_acquireLock(
AESECB_Handle handle, uint32_t timeout)
164 __STATIC_INLINE
void AESECB_releaseLock(
AESECB_Handle handle)
178 __STATIC_INLINE
void AESECB_enableThreadSafety(
AESECB_Handle handle)
181 object->threadSafe =
true;
196 __STATIC_INLINE
void AESECB_disableThreadSafety(
AESECB_Handle handle)
199 object->threadSafe =
false;
bool threadSafe
Definition: AESECBLPF3.h:115
AESECB_CallbackFxn callbackFxn
Definition: AESECBLPF3.h:113
bool CryptoResourceLPF3_acquireLock(uint32_t timeout)
AESCommonLPF3_Object common
Definition: AESECBLPF3.h:111
AES Global configuration.
Definition: AESCommon.h:154
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:581
AESCommonLPF3 Hardware Attributes.
Definition: AESCommonLPF3.h:80
void CryptoResourceLPF3_releaseLock(void)
AESCommon driver implementation for the Low Power F3 family.
void(* AESECB_CallbackFxn)(AESECB_Handle handle, int_fast16_t returnValue, AESECB_Operation *operation, AESECB_OperationType operationType)
The definition of a callback function used by the AESECB driver when used in AESECB_RETURN_BEHAVIOR_C...
Definition: AESECB.h:652
AESECB_Operation * operation
Definition: AESECBLPF3.h:112
Shared resources to arbitrate access to the AES engine.
AESECBLPF3 Object.
Definition: AESECBLPF3.h:108
void * object
Definition: AESCommon.h:157
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:627
AESCommonLPF3_HWAttrs AESECBLPF3_HWAttrs
AESECBLPF3 Hardware Attributes.
Definition: AESECBLPF3.h:101
AESECB_OperationType operationType
Definition: AESECBLPF3.h:114
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:102