306 #ifndef ti_drivers_AESGCM__include 307 #define ti_drivers_AESGCM__include 331 #define AESGCM_STATUS_RESERVED (-32) 339 #define AESGCM_STATUS_SUCCESS (0) 347 #define AESGCM_STATUS_ERROR (-1) 357 #define AESGCM_STATUS_RESOURCE_UNAVAILABLE (-2) 366 #define AESGCM_STATUS_MAC_INVALID (-3) 371 #define AESGCM_STATUS_CANCELED (-4) 520 int_fast16_t returnValue,
void * custom
Definition: AESGCM.h:538
The CryptoKey type is an opaque representation of a cryptographic key.
uint8_t * input
Definition: AESGCM.h:434
uint8_t macLength
Definition: AESGCM.h:468
CryptoKey * key
Definition: AESGCM.h:429
AESGCM_OperationType
Enum for the operation types supported by the driver.
Definition: AESGCM.h:480
struct AESGCM_Config AESGCM_Config
AESGCM Global configuration.
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:465
CryptoKey datastructure.
Definition: CryptoKey.h:210
void * object
Definition: AESGCM.h:498
struct AESGCM_Config * AESGCM_Handle
A handle that is returned from an AESGCM_open() call.
Definition: AESGCM.h:376
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:533
void AESGCM_init(void)
This function initializes the GCM module.
uint8_t * mac
Definition: AESGCM.h:451
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:496
size_t aadLength
Definition: AESGCM.h:457
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:519
AESGCM_ReturnBehavior
The way in which GCM function calls return after performing an encryption + authentication or decrypt...
Definition: AESGCM.h:399
uint8_t * output
Definition: AESGCM.h:439
uint32_t timeout
Definition: AESGCM.h:535
void AESGCM_close(AESGCM_Handle handle)
Function to close a GCM peripheral specified by the GCM handle.
void AESGCM_Params_init(AESGCM_Params *params)
Function to initialize the AESGCM_Params struct to its defaults.
uint8_t * aad
Definition: AESGCM.h:430
AESGCM_Mode
Enum for the direction of the GCM operation.
Definition: AESGCM.h:419
GCM Parameters.
Definition: AESGCM.h:532
size_t inputLength
Definition: AESGCM.h:461
AESGCM_Handle AESGCM_open(uint_least8_t index, AESGCM_Params *params)
This function opens a given GCM peripheral.
bool ivInternallyGenerated
Definition: AESGCM.h:471
uint8_t * iv
Definition: AESGCM.h:445
AESGCM_CallbackFxn callbackFxn
Definition: AESGCM.h:534
void const * hwAttrs
Definition: AESGCM.h:501
Struct containing the parameters required for encrypting/decrypting and authenticating/verifying a me...
Definition: AESGCM.h:428