322 #ifndef ti_drivers_AESCCM__include 323 #define ti_drivers_AESCCM__include 347 #define AESCCM_STATUS_RESERVED (-32) 355 #define AESCCM_STATUS_SUCCESS (0) 363 #define AESCCM_STATUS_ERROR (-1) 373 #define AESCCM_STATUS_RESOURCE_UNAVAILABLE (-2) 382 #define AESCCM_STATUS_MAC_INVALID (-3) 387 #define AESCCM_STATUS_CANCELED (-4) 538 int_fast16_t returnValue,
CryptoKey * key
Definition: AESCCM.h:464
ADC_Params params
Definition: Driver_Init.h:11
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:463
uint8_t macLength
Definition: AESCCM.h:503
void * object
Definition: AESCCM.h:402
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:553
void * custom
Definition: AESCCM.h:556
AESCCM_Handle AESCCM_open(uint_least8_t index, const AESCCM_Params *params)
This function opens a given CCM peripheral.
const AESCCM_Params AESCCM_defaultParams
Default AESCCM_Params structure.
size_t aadLength
Definition: AESCCM.h:492
uint8_t * output
Definition: AESCCM.h:474
bool nonceInternallyGenerated
Definition: AESCCM.h:508
CCM Parameters.
Definition: AESCCM.h:550
CryptoKey datastructure.
Definition: CryptoKey.h:209
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:469
void AESCCM_Params_init(AESCCM_Params *params)
Function to initialize the AESCCM_Params struct to its defaults.
uint8_t * aad
Definition: AESCCM.h:465
void const * hwAttrs
Definition: AESCCM.h:405
uint8_t * nonce
Definition: AESCCM.h:480
AESCCM_Handle AESCCM_construct(AESCCM_Config *config, const AESCCM_Params *params)
Constructs a new AESCCM object.
AESCCM_ReturnBehavior returnBehavior
Definition: AESCCM.h:551
void AESCCM_Operation_init(AESCCM_Operation *operationStruct)
Function to initialize an AESCCM_Operation struct to its defaults.
AESCCM Global configuration.
Definition: AESCCM.h:400
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:537
void AESCCM_close(AESCCM_Handle handle)
Function to close a CCM peripheral specified by the CCM handle.
AESCCM_CallbackFxn callbackFxn
Definition: AESCCM.h:552
AESCCM_Mode
Enum for the direction of the CCM operation.
Definition: AESCCM.h:454
AESCCM_OperationType
Enum for the operation types supported by the driver.
Definition: AESCCM.h:517
uint8_t nonceLength
Definition: AESCCM.h:500
AESCCM_Config * AESCCM_Handle
A handle that is returned from an AESCCM_open() call.
Definition: AESCCM.h:411
AESCCM_ReturnBehavior
The way in which CCM function calls return after performing an encryption + authentication or decrypt...
Definition: AESCCM.h:434
void AESCCM_init(void)
This function initializes the CCM module.
size_t inputLength
Definition: AESCCM.h:496
uint8_t * mac
Definition: AESCCM.h:486