306 #ifndef ti_drivers_AESCBC__include 307 #define ti_drivers_AESCBC__include 331 #define AESCBC_STATUS_RESERVED (-32) 339 #define AESCBC_STATUS_SUCCESS (0) 347 #define AESCBC_STATUS_ERROR (-1) 357 #define AESCBC_STATUS_RESOURCE_UNAVAILABLE (-2) 362 #define AESCBC_STATUS_CANCELED (-3) 489 int_fast16_t returnValue,
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:502
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:488
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:420
CryptoKey datastructure.
Definition: CryptoKey.h:210
struct AESCBC_Config * AESCBC_Handle
A handle that is returned from an AESCBC_open() call.
Definition: AESCBC.h:368
void const * hwAttrs
Definition: AESCBC.h:470
struct AESCBC_Config AESCBC_Config
AESCBC Global configuration.
AESCBC_CallbackFxn callbackFxn
Definition: AESCBC.h:503
AESCBC_Mode
Enum for the direction of the CBC operation.
Definition: AESCBC.h:411
CryptoKey * key
Definition: AESCBC.h:421
AESCBC_ReturnBehavior
The way in which CBC function calls return after performing an encryption or decryption operation...
Definition: AESCBC.h:391
void * object
Definition: AESCBC.h:467
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:465
const uint8_t * input
Definition: AESCBC.h:422
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:507
AESCBC_OperationType
Enum for the operation types supported by the driver.
Definition: AESCBC.h:449
uint8_t * iv
Definition: AESCBC.h:433
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:501
bool ivInternallyGenerated
Definition: AESCBC.h:440
uint8_t * output
Definition: AESCBC.h:427
uint32_t timeout
Definition: AESCBC.h:504
void AESCBC_Params_init(AESCBC_Params *params)
Function to initialize the AESCBC_Params struct to its defaults.
size_t inputLength
Definition: AESCBC.h:439