324 #ifndef ti_drivers_AESCCM__include 325 #define ti_drivers_AESCCM__include 349 #define AESCCM_STATUS_RESERVED (-32) 357 #define AESCCM_STATUS_SUCCESS (0) 365 #define AESCCM_STATUS_ERROR (-1) 375 #define AESCCM_STATUS_RESOURCE_UNAVAILABLE (-2) 384 #define AESCCM_STATUS_MAC_INVALID (-3) 389 #define AESCCM_STATUS_CANCELED (-4) 540 int_fast16_t returnValue,
CryptoKey * key
Definition: AESCCM.h:447
The CryptoKey type is an opaque representation of a cryptographic key.
Struct containing the parameters required for encrypting/decrypting and authenticating/verifying a me...
Definition: AESCCM.h:446
struct AESCCM_Config AESCCM_Config
AESCCM Global configuration.
uint8_t macLength
Definition: AESCCM.h:486
void * object
Definition: AESCCM.h:518
int_fast16_t AESCCM_oneStepDecrypt(AESCCM_Handle handle, AESCCM_Operation *operationStruct)
Function to perform an AESCCM decryption + verification operation in one call.
uint32_t timeout
Definition: AESCCM.h:555
void * custom
Definition: AESCCM.h:558
CryptoKey datastructure.
Definition: CryptoKey.h:210
const AESCCM_Params AESCCM_defaultParams
Default AESCCM_Params structure.
size_t aadLength
Definition: AESCCM.h:475
uint8_t * output
Definition: AESCCM.h:457
bool nonceInternallyGenerated
Definition: AESCCM.h:491
CCM Parameters.
Definition: AESCCM.h:552
int_fast16_t AESCCM_oneStepEncrypt(AESCCM_Handle handle, AESCCM_Operation *operationStruct)
Function to perform an AESCCM encryption + authentication operation in one call.
int_fast16_t AESCCM_cancelOperation(AESCCM_Handle handle)
Cancels an ongoing AESCCM operation.
uint8_t * input
Definition: AESCCM.h:452
void AESCCM_Params_init(AESCCM_Params *params)
Function to initialize the AESCCM_Params struct to its defaults.
uint8_t * aad
Definition: AESCCM.h:448
void const * hwAttrs
Definition: AESCCM.h:521
uint8_t * nonce
Definition: AESCCM.h:463
AESCCM_ReturnBehavior returnBehavior
Definition: AESCCM.h:553
void AESCCM_Operation_init(AESCCM_Operation *operationStruct)
Function to initialize an AESCCM_Operation struct to its defaults.
AESCCM Global configuration.
Definition: AESCCM.h:516
void(* AESCCM_CallbackFxn)(AESCCM_Handle handle, int_fast16_t returnValue, AESCCM_Operation *operation, AESCCM_OperationType operationType)
The definition of a callback function used by the AESCCM driver when used in AESCCM_RETURN_BEHAVIOR_C...
Definition: AESCCM.h:539
void AESCCM_close(AESCCM_Handle handle)
Function to close a CCM peripheral specified by the CCM handle.
AESCCM_CallbackFxn callbackFxn
Definition: AESCCM.h:554
AESCCM_Mode
Enum for the direction of the CCM operation.
Definition: AESCCM.h:437
AESCCM_OperationType
Enum for the operation types supported by the driver.
Definition: AESCCM.h:500
uint8_t nonceLength
Definition: AESCCM.h:483
AESCCM_ReturnBehavior
The way in which CCM function calls return after performing an encryption + authentication or decrypt...
Definition: AESCCM.h:417
void AESCCM_init(void)
This function initializes the CCM module.
struct AESCCM_Config * AESCCM_Handle
A handle that is returned from an AESCCM_open() call.
Definition: AESCCM.h:394
size_t inputLength
Definition: AESCCM.h:479
AESCCM_Handle AESCCM_open(uint_least8_t index, AESCCM_Params *params)
This function opens a given CCM peripheral.
uint8_t * mac
Definition: AESCCM.h:469