316 #ifndef ti_drivers_AESCBC__include 317 #define ti_drivers_AESCBC__include 346 #define AESCBC_CMD_RESERVED (32) 360 #define AESCBC_STATUS_RESERVED (-32) 375 #define AESCBC_STATUS_SUCCESS (0) 383 #define AESCBC_STATUS_ERROR (-1) 392 #define AESCBC_STATUS_UNDEFINEDCMD (-2) 402 #define AESCBC_STATUS_RESOURCE_UNAVAILABLE (-3) 546 int_fast16_t returnValue,
667 int_fast16_t
AESCBC_control(AESCBC_Handle handle, uint32_t cmd,
void *args);
AESCBC_OperationType_
Enum for the operation types supported by the driver.
Definition: AESCBC.h:506
AESCBC_Mode_
Enum for the direction of the CBC operation.
Definition: AESCBC.h:468
const AESCBC_Params AESCBC_defaultParams
Default AESCBC_Params structure.
uint8_t * iv
Definition: AESCBC.h:490
The CryptoKey type is an opaque representation of a cryptographic key.
struct AESCBC_Config_ * AESCBC_Handle
A handle that is returned from an AESCBC_open() call.
Definition: AESCBC.h:425
void(* AESCBC_CallbackFxn)(AESCBC_Handle handle, int_fast16_t returnValue, AESCBC_Operation *operation, AESCBC_OperationType operationType)
The definition of a callback function used by the AESCBC driver when used in AESCBC_RETURN_BEHAVIOR_C...
Definition: AESCBC.h:545
AESCBC_ReturnBehavior returnBehavior
Definition: AESCBC.h:559
CryptoKey datastructure.
Definition: CryptoKey.h:210
struct AESCBC_Config_ AESCBC_Config
AESCBC Global configuration.
struct AESCBC_Operation_ AESCBC_Operation
Struct containing the parameters required for encrypting/decrypting a message.
CryptoKey * key
Definition: AESCBC.h:478
int_fast16_t AESCBC_oneStepDecrypt(AESCBC_Handle handle, AESCBC_Operation *operationStruct)
Function to perform an AESCBC decryption operation in one call.
void AESCBC_close(AESCBC_Handle handle)
Function to close a CBC peripheral specified by the CBC handle.
size_t inputLength
Definition: AESCBC.h:496
enum AESCBC_OperationType_ AESCBC_OperationType
Enum for the operation types supported by the driver.
AESCBC_ReturnBehavior_
The way in which CBC function calls return after performing an encryption or decryption operation...
Definition: AESCBC.h:448
const uint8_t * input
Definition: AESCBC.h:479
void AESCBC_init(void)
This function initializes the CBC module.
AESCBC Global configuration.
Definition: AESCBC.h:522
AESCBC_CallbackFxn callbackFxn
Definition: AESCBC.h:560
void const * hwAttrs
Definition: AESCBC.h:527
uint32_t timeout
Definition: AESCBC.h:561
void AESCBC_Operation_init(AESCBC_Operation *operationStruct)
Function to initialize an AESCBC_Operation struct to its defaults.
Struct containing the parameters required for encrypting/decrypting a message.
Definition: AESCBC.h:477
bool ivInternallyGenerated
Definition: AESCBC.h:497
enum AESCBC_Mode_ AESCBC_Mode
Enum for the direction of the CBC operation.
void * custom
Definition: AESCBC.h:564
struct AESCBC_Params_ AESCBC_Params
CBC Parameters.
enum AESCBC_ReturnBehavior_ AESCBC_ReturnBehavior
The way in which CBC function calls return after performing an encryption or decryption operation...
CBC Parameters.
Definition: AESCBC.h:558
AESCBC_Handle AESCBC_open(uint_least8_t index, AESCBC_Params *params)
This function opens a given CBC peripheral.
int_fast16_t AESCBC_oneStepEncrypt(AESCBC_Handle handle, AESCBC_Operation *operationStruct)
Function to perform an AESCBC encryption operation in one call.
int_fast16_t AESCBC_control(AESCBC_Handle handle, uint32_t cmd, void *args)
Function performs implementation specific features on a given AESCBC_Handle.
void * object
Definition: AESCBC.h:524
void AESCBC_Params_init(AESCBC_Params *params)
Function to initialize the AESCBC_Params struct to its defaults.
uint8_t * output
Definition: AESCBC.h:484