424 #ifndef ti_drivers_AESECB__include 425 #define ti_drivers_AESECB__include 450 #define AESECB_STATUS_RESERVED AES_STATUS_RESERVED 458 #define AESECB_STATUS_SUCCESS AES_STATUS_SUCCESS 466 #define AESECB_STATUS_ERROR AES_STATUS_ERROR 476 #define AESECB_STATUS_RESOURCE_UNAVAILABLE AES_STATUS_RESOURCE_UNAVAILABLE 481 #define AESECB_STATUS_CANCELED AES_STATUS_CANCELED 487 #define AESECB_STATUS_FEATURE_NOT_SUPPORTED AES_STATUS_FEATURE_NOT_SUPPORTED 492 #define AESECB_STATUS_KEYSTORE_INVALID_ID AES_STATUS_KEYSTORE_INVALID_ID 498 #define AESECB_STATUS_KEYSTORE_GENERIC_ERROR AES_STATUS_KEYSTORE_GENERIC_ERROR 506 #define AESECB_STATUS_UNALIGNED_IO_NOT_SUPPORTED AES_STATUS_UNALIGNED_IO_NOT_SUPPORTED 653 int_fast16_t returnValue,
ADC_Params params
Definition: Driver_Init.h:11
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:667
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:604
AES Global configuration.
Definition: AESCommon.h:154
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:196
Definition: AESCommon.h:186
Definition: AESCommon.h:196
ECB Parameters.
Definition: AESECB.h:665
void AESECB_init(void)
This function initializes the ECB module.
uint8_t * output
Definition: AESECB.h:595
void AESECB_Params_init(AESECB_Params *params)
Function to initialize the AESECB_Params struct to its defaults.
AESCommon_Config AESECB_Config
AESECB Global configuration.
Definition: AESECB.h:519
Definition: AESCommon.h:192
AESECB_ReturnBehavior
The way in which ECB function calls return after performing an encryption + authentication or decrypt...
Definition: AESECB.h:547
CryptoKey * key
Definition: AESECB.h:583
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:581
uint8_t * input
Definition: AESECB.h:588
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:669
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:652
AESECB_Mode
Enum for the direction of the ECB operation.
Definition: AESECB.h:571
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
void * custom
Definition: AESECB.h:672
int_fast16_t AESECB_setupDecrypt(AESECB_Handle handle, const CryptoKey *key)
Function to prepare a segmented AESECB decryption operation.
AES common module header for all devices.
AESECB_OperationType
Enum for the operation types supported by the driver.
Definition: AESECB.h:627
AESECB_Config * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:524
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:668
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...