304 #ifndef ti_drivers_AESGCM__include 305 #define ti_drivers_AESGCM__include 329 #define AESGCM_STATUS_RESERVED (-32) 337 #define AESGCM_STATUS_SUCCESS (0) 345 #define AESGCM_STATUS_ERROR (-1) 355 #define AESGCM_STATUS_RESOURCE_UNAVAILABLE (-2) 364 #define AESGCM_STATUS_MAC_INVALID (-3) 369 #define AESGCM_STATUS_CANCELED (-4) 518 int_fast16_t returnValue,
ADC_Params params
Definition: Driver_Init.h:11
void * custom
Definition: AESGCM.h:536
The CryptoKey type is an opaque representation of a cryptographic key.
uint8_t * input
Definition: AESGCM.h:451
uint8_t macLength
Definition: AESGCM.h:485
CryptoKey * key
Definition: AESGCM.h:446
AESGCM_OperationType
Enum for the operation types supported by the driver.
Definition: AESGCM.h:497
int_fast16_t AESGCM_cancelOperation(AESGCM_Handle handle)
Cancels an ongoing AESGCM operation.
const AESGCM_Params AESGCM_defaultParams
Default AESGCM_Params structure.
uint8_t ivLength
Definition: AESGCM.h:482
void * object
Definition: AESGCM.h:384
CryptoKey datastructure.
Definition: CryptoKey.h:209
int_fast16_t AESGCM_oneStepEncrypt(AESGCM_Handle handle, AESGCM_Operation *operationStruct)
Function to perform an AESGCM encryption + authentication operation in one call.
void AESGCM_Operation_init(AESGCM_Operation *operationStruct)
Function to initialize an AESGCM_Operation struct to its defaults.
AESGCM_ReturnBehavior returnBehavior
Definition: AESGCM.h:531
void AESGCM_init(void)
This function initializes the GCM module.
uint8_t * mac
Definition: AESGCM.h:468
int_fast16_t AESGCM_oneStepDecrypt(AESGCM_Handle handle, AESGCM_Operation *operationStruct)
Function to perform an AESGCM decryption + verification operation in one call.
AESGCM Global configuration.
Definition: AESGCM.h:382
size_t aadLength
Definition: AESGCM.h:474
void(* AESGCM_CallbackFxn)(AESGCM_Handle handle, int_fast16_t returnValue, AESGCM_Operation *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:517
AESGCM_ReturnBehavior
The way in which GCM function calls return after performing an encryption + authentication or decrypt...
Definition: AESGCM.h:416
uint8_t * output
Definition: AESGCM.h:456
uint32_t timeout
Definition: AESGCM.h:533
void AESGCM_close(AESGCM_Handle handle)
Function to close a GCM peripheral specified by the GCM handle.
AESGCM_Handle AESGCM_construct(AESGCM_Config *config, const AESGCM_Params *params)
Constructs a new AESGCM object.
AESGCM_Config * AESGCM_Handle
A handle that is returned from an AESGCM_open() call.
Definition: AESGCM.h:393
void AESGCM_Params_init(AESGCM_Params *params)
Function to initialize the AESGCM_Params struct to its defaults.
uint8_t * aad
Definition: AESGCM.h:447
AESGCM_Handle AESGCM_open(uint_least8_t index, const AESGCM_Params *params)
This function opens a given GCM peripheral.
AESGCM_Mode
Enum for the direction of the GCM operation.
Definition: AESGCM.h:436
GCM Parameters.
Definition: AESGCM.h:530
size_t inputLength
Definition: AESGCM.h:478
bool ivInternallyGenerated
Definition: AESGCM.h:488
uint8_t * iv
Definition: AESGCM.h:462
AESGCM_CallbackFxn callbackFxn
Definition: AESGCM.h:532
void const * hwAttrs
Definition: AESGCM.h:387
Struct containing the parameters required for encrypting/decrypting and authenticating/verifying a me...
Definition: AESGCM.h:445