58 #ifndef ti_drivers_aesecb_AESECBLPF3__include 59 #define ti_drivers_aesecb_AESECBLPF3__include 68 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) || (DeviceFamily_PARENT == DeviceFamily_PARENT_CC35XX) 83 #define AESECBLPF3_DMA_SIZE_THRESHOLD (1U * AES_BLOCK_SIZE) 91 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC23X0) || (DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) 92 #define AESECBLPF3_SINGLE_BLOCK_AUTOCFG \ 93 ((uint32_t)AES_AUTOCFG_AESSRC_BUF | (uint32_t)AES_AUTOCFG_TRGAES_WRBUF3S | (uint32_t)AES_AUTOCFG_BUSHALT_EN) 94 #elif (DeviceFamily_PARENT == DeviceFamily_PARENT_CC35XX) 97 #error "Unsupported DeviceFamily_Parent for AESECBLPF3!" 121 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) || (DeviceFamily_PARENT == DeviceFamily_PARENT_CC35XX) 156 void AESECBLPF3_processData(
AESCommonLPF3_Object *
object,
const uint8_t *input, uint8_t *output,
size_t inputLength);
173 __STATIC_INLINE
bool AESECB_acquireLock(
AESECB_Handle handle, uint32_t timeout)
187 __STATIC_INLINE
void AESECB_releaseLock(
AESECB_Handle handle)
201 __STATIC_INLINE
void AESECB_enableThreadSafety(
AESECB_Handle handle)
204 object->threadSafe =
true;
219 __STATIC_INLINE
void AESECB_disableThreadSafety(
AESECB_Handle handle)
222 object->threadSafe =
false;
volatile size_t totalDataLengthRemaining
Definition: AESECBLPF3.h:126
bool threadSafe
Definition: AESECBLPF3.h:120
AESECB_CallbackFxn callbackFxn
Definition: AESECBLPF3.h:118
bool CryptoResourceLPF3_acquireLock(uint32_t timeout)
CryptoKeyKeyStore_PSA driver header.
AESCommonLPF3_Object common
Definition: AESECBLPF3.h:116
AES Global configuration.
Definition: AESCommon.h:154
KeyStore_PSA_KeyLocation keyLocation
Definition: AESECBLPF3.h:134
size_t totalDataLength
Definition: AESECBLPF3.h:125
size_t inputLength
Definition: AESECBLPF3.h:124
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:587
AESCommonLPF3 Hardware Attributes.
Definition: AESCommonLPF3.h:103
psa_key_location_t KeyStore_PSA_KeyLocation
Definition: CryptoKeyKeyStore_PSA.h:251
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:661
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:132
AESECB_Operation * operation
Definition: AESECBLPF3.h:117
Shared resources to arbitrate access to the AES engine.
uint8_t * output
Definition: AESECBLPF3.h:123
AESECBLPF3 Object.
Definition: AESECBLPF3.h:113
const uint8_t * input
Definition: AESECBLPF3.h:122
void * object
Definition: AESCommon.h:157
uint32_t keyAssetID
Definition: AESECBLPF3.h:133
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:636
AESCommonLPF3_HWAttrs AESECBLPF3_HWAttrs
AESECBLPF3 Hardware Attributes.
Definition: AESECBLPF3.h:106
AESECB_OperationType operationType
Definition: AESECBLPF3.h:119
bool segmentedOperationInProgress
Definition: AESECBLPF3.h:137
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:125