255 #ifndef ti_drivers_AESECB__include 256 #define ti_drivers_AESECB__include 285 #define AESECB_CMD_RESERVED (32) 299 #define AESECB_STATUS_RESERVED (-32) 314 #define AESECB_STATUS_SUCCESS (0) 322 #define AESECB_STATUS_ERROR (-1) 331 #define AESECB_STATUS_UNDEFINEDCMD (-2) 341 #define AESECB_STATUS_RESOURCE_UNAVAILABLE (-3) 477 int_fast16_t returnValue,
598 int_fast16_t
AESECB_control(AESECB_Handle handle, uint32_t cmd,
void *args);
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:416
The CryptoKey type is an opaque representation of a cryptographic key.
struct AESECB_Params_ AESECB_Params
ECB Parameters.
void AESECB_close(AESECB_Handle handle)
Function to close an ECB peripheral specified by the ECB handle.
AESECB Global configuration.
Definition: AESECB.h:453
CryptoKey * key
Definition: AESECB.h:417
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.
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:490
enum AESECB_OperationType_ AESECB_OperationType
Enum for the operation types supported by the driver.
void * custom
Definition: AESECB.h:495
size_t inputLength
Definition: AESECB.h:429
int_fast16_t AESECB_control(AESECB_Handle handle, uint32_t cmd, void *args)
Function performs implementation specific features on a given AESECB_Handle.
void const * hwAttrs
Definition: AESECB.h:458
struct AESECB_Config_ * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:364
void AESECB_init(void)
This function initializes the ECB module.
void AESECB_Params_init(AESECB_Params *params)
Function to initialize the AESECB_Params struct to its defaults.
void * object
Definition: AESECB.h:455
enum AESECB_Mode_ AESECB_Mode
Enum for the direction of the ECB operation.
AESECB_OperationType_
Enum for the operation types supported by the driver.
Definition: AESECB.h:437
uint32_t timeout
Definition: AESECB.h:492
struct AESECB_Config_ AESECB_Config
AESECB Global configuration.
uint8_t * output
Definition: AESECB.h:423
int_fast16_t AESECB_oneStepDecrypt(AESECB_Handle handle, AESECB_Operation *operation)
Function to perform an AESECB decryption in one call.
void AESECB_Operation_init(AESECB_Operation *operationStruct)
Function to initialize an AESECB_Operation struct to its defaults.
enum AESECB_ReturnBehavior_ AESECB_ReturnBehavior
The way in which ECB function calls return after performing an encryption + authentication or decrypt...
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:476
AESECB_Handle AESECB_open(uint_least8_t index, AESECB_Params *params)
This function opens a given ECB peripheral.
AESECB_Mode_
Enum for the direction of the ECB operation.
Definition: AESECB.h:407
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
AESECB_ReturnBehavior_
The way in which ECB function calls return after performing an encryption + authentication or decrypt...
Definition: AESECB.h:387
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:491
ECB Parameters.
Definition: AESECB.h:489
uint8_t * input
Definition: AESECB.h:418
struct AESECB_Operation_ AESECB_Operation
Struct containing the parameters required for encrypting/decrypting and a message.