33 #ifndef ti_drivers_ecdsa_ECDSACC26X4_s__include 34 #define ti_drivers_ecdsa_ECDSACC26X4_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_PSA_API) 47 #include "ti_drivers_config.h" 54 #define ECDSA_S_MSG_TYPE(index) (CRYPTO_S_MSG_TYPE_INDEX_ECDSA | ((int32_t)1 << (CRYPTO_S_MSG_TYPE_SHIFT + (index)))) 65 #define ECDSA_S_MSG_TYPE_CONSTRUCT ECDSA_S_MSG_TYPE(0U) 66 #define ECDSA_S_MSG_TYPE_OPEN ECDSA_S_MSG_TYPE(1U) 67 #define ECDSA_S_MSG_TYPE_REGISTER_CALLBACK ECDSA_S_MSG_TYPE(2U) 68 #define ECDSA_S_MSG_TYPE_CLOSE ECDSA_S_MSG_TYPE(3U) 69 #define ECDSA_S_MSG_TYPE_SIGN ECDSA_S_MSG_TYPE(4U) 70 #define ECDSA_S_MSG_TYPE_VERIFY ECDSA_S_MSG_TYPE(5U) 71 #define ECDSA_S_MSG_TYPE_CANCEL_OPERATION ECDSA_S_MSG_TYPE(6U) 77 #ifndef CONFIG_ECDSA_S_CONFIG_POOL_SIZE 78 #define CONFIG_ECDSA_S_CONFIG_POOL_SIZE 1 81 #define ECDSA_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_ECDSA_COUNT + CONFIG_ECDSA_S_CONFIG_POOL_SIZE) TI Driver for Elliptic Curve Digital Signature Algorithm.
Definition: ECDSACC26X4_s.h:125
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:121
Definition: SecureCallback.h:51
ECDSA_Operation operation
Definition: ECDSACC26X4_s.h:94
Definition: ECDSACC26X4_s.h:136
Definition: ECDSACC26X4_s.h:130
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:132
ECDSA_OperationSign * operation
Definition: ECDSACC26X4_s.h:133
ECDSA_s_SecureCallback * callback
Definition: ECDSACC26X4_s.h:122
Definition: ECDSACC26X4_s.h:88
void ECDSA_s_init(void)
Initializes the ECDSA secure driver.
ECDSA Global configuration.
Definition: ECDSA.h:469
const ECDSA_Params * params
Definition: ECDSACC26X4_s.h:110
Definition: ECDSACC26X4_s.h:113
ECDSA_Config * config
Definition: ECDSACC26X4_s.h:109
Definition: ECDSACC26X4_s.h:107
Struct containing the parameters required for signing a message.
Definition: ECDSA.h:526
ECDSA_OperationVerify * operation
Definition: ECDSACC26X4_s.h:139
uint_least8_t index
Definition: ECDSACC26X4_s.h:115
ECDSA Parameters.
Definition: ECDSA.h:626
SecureCallback_Object object
Definition: ECDSACC26X4_s.h:90
ECDSA_OperationType
Enum for the operation types supported by the driver.
Definition: ECDSA.h:588
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:92
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:144
Definition: ECDSACC26X4_s.h:119
Union containing pointers to all supported operation structs.
Definition: ECDSA.h:579
int_fast16_t returnStatus
Definition: ECDSACC26X4_s.h:93
psa_status_t ECDSA_s_handlePsaMsg(psa_msg_t *msg)
Handles PSA messages for ECDSA secure driver.
Struct containing the parameters required for verifying a message.
Definition: ECDSA.h:552
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:127
ECDSA_OperationType operationType
Definition: ECDSACC26X4_s.h:95
Definition: ECDSACC26X4_s.h:142
const ECDSA_Params * params
Definition: ECDSACC26X4_s.h:116
ECDSA_Handle handle
Definition: ECDSACC26X4_s.h:138