![]() |
![]() |
#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/AESCTR.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 | AESCTR_s_SecureCallback |
struct | AESCTR_s_ConstructMsg |
struct | AESCTR_s_OpenMsg |
struct | AESCTR_s_CallbackMsg |
struct | AESCTR_s_CloseMsg |
struct | AESCTR_s_OneStepOperationMsg |
struct | AESCTR_s_SetupOperationMsg |
struct | AESCTR_s_AddDataMsg |
struct | AESCTR_s_CancelOperationMsg |
Macros | |
#define | AESCTR_S_MSG_TYPE_CONSTRUCT AESCTR_S_MSG_TYPE(0U) |
#define | AESCTR_S_MSG_TYPE_OPEN AESCTR_S_MSG_TYPE(1U) |
#define | AESCTR_S_MSG_TYPE_REGISTER_CALLBACK AESCTR_S_MSG_TYPE(2U) |
#define | AESCTR_S_MSG_TYPE_CLOSE AESCTR_S_MSG_TYPE(3U) |
#define | AESCTR_S_MSG_TYPE_ONE_STEP_ENCRYPT AESCTR_S_MSG_TYPE(4U) |
#define | AESCTR_S_MSG_TYPE_ONE_STEP_DECRYPT AESCTR_S_MSG_TYPE(5U) |
#define | AESCTR_S_MSG_TYPE_SETUP_ENCRYPT AESCTR_S_MSG_TYPE(6U) |
#define | AESCTR_S_MSG_TYPE_SETUP_DECRYPT AESCTR_S_MSG_TYPE(7U) |
#define | AESCTR_S_MSG_TYPE_ADD_DATA AESCTR_S_MSG_TYPE(8U) |
#define | AESCTR_S_MSG_TYPE_FINALIZE AESCTR_S_MSG_TYPE(9U) |
#define | AESCTR_S_MSG_TYPE_CANCEL_OPERATION AESCTR_S_MSG_TYPE(10U) |
#define | CONFIG_AESCTR_S_CONFIG_POOL_SIZE 1 |
#define | AESCTR_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_AESCTR_COUNT + CONFIG_AESCTR_S_CONFIG_POOL_SIZE) |
Typedefs | |
typedef AESCTR_s_AddDataMsg | AESCTR_s_FinalizeMsg |
Functions | |
psa_status_t | AESCTR_s_handlePsaMsg (psa_msg_t *msg) |
Handles PSA messages for AES CTR secure driver. More... | |
void | AESCTR_s_init (void) |
Initializes the AES CTR secure driver. More... | |
#define AESCTR_S_MSG_TYPE_CONSTRUCT AESCTR_S_MSG_TYPE(0U) |
#define AESCTR_S_MSG_TYPE_OPEN AESCTR_S_MSG_TYPE(1U) |
#define AESCTR_S_MSG_TYPE_REGISTER_CALLBACK AESCTR_S_MSG_TYPE(2U) |
#define AESCTR_S_MSG_TYPE_CLOSE AESCTR_S_MSG_TYPE(3U) |
#define AESCTR_S_MSG_TYPE_ONE_STEP_ENCRYPT AESCTR_S_MSG_TYPE(4U) |
#define AESCTR_S_MSG_TYPE_ONE_STEP_DECRYPT AESCTR_S_MSG_TYPE(5U) |
#define AESCTR_S_MSG_TYPE_SETUP_ENCRYPT AESCTR_S_MSG_TYPE(6U) |
#define AESCTR_S_MSG_TYPE_SETUP_DECRYPT AESCTR_S_MSG_TYPE(7U) |
#define AESCTR_S_MSG_TYPE_ADD_DATA AESCTR_S_MSG_TYPE(8U) |
#define AESCTR_S_MSG_TYPE_FINALIZE AESCTR_S_MSG_TYPE(9U) |
#define AESCTR_S_MSG_TYPE_CANCEL_OPERATION AESCTR_S_MSG_TYPE(10U) |
#define CONFIG_AESCTR_S_CONFIG_POOL_SIZE 1 |
#define AESCTR_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_AESCTR_COUNT + CONFIG_AESCTR_S_CONFIG_POOL_SIZE) |
psa_status_t AESCTR_s_handlePsaMsg | ( | psa_msg_t * | msg | ) |
Handles PSA messages for AES CTR secure driver.
[in] | msg | pointer to PSA message |
PSA_SUCCESS | if successful. |
PSA_ERROR_PROGRAMMER_ERROR | if any args point to secure addresses. |
void AESCTR_s_init | ( | void | ) |
Initializes the AES CTR secure driver.