256 #ifndef ti_drivers_AESECB__include 257 #define ti_drivers_AESECB__include 286 #define AESECB_CMD_RESERVED (32) 300 #define AESECB_STATUS_RESERVED (-32) 315 #define AESECB_STATUS_SUCCESS (0) 323 #define AESECB_STATUS_ERROR (-1) 332 #define AESECB_STATUS_UNDEFINEDCMD (-2) 342 #define AESECB_STATUS_RESOURCE_UNAVAILABLE (-3) 471 int_fast16_t returnValue,
592 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:417
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 a ECB peripheral specified by the ECB handle.
AESECB Global configuration.
Definition: AESECB.h:454
CryptoKey * key
Definition: AESECB.h:418
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:484
enum AESECB_OperationType_ AESECB_OperationType
Enum for the operation types supported by the driver.
void * custom
Definition: AESECB.h:489
size_t inputLength
Definition: AESECB.h:430
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:459
struct AESECB_Config_ * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:365
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:456
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:438
uint32_t timeout
Definition: AESECB.h:486
struct AESECB_Config_ AESECB_Config
AESECB Global configuration.
uint8_t * output
Definition: AESECB.h:424
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 a 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:470
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:408
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:388
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:485
ECB Parameters.
Definition: AESECB.h:483
uint8_t * input
Definition: AESECB.h:419
struct AESECB_Operation_ AESECB_Operation
Struct containing the parameters required for encrypting/decrypting and a message.