57 #ifndef ti_drivers_aesecb_AESECBLPF3__include 58 #define ti_drivers_aesecb_AESECBLPF3__include 78 #define AESECBLPF3_DMA_SIZE_THRESHOLD (1U * AES_BLOCK_SIZE) 86 #if DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0 87 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 88 ((uint32_t)AES_AUTOCFG_AESSRC_BUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 89 #elif DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX 90 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 91 ((uint32_t)AES_AUTOCFG_ECBSRC_BUF | (uint32_t)AES_AUTOCFG_TRGECB_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 93 #error "Unsupported DeviceFamily_Parent for AESECBLPF3!" 134 void AESECBLPF3_processData(
AESCommonLPF3_Object *
object,
const uint8_t *input, uint8_t *output,
size_t inputLength);
151 __STATIC_INLINE
bool AESECB_acquireLock(
AESECB_Handle handle, uint32_t timeout)
165 __STATIC_INLINE
void AESECB_releaseLock(
AESECB_Handle handle)
179 __STATIC_INLINE
void AESECB_enableThreadSafety(
AESECB_Handle handle)
182 object->threadSafe =
true;
197 __STATIC_INLINE
void AESECB_disableThreadSafety(
AESECB_Handle handle)
200 object->threadSafe =
false;
bool threadSafe
Definition: AESECBLPF3.h:116
AESECB_CallbackFxn callbackFxn
Definition: AESECBLPF3.h:114
bool CryptoResourceLPF3_acquireLock(uint32_t timeout)
AESCommonLPF3_Object common
Definition: AESECBLPF3.h:112
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:113
Shared resources to arbitrate access to the AES engine.
AESECBLPF3 Object.
Definition: AESECBLPF3.h:109
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:102
AESECB_OperationType operationType
Definition: AESECBLPF3.h:115
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:102