249 #ifndef ti_drivers_AESECB__include 250 #define ti_drivers_AESECB__include 274 #define AESECB_STATUS_RESERVED (-32) 282 #define AESECB_STATUS_SUCCESS (0) 290 #define AESECB_STATUS_ERROR (-1) 300 #define AESECB_STATUS_RESOURCE_UNAVAILABLE (-2) 305 #define AESECB_STATUS_CANCELED (-3) 423 int_fast16_t returnValue,
void * object
Definition: AESECB.h:401
struct AESECB_Config * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:310
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:436
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:375
CryptoKey datastructure.
Definition: CryptoKey.h:210
int_fast16_t AESECB_oneStepEncrypt(AESECB_Handle handle, AESECB_Operation *operation)
Function to perform an AESECB encryption operation in one call.
ECB Parameters.
Definition: AESECB.h:435
void AESECB_init(void)
This function initializes the ECB module.
uint8_t * output
Definition: AESECB.h:369
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:333
CryptoKey * key
Definition: AESECB.h:363
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:362
uint8_t * input
Definition: AESECB.h:364
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:438
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:422
AESECB_Mode
Enum for the direction of the ECB operation.
Definition: AESECB.h:353
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
void * custom
Definition: AESECB.h:441
struct AESECB_Config AESECB_Config
AESECB Global configuration.
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:383
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:437
void const * hwAttrs
Definition: AESECB.h:404
AESECB_Handle AESECB_construct(AESECB_Config *config, const AESECB_Params *params)
Constructs a new AESECB object.
AESECB Global configuration.
Definition: AESECB.h:399