58 #ifndef ti_drivers_aesecb_AESECBLPF3__include 59 #define ti_drivers_aesecb_AESECBLPF3__include 79 #define AESECBLPF3_DMA_SIZE_THRESHOLD (1U * AES_BLOCK_SIZE) 87 #if DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0 88 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 89 ((uint32_t)AES_AUTOCFG_AESSRC_BUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 90 #elif DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX 91 #define AESEBCLPF3_SINGLE_BLOCK_AUTOCFG \ 92 ((uint32_t)AES_AUTOCFG_ECBSRC_BUF | (uint32_t)AES_AUTOCFG_TRGECB_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 94 #error "Unsupported DeviceFamily_Parent for AESECBLPF3!" 118 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) 151 void AESECBLPF3_processData(
AESCommonLPF3_Object *
object,
const uint8_t *input, uint8_t *output,
size_t inputLength);
168 __STATIC_INLINE
bool AESECB_acquireLock(
AESECB_Handle handle, uint32_t timeout)
182 __STATIC_INLINE
void AESECB_releaseLock(
AESECB_Handle handle)
196 __STATIC_INLINE
void AESECB_enableThreadSafety(
AESECB_Handle handle)
199 object->threadSafe =
true;
214 __STATIC_INLINE
void AESECB_disableThreadSafety(
AESECB_Handle handle)
217 object->threadSafe =
false;
volatile size_t totalDataLengthRemaining
Definition: AESECBLPF3.h:123
bool threadSafe
Definition: AESECBLPF3.h:117
AESECB_CallbackFxn callbackFxn
Definition: AESECBLPF3.h:115
bool CryptoResourceLPF3_acquireLock(uint32_t timeout)
AESCommonLPF3_Object common
Definition: AESECBLPF3.h:113
AES Global configuration.
Definition: AESCommon.h:154
size_t totalDataLength
Definition: AESECBLPF3.h:122
size_t inputLength
Definition: AESECBLPF3.h:121
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
int_fast16_t hsmStatus
The staus of the HSM Boot up process if HSMLPF3_STATUS_SUCCESS, the HSM booted properly. if HSMLPF3_STATUS_ERROR, the HSM did not boot properly.
Definition: AESECBLPF3.h:129
AESECB_Operation * operation
Definition: AESECBLPF3.h:114
Shared resources to arbitrate access to the AES engine.
uint8_t * output
Definition: AESECBLPF3.h:120
AESECBLPF3 Object.
Definition: AESECBLPF3.h:110
const uint8_t * input
Definition: AESECBLPF3.h:119
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:103
AESECB_OperationType operationType
Definition: AESECBLPF3.h:116
bool segmentedOperationInProgress
Definition: AESECBLPF3.h:132
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:102