423 #ifndef ti_drivers_AESECB__include 424 #define ti_drivers_AESECB__include 448 #define AESECB_STATUS_RESERVED (-32) 456 #define AESECB_STATUS_SUCCESS (0) 464 #define AESECB_STATUS_ERROR (-1) 474 #define AESECB_STATUS_RESOURCE_UNAVAILABLE (-2) 479 #define AESECB_STATUS_CANCELED (-3) 619 int_fast16_t returnValue,
void * object
Definition: AESECB.h:494
ADC_Params params
Definition: Driver_Init.h:11
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:632
The CryptoKey type is an opaque representation of a cryptographic key.
int_fast16_t AESECB_addData(AESECB_Handle handle, AESECB_Operation *operation)
Encrypts or decrypts segment of data with a length.
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:573
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:192
ECB Parameters.
Definition: AESECB.h:631
void AESECB_init(void)
This function initializes the ECB module.
uint8_t * output
Definition: AESECB.h:564
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:526
CryptoKey * key
Definition: AESECB.h:556
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:555
uint8_t * input
Definition: AESECB.h:557
int_fast16_t AESECB_oneStepDecrypt(AESECB_Handle handle, AESECB_Operation *operation)
Function to perform an AESECB decryption in one call.
int_fast16_t AESECB_setupEncrypt(AESECB_Handle handle, const CryptoKey *key)
Function to prepare a segmented AESECB encryption operation.
uint32_t timeout
Definition: AESECB.h:634
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:618
AESECB_Mode
Enum for the direction of the ECB operation.
Definition: AESECB.h:546
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
void * custom
Definition: AESECB.h:637
int_fast16_t AESECB_setupDecrypt(AESECB_Handle handle, const CryptoKey *key)
Function to prepare a segmented AESECB decryption operation.
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:594
AESECB_Config * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:503
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:633
void const * hwAttrs
Definition: AESECB.h:497
AESECB_Handle AESECB_construct(AESECB_Config *config, const AESECB_Params *params)
Constructs a new AESECB object.
int_fast16_t AESECB_finalize(AESECB_Handle handle, AESECB_Operation *operation)
Finalize the AES transaction. If new data needs to be added, inputLength will be used to govern how m...
AESECB Global configuration.
Definition: AESECB.h:492