247 #ifndef ti_drivers_AESECB__include 248 #define ti_drivers_AESECB__include 272 #define AESECB_STATUS_RESERVED (-32) 280 #define AESECB_STATUS_SUCCESS (0) 288 #define AESECB_STATUS_ERROR (-1) 298 #define AESECB_STATUS_RESOURCE_UNAVAILABLE (-2) 303 #define AESECB_STATUS_CANCELED (-3) 421 int_fast16_t returnValue,
void * object
Definition: AESECB.h:318
ADC_Params params
Definition: Driver_Init.h:11
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:434
The CryptoKey type is an opaque representation of a cryptographic key.
void AESECB_close(AESECB_Handle handle)
Function to close an ECB peripheral specified by the ECB handle.
int_fast16_t AESECB_cancelOperation(AESECB_Handle handle)
Cancels an ongoing AESECB operation.
AESECB_Handle AESECB_open(uint_least8_t index, const AESECB_Params *params)
This function opens a given ECB peripheral.
size_t inputLength
Definition: AESECB.h:392
int_fast16_t AESECB_oneStepEncrypt(AESECB_Handle handle, AESECB_Operation *operation)
Function to perform an AESECB encryption operation in one call.
CryptoKey datastructure.
Definition: CryptoKey.h:209
ECB Parameters.
Definition: AESECB.h:433
void AESECB_init(void)
This function initializes the ECB module.
uint8_t * output
Definition: AESECB.h:386
void AESECB_Params_init(AESECB_Params *params)
Function to initialize the AESECB_Params struct to its defaults.
AESECB_ReturnBehavior
The way in which ECB function calls return after performing an encryption + authentication or decrypt...
Definition: AESECB.h:350
CryptoKey * key
Definition: AESECB.h:380
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:379
uint8_t * input
Definition: AESECB.h:381
int_fast16_t AESECB_oneStepDecrypt(AESECB_Handle handle, AESECB_Operation *operation)
Function to perform an AESECB decryption in one call.
uint32_t timeout
Definition: AESECB.h:436
void AESECB_Operation_init(AESECB_Operation *operationStruct)
Function to initialize an AESECB_Operation struct to its defaults.
void(* AESECB_CallbackFxn)(AESECB_Handle handle, int_fast16_t returnValue, AESECB_Operation *operation, AESECB_OperationType operationType)
The definition of a callback function used by the AESECB driver when used in AESECB_RETURN_BEHAVIOR_C...
Definition: AESECB.h:420
AESECB_Mode
Enum for the direction of the ECB operation.
Definition: AESECB.h:370
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
void * custom
Definition: AESECB.h:439
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:400
AESECB_Config * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:327
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:435
void const * hwAttrs
Definition: AESECB.h:321
AESECB_Handle AESECB_construct(AESECB_Config *config, const AESECB_Params *params)
Constructs a new AESECB object.
AESECB Global configuration.
Definition: AESECB.h:316