335 #ifndef ti_drivers_AESCCM__include 336 #define ti_drivers_AESCCM__include 365 #define AESCCM_CMD_RESERVED (32) 379 #define AESCCM_STATUS_RESERVED (-32) 394 #define AESCCM_STATUS_SUCCESS (0) 402 #define AESCCM_STATUS_ERROR (-1) 411 #define AESCCM_STATUS_UNDEFINEDCMD (-2) 421 #define AESCCM_STATUS_RESOURCE_UNAVAILABLE (-3) 430 #define AESCCM_STATUS_MAC_INVALID (-4) 591 int_fast16_t returnValue,
712 int_fast16_t
AESCCM_control(AESCCM_Handle handle, uint32_t cmd,
void *args);
uint8_t nonceLength
Definition: AESCCM.h:543
CCM Parameters.
Definition: AESCCM.h:603
The CryptoKey type is an opaque representation of a cryptographic key.
AESCCM_ReturnBehavior returnBehavior
Definition: AESCCM.h:604
AESCCM_OperationType_
Enum for the operation types supported by the driver.
Definition: AESCCM.h:558
uint8_t macLength
Definition: AESCCM.h:546
int_fast16_t AESCCM_oneStepDecrypt(AESCCM_Handle handle, AESCCM_Operation *operationStruct)
Function to perform an AESCCM decryption + verification operation in one call.
void const * hwAttrs
Definition: AESCCM.h:579
CryptoKey datastructure.
Definition: CryptoKey.h:210
const AESCCM_Params AESCCM_defaultParams
Default AESCCM_Params structure.
void * custom
Definition: AESCCM.h:609
enum AESCCM_ReturnBehavior_ AESCCM_ReturnBehavior
The way in which CCM function calls return after performing an encryption + authentication or decrypt...
int_fast16_t AESCCM_oneStepEncrypt(AESCCM_Handle handle, AESCCM_Operation *operationStruct)
Function to perform an AESCCM encryption + authentication operation in one call.
Struct containing the parameters required for encrypting/decrypting and authenticating/verifying a me...
Definition: AESCCM.h:506
struct AESCCM_Config_ * AESCCM_Handle
A handle that is returned from an AESCCM_open() call.
Definition: AESCCM.h:454
uint8_t * output
Definition: AESCCM.h:517
void AESCCM_Params_init(AESCCM_Params *params)
Function to initialize the AESCCM_Params struct to its defaults.
struct AESCCM_Params_ AESCCM_Params
CCM Parameters.
uint8_t * mac
Definition: AESCCM.h:529
AESCCM_ReturnBehavior_
The way in which CCM function calls return after performing an encryption + authentication or decrypt...
Definition: AESCCM.h:477
bool nonceInternallyGenerated
Definition: AESCCM.h:549
enum AESCCM_Mode_ AESCCM_Mode
Enum for the direction of the CCM operation.
CryptoKey * key
Definition: AESCCM.h:507
uint8_t * input
Definition: AESCCM.h:512
void AESCCM_Operation_init(AESCCM_Operation *operationStruct)
Function to initialize a AESCCM_Operation struct to its defaults.
struct AESCCM_Operation_ AESCCM_Operation
Struct containing the parameters required for encrypting/decrypting and authenticating/verifying a me...
void * object
Definition: AESCCM.h:576
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:590
void AESCCM_close(AESCCM_Handle handle)
Function to close a CCM peripheral specified by the CCM handle.
struct AESCCM_Config_ AESCCM_Config
AESCCM Global configuration.
int_fast16_t AESCCM_control(AESCCM_Handle handle, uint32_t cmd, void *args)
Function performs implementation specific features on a given AESCCM_Handle.
uint8_t * nonce
Definition: AESCCM.h:523
void AESCCM_init(void)
This function initializes the CCM module.
size_t inputLength
Definition: AESCCM.h:539
uint32_t timeout
Definition: AESCCM.h:606
enum AESCCM_OperationType_ AESCCM_OperationType
Enum for the operation types supported by the driver.
AESCCM Global configuration.
Definition: AESCCM.h:574
AESCCM_CallbackFxn callbackFxn
Definition: AESCCM.h:605
AESCCM_Mode_
Enum for the direction of the CCM operation.
Definition: AESCCM.h:497
AESCCM_Handle AESCCM_open(uint_least8_t index, AESCCM_Params *params)
This function opens a given CCM peripheral.
size_t aadLength
Definition: AESCCM.h:535
uint8_t * aad
Definition: AESCCM.h:508