65 #ifndef ti_drivers_aesgcm_AESGCMLPF3HSM__include 66 #define ti_drivers_aesgcm_AESGCMLPF3HSM__include 75 #include <ti/devices/DeviceFamily.h> 76 #if (DeviceFamily_PARENT != DeviceFamily_PARENT_CC35XX) 77 #include DeviceFamily_constructPath(driverlib/aes.h) 80 #if (DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) || (DeviceFamily_PARENT == DeviceFamily_PARENT_CC35XX) volatile size_t totalAADLengthRemaining
Definition: AESGCMLPF3HSM.h:122
uint32_t keyAssetID
Definition: AESGCMLPF3HSM.h:136
AESGCM_OperationType
Enum for the operation types supported by the driver.
Definition: AESGCM.h:944
KeyStore_PSA_KeyLocation keyLocation
Definition: AESGCMLPF3HSM.h:138
AESGCM_OperationUnion * operation
Definition: AESGCMLPF3HSM.h:115
size_t totalDataLength
Definition: AESGCMLPF3HSM.h:120
#define AES_BLOCK_SIZE
Block size in number of bytes.
Definition: AESCommonLPF3.h:85
uint8_t * output
Definition: AESGCMLPF3HSM.h:107
size_t totalAADLength
Definition: AESGCMLPF3HSM.h:119
const uint8_t * iv
Definition: AESGCMLPF3HSM.h:108
uint8_t ivLength
Definition: AESGCMLPF3HSM.h:125
CryptoKeyKeyStore_PSA driver header.
AES Global configuration.
Definition: AESCommon.h:154
#define AESCommonLPF3_256_KEY_LENGTH_BYTES
Definition: AESCommonLPF3.h:78
size_t inputLength
Definition: AESGCMLPF3HSM.h:116
size_t aadLength
Definition: AESGCMLPF3HSM.h:117
volatile size_t totalDataLengthRemaining
Definition: AESGCMLPF3HSM.h:121
const uint8_t * input
Definition: AESGCMLPF3HSM.h:106
AESCommonLPF3_Object common
Definition: AESGCMLPF3HSM.h:104
bool segmentedOperationInProgress
Definition: AESGCMLPF3HSM.h:140
void(* AESGCM_CallbackFxn)(AESGCM_Handle handle, int_fast16_t returnValue, AESGCM_OperationUnion *operation, AESGCM_OperationType operationType)
The definition of a callback function used by the AESGCM driver when used in AESGCM_RETURN_BEHAVIOR_C...
Definition: AESGCM.h:974
int_fast16_t AESGCMLPF3HSM_setMac(AESGCM_Handle handle, const uint8_t *mac, size_t macLength)
Function to set the mac for an AES CCM segmented operation. This API needs to be called only when the...
AESCommonLPF3 Hardware Attributes.
Definition: AESCommonLPF3.h:103
psa_key_location_t KeyStore_PSA_KeyLocation
Definition: CryptoKeyKeyStore_PSA.h:251
uint32_t tempAssetID
Definition: AESGCMLPF3HSM.h:137
AESGCM_CallbackFxn callbackFxn
Definition: AESGCMLPF3HSM.h:114
int_fast16_t hsmStatus
The status 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: AESGCMLPF3HSM.h:135
AESCommon driver implementation for the Low Power F3 family.
AESCommonLPF3_HWAttrs AESGCMLPF3HSM_HWAttrs
AESGCMLPF3 Hardware Attributes.
Definition: AESGCMLPF3HSM.h:94
AESGCMLPF3HSM Object.
Definition: AESGCMLPF3HSM.h:101
#define AES_BLOCK_SIZE_WORDS
Definition: AESCommonLPF3.h:86
AESGCM_OperationType operationType
Definition: AESGCMLPF3HSM.h:123
uint8_t macLength
Definition: AESGCMLPF3HSM.h:124
Union containing a reference to a one step, segmented AAD, segmented data, or segmented finalize oper...
Definition: AESGCM.h:932
const uint8_t * aad
Definition: AESGCMLPF3HSM.h:105
uint8_t * mac
Definition: AESGCMLPF3HSM.h:109
uint8_t bufferedAADLength
Definition: AESGCMLPF3HSM.h:118
AESCommonLPF3 Object.
Definition: AESCommonLPF3.h:125