306 #ifndef ti_drivers_AESCTR__include 307 #define ti_drivers_AESCTR__include 332 #define AESCTR_STATUS_RESERVED (-32) 340 #define AESCTR_STATUS_SUCCESS (0) 348 #define AESCTR_STATUS_ERROR (-1) 358 #define AESCTR_STATUS_RESOURCE_UNAVAILABLE (-2) 363 #define AESCTR_STATUS_CANCELED (-3) 488 int_fast16_t returnValue,
const AESCTR_Params AESCTR_defaultParams
Default AESCTR_Params structure.
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:470
void AESCTR_init(void)
This function initializes the CTR module.
CTR Parameters.
Definition: AESCTR.h:500
AESCTR Global configuration.
Definition: AESCTR.h:459
void * object
Definition: AESCTR.h:461
const CryptoKey * key
Definition: AESCTR.h:420
CryptoKey datastructure.
Definition: CryptoKey.h:210
const uint8_t * input
Definition: AESCTR.h:421
AESCTR_OperationType
Enum for the operation types supported by the driver.
Definition: AESCTR.h:443
AESCTR_ReturnBehavior
The way in which CTR function calls return after performing an encryption or decryption operation...
Definition: AESCTR.h:387
uint8_t * output
Definition: AESCTR.h:426
AESCTR_Mode
Enum for the direction of the CTR operation.
Definition: AESCTR.h:407
Struct containing the parameters required for encrypting/decrypting a message.
Definition: AESCTR.h:419
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:464
AESCTR_CallbackFxn callbackFxn
Definition: AESCTR.h:502
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:506
int_fast16_t AESCTR_cancelOperation(AESCTR_Handle handle)
Cancels an ongoing AESCTR operation.
AESCTR_ReturnBehavior returnBehavior
Definition: AESCTR.h:501
AESCTR_Handle AESCTR_open(uint_least8_t index, const AESCTR_Params *params)
This function opens a given CTR 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:487
uint32_t timeout
Definition: AESCTR.h:503
const uint8_t * initialCounter
Definition: AESCTR.h:432
void AESCTR_close(AESCTR_Handle handle)
Function to close a CTR peripheral specified by the CTR handle.
size_t inputLength
Definition: AESCTR.h:437