33 #ifndef ti_drivers_aescmac_AESCMACCC26X4_s__include 34 #define ti_drivers_aescmac_AESCMACCC26X4_s__include 43 #include <third_party/tfm/interface/include/psa/error.h> 44 #include <third_party/tfm/interface/include/psa/service.h> 46 #if defined(TFM_BUILD) 47 #include "ti_drivers_config.h" 57 #define AESCMAC_S_MSG_TYPE_CONSTRUCT AESCMAC_S_MSG_TYPE(0U) 58 #define AESCMAC_S_MSG_TYPE_OPEN AESCMAC_S_MSG_TYPE(1U) 59 #define AESCMAC_S_MSG_TYPE_REGISTER_CALLBACK AESCMAC_S_MSG_TYPE(2U) 60 #define AESCMAC_S_MSG_TYPE_CLOSE AESCMAC_S_MSG_TYPE(3U) 61 #define AESCMAC_S_MSG_TYPE_ONE_STEP_SIGN AESCMAC_S_MSG_TYPE(4U) 62 #define AESCMAC_S_MSG_TYPE_ONE_STEP_VERIFY AESCMAC_S_MSG_TYPE(5U) 63 #define AESCMAC_S_MSG_TYPE_SETUP_SIGN AESCMAC_S_MSG_TYPE(6U) 64 #define AESCMAC_S_MSG_TYPE_SETUP_VERIFY AESCMAC_S_MSG_TYPE(7U) 65 #define AESCMAC_S_MSG_TYPE_ADD_DATA AESCMAC_S_MSG_TYPE(8U) 66 #define AESCMAC_S_MSG_TYPE_FINALIZE AESCMAC_S_MSG_TYPE(9U) 67 #define AESCMAC_S_MSG_TYPE_CANCEL_OPERATION AESCMAC_S_MSG_TYPE(10U) 73 #ifndef CONFIG_AESCMAC_S_CONFIG_POOL_SIZE 74 #define CONFIG_AESCMAC_S_CONFIG_POOL_SIZE 1 77 #define AESCMAC_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_AESCMAC_COUNT + CONFIG_AESCMAC_S_CONFIG_POOL_SIZE) AESCMAC_s_AddDataMsg AESCMAC_s_FinalizeMsg
Definition: AESCMACCC26X4_s.h:145
Definition: AESCMACCC26X4_s.h:84
void AESCMAC_s_init(void)
Initializes the AES CMAC secure driver.
psa_status_t AESCMAC_s_handlePsaMsg(psa_msg_t *msg)
Handles PSA messages for AES CMAC secure driver.
Definition: SecureCallback.h:51
CryptoKey * key
Definition: AESCMACCC26X4_s.h:130
Definition: AESCMACCC26X4_s.h:139
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:123
Definition: AESCMACCC26X4_s.h:109
AESCMAC_s_SecureCallback * callback
Definition: AESCMACCC26X4_s.h:118
AES Global configuration.
Definition: AESCommon.h:154
AESCMAC_OperationType operationType
Definition: AESCMACCC26X4_s.h:91
SecureCallback_Object object
Definition: AESCMACCC26X4_s.h:86
AESCMAC_Config * config
Definition: AESCMACCC26X4_s.h:105
CryptoKey datastructure.
Definition: CryptoKey.h:196
AESCMAC_OperationType
Enum for the operation types supported by the driver.
Definition: AESCMAC.h:715
Definition: AESCMACCC26X4_s.h:147
Definition: AESCMACCC26X4_s.h:133
AESCMAC_Operation * operation
Definition: AESCMACCC26X4_s.h:129
const AESCMAC_Params * params
Definition: AESCMACCC26X4_s.h:112
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:135
AESCMAC_Operation * operation
Definition: AESCMACCC26X4_s.h:90
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:149
uint_least8_t index
Definition: AESCMACCC26X4_s.h:111
int_fast16_t returnValue
Definition: AESCMACCC26X4_s.h:89
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:117
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:88
const AESCMAC_Params * params
Definition: AESCMACCC26X4_s.h:106
AESCMAC Parameters.
Definition: AESCMAC.h:752
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:141
AESCMAC (CMAC and CBC-MAC) driver header.
AESCMAC_Handle handle
Definition: AESCMACCC26X4_s.h:128
AESCMAC_Operation * operation
Definition: AESCMACCC26X4_s.h:142
const CryptoKey * key
Definition: AESCMACCC26X4_s.h:136
Definition: AESCMACCC26X4_s.h:126
Struct containing the parameters required for signing or verifying a message.
Definition: AESCMAC.h:661
Definition: AESCMACCC26X4_s.h:115
Definition: AESCMACCC26X4_s.h:121
Definition: AESCMACCC26X4_s.h:103