![]() |
![]() |
#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/AESECB.h>
#include <ti/drivers/tfm/SecureCallback.h>
#include <third_party/tfm/interface/include/psa/error.h>
#include <third_party/tfm/interface/include/psa/service.h>
Go to the source code of this file.
Data Structures | |
struct | AESECB_s_SecureCallback |
struct | AESECB_s_ConstructMsg |
struct | AESECB_s_OpenMsg |
struct | AESECB_s_CallbackMsg |
struct | AESECB_s_CloseMsg |
struct | AESECB_s_OperationMsg |
struct | AESECB_s_SetupOperationMsg |
struct | AESECB_s_CancelOperationMsg |
Macros | |
#define | AESECB_S_MSG_TYPE_CONSTRUCT AESECB_S_MSG_TYPE(0U) |
#define | AESECB_S_MSG_TYPE_OPEN AESECB_S_MSG_TYPE(1U) |
#define | AESECB_S_MSG_TYPE_REGISTER_CALLBACK AESECB_S_MSG_TYPE(2U) |
#define | AESECB_S_MSG_TYPE_CLOSE AESECB_S_MSG_TYPE(3U) |
#define | AESECB_S_MSG_TYPE_ONE_STEP_ENCRYPT AESECB_S_MSG_TYPE(4U) |
#define | AESECB_S_MSG_TYPE_ONE_STEP_DECRYPT AESECB_S_MSG_TYPE(5U) |
#define | AESECB_S_MSG_TYPE_SETUP_ENCRYPT AESECB_S_MSG_TYPE(6U) |
#define | AESECB_S_MSG_TYPE_SETUP_DECRYPT AESECB_S_MSG_TYPE(7U) |
#define | AESECB_S_MSG_TYPE_ADD_DATA AESECB_S_MSG_TYPE(8U) |
#define | AESECB_S_MSG_TYPE_FINALIZE AESECB_S_MSG_TYPE(9U) |
#define | AESECB_S_MSG_TYPE_CANCEL_OPERATION AESECB_S_MSG_TYPE(10U) |
#define | CONFIG_AESECB_S_CONFIG_POOL_SIZE 1 |
#define | AESECB_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_AESECB_COUNT + CONFIG_AESECB_S_CONFIG_POOL_SIZE) |
Typedefs | |
typedef AESECB_s_OperationMsg | AESECB_s_OneStepOperationMsg |
typedef AESECB_s_OperationMsg | AESECB_s_AddDataMsg |
typedef AESECB_s_OperationMsg | AESECB_s_FinalizeMsg |
Functions | |
psa_status_t | AESECB_s_handlePsaMsg (psa_msg_t *msg) |
Handles PSA messages for AES ECB secure driver. More... | |
void | AESECB_s_init (void) |
Initializes the AES ECB secure driver. More... | |
#define AESECB_S_MSG_TYPE_CONSTRUCT AESECB_S_MSG_TYPE(0U) |
#define AESECB_S_MSG_TYPE_OPEN AESECB_S_MSG_TYPE(1U) |
#define AESECB_S_MSG_TYPE_REGISTER_CALLBACK AESECB_S_MSG_TYPE(2U) |
#define AESECB_S_MSG_TYPE_CLOSE AESECB_S_MSG_TYPE(3U) |
#define AESECB_S_MSG_TYPE_ONE_STEP_ENCRYPT AESECB_S_MSG_TYPE(4U) |
#define AESECB_S_MSG_TYPE_ONE_STEP_DECRYPT AESECB_S_MSG_TYPE(5U) |
#define AESECB_S_MSG_TYPE_SETUP_ENCRYPT AESECB_S_MSG_TYPE(6U) |
#define AESECB_S_MSG_TYPE_SETUP_DECRYPT AESECB_S_MSG_TYPE(7U) |
#define AESECB_S_MSG_TYPE_ADD_DATA AESECB_S_MSG_TYPE(8U) |
#define AESECB_S_MSG_TYPE_FINALIZE AESECB_S_MSG_TYPE(9U) |
#define AESECB_S_MSG_TYPE_CANCEL_OPERATION AESECB_S_MSG_TYPE(10U) |
#define CONFIG_AESECB_S_CONFIG_POOL_SIZE 1 |
#define AESECB_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_AESECB_COUNT + CONFIG_AESECB_S_CONFIG_POOL_SIZE) |
psa_status_t AESECB_s_handlePsaMsg | ( | psa_msg_t * | msg | ) |
Handles PSA messages for AES ECB secure driver.
[in] | msg | pointer to PSA message |
PSA_SUCCESS | if successful. |
PSA_ERROR_PROGRAMMER_ERROR | if any args point to secure addresses. |
void AESECB_s_init | ( | void | ) |
Initializes the AES ECB secure driver.