430 #ifndef ti_drivers_AESECB__include 431 #define ti_drivers_AESECB__include 456 #define AESECB_STATUS_RESERVED AES_STATUS_RESERVED 464 #define AESECB_STATUS_SUCCESS AES_STATUS_SUCCESS 472 #define AESECB_STATUS_ERROR AES_STATUS_ERROR 482 #define AESECB_STATUS_RESOURCE_UNAVAILABLE AES_STATUS_RESOURCE_UNAVAILABLE 487 #define AESECB_STATUS_CANCELED AES_STATUS_CANCELED 493 #define AESECB_STATUS_FEATURE_NOT_SUPPORTED AES_STATUS_FEATURE_NOT_SUPPORTED 498 #define AESECB_STATUS_KEYSTORE_INVALID_ID AES_STATUS_KEYSTORE_INVALID_ID 504 #define AESECB_STATUS_KEYSTORE_GENERIC_ERROR AES_STATUS_KEYSTORE_GENERIC_ERROR 512 #define AESECB_STATUS_UNALIGNED_IO_NOT_SUPPORTED AES_STATUS_UNALIGNED_IO_NOT_SUPPORTED 662 int_fast16_t returnValue,
AESECB_ReturnBehavior returnBehavior
Definition: AESECB.h:676
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:613
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:211
Definition: AESCommon.h:186
Definition: AESCommon.h:196
ECB Parameters.
Definition: AESECB.h:674
void AESECB_init(void)
This function initializes the ECB module.
uint8_t * output
Definition: AESECB.h:601
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:525
Definition: AESCommon.h:192
AESECB_ReturnBehavior
The way in which ECB function calls return after performing an encryption + authentication or decrypt...
Definition: AESECB.h:553
CryptoKey * key
Definition: AESECB.h:589
Struct containing the parameters required for encrypting/decrypting and a message.
Definition: AESECB.h:587
uint8_t * input
Definition: AESECB.h:594
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:678
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:661
AESECB_Mode
Enum for the direction of the ECB operation.
Definition: AESECB.h:577
const AESECB_Params AESECB_defaultParams
Default AESECB_Params structure.
void * custom
Definition: AESECB.h:681
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:636
AESECB_Config * AESECB_Handle
A handle that is returned from an AESECB_open() call.
Definition: AESECB.h:530
AESECB_CallbackFxn callbackFxn
Definition: AESECB.h:677
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...