299 #ifndef ti_drivers_AESCTR__include 300 #define ti_drivers_AESCTR__include 325 #define AESCTR_STATUS_RESERVED (-32) 333 #define AESCTR_STATUS_SUCCESS (0) 341 #define AESCTR_STATUS_ERROR (-1) 351 #define AESCTR_STATUS_RESOURCE_UNAVAILABLE (-2) 356 #define AESCTR_STATUS_CANCELED (-3) 481 int_fast16_t returnValue,
const AESCTR_Params AESCTR_defaultParams
Default AESCTR_Params structure.
struct AESCTR_Config AESCTR_Config
AESCTR Global configuration.
The CryptoKey type is an opaque representation of a cryptographic key.
AESCTR_Config * AESCTR_Handle
A handle that is returned from an AESCTR_open() call.
Definition: AESCTR.h:463
void AESCTR_init(void)
This function initializes the CTR module.
CTR Parameters.
Definition: AESCTR.h:493
AESCTR Global configuration.
Definition: AESCTR.h:452
void * object
Definition: AESCTR.h:454
const CryptoKey * key
Definition: AESCTR.h:413
CryptoKey datastructure.
Definition: CryptoKey.h:210
const uint8_t * input
Definition: AESCTR.h:414
AESCTR_OperationType
Enum for the operation types supported by the driver.
Definition: AESCTR.h:436
AESCTR_ReturnBehavior
The way in which CTR function calls return after performing an encryption or decryption operation...
Definition: AESCTR.h:380
uint8_t * output
Definition: AESCTR.h:419
AESCTR_Mode
Enum for the direction of the CTR operation.
Definition: AESCTR.h:400
Struct containing the parameters required for encrypting/decrypting a message.
Definition: AESCTR.h:412
void AESCTR_Params_init(AESCTR_Params *params)
Function to initialize the AESCTR_Params struct to its defaults.
int_fast16_t AESCTR_oneStepDecrypt(AESCTR_Handle handle, AESCTR_Operation *operationStruct)
Function to perform an AESCTR decryption operation in one call.
void const * hwAttrs
Definition: AESCTR.h:457
AESCTR_CallbackFxn callbackFxn
Definition: AESCTR.h:495
int_fast16_t AESCTR_oneStepEncrypt(AESCTR_Handle handle, AESCTR_Operation *operationStruct)
Function to perform an AESCTR encryption operation in one call.
void * custom
Definition: AESCTR.h:499
int_fast16_t AESCTR_cancelOperation(AESCTR_Handle handle)
Cancels an ongoing AESCTR operation.
AESCTR_ReturnBehavior returnBehavior
Definition: AESCTR.h:494
AESCTR_Handle AESCTR_open(uint_least8_t index, const AESCTR_Params *params)
This function opens a given AESCTR peripheral.
void AESCTR_Operation_init(AESCTR_Operation *operationStruct)
Function to initialize an AESCTR_Operation struct to its defaults.
void(* AESCTR_CallbackFxn)(AESCTR_Handle handle, int_fast16_t returnValue, AESCTR_Operation *operation, AESCTR_OperationType operationType)
The definition of a callback function used by the AESCTR driver when used in AESCTR_RETURN_BEHAVIOR_C...
Definition: AESCTR.h:480
uint32_t timeout
Definition: AESCTR.h:496
const uint8_t * initialCounter
Definition: AESCTR.h:425
void AESCTR_close(AESCTR_Handle handle)
Function to close a CTR peripheral specified by the CTR handle.
size_t inputLength
Definition: AESCTR.h:430