304 #ifndef ti_drivers_AESCBC__include 305 #define ti_drivers_AESCBC__include 329 #define AESCBC_STATUS_RESERVED (-32) 337 #define AESCBC_STATUS_SUCCESS (0) 345 #define AESCBC_STATUS_ERROR (-1) 355 #define AESCBC_STATUS_RESOURCE_UNAVAILABLE (-2) 360 #define AESCBC_STATUS_CANCELED (-3) 486 int_fast16_t returnValue,
uint8_t * input
Definition: AESCBC.h:438
ADC_Params params
Definition: Driver_Init.h:11
const AESCBC_Params AESCBC_defaultParams
Default AESCBC_Params structure.
The CryptoKey type is an opaque representation of a cryptographic key.
AESCBC_ReturnBehavior returnBehavior
Definition: AESCBC.h:499
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:485
int_fast16_t AESCBC_cancelOperation(AESCBC_Handle handle)
Cancels an ongoing AESCBC operation.
Struct containing the parameters required for encrypting/decrypting a message.
Definition: AESCBC.h:436
struct AESCBC_Config_ AESCBC_Config
AESCBC Global configuration.
CryptoKey datastructure.
Definition: CryptoKey.h:209
AESCBC_CallbackFxn callbackFxn
Definition: AESCBC.h:500
AESCBC_Mode
Enum for the direction of the CBC operation.
Definition: AESCBC.h:427
CryptoKey * key
Definition: AESCBC.h:437
AESCBC_ReturnBehavior
The way in which CBC function calls return after performing an encryption or decryption operation...
Definition: AESCBC.h:407
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.
AESCBC_Handle AESCBC_construct(AESCBC_Config *config, const AESCBC_Params *params)
Constructs a new AESCBC object.
void AESCBC_init(void)
This function initializes the CBC module.
AESCBC Global configuration.
Definition: AESCBC.h:373
void const * hwAttrs
Definition: AESCBC.h:378
void AESCBC_Operation_init(AESCBC_Operation *operationStruct)
Function to initialize an AESCBC_Operation struct to its defaults.
AESCBC_Handle AESCBC_open(uint_least8_t index, const AESCBC_Params *params)
This function opens a given CBC peripheral.
int_fast16_t AESCBC_getNextIv(AESCBC_Handle handle, uint8_t *iv)
Returns the IV for the next block to encrypt or decrypt.
void * custom
Definition: AESCBC.h:504
AESCBC_OperationType
Enum for the operation types supported by the driver.
Definition: AESCBC.h:465
uint8_t * iv
Definition: AESCBC.h:449
AESCBC_Config * AESCBC_Handle
A handle that is returned from an AESCBC_open() call.
Definition: AESCBC.h:384
int_fast16_t AESCBC_oneStepEncrypt(AESCBC_Handle handle, AESCBC_Operation *operationStruct)
Function to perform an AESCBC encryption operation in one call.
CBC Parameters.
Definition: AESCBC.h:498
bool ivInternallyGenerated
Definition: AESCBC.h:456
uint8_t * output
Definition: AESCBC.h:443
void * object
Definition: AESCBC.h:375
uint32_t timeout
Definition: AESCBC.h:501
void AESCBC_Params_init(AESCBC_Params *params)
Function to initialize the AESCBC_Params struct to its defaults.
size_t inputLength
Definition: AESCBC.h:455