33 #ifndef ti_drivers_ecjpake_ECJPAKECC26X4_s__include 34 #define ti_drivers_ecjpake_ECJPAKECC26X4_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 ECJPAKE_S_MSG_TYPE_CONSTRUCT ECJPAKE_S_MSG_TYPE(0U) 58 #define ECJPAKE_S_MSG_TYPE_OPEN ECJPAKE_S_MSG_TYPE(1U) 59 #define ECJPAKE_S_MSG_TYPE_REGISTER_CALLBACK ECJPAKE_S_MSG_TYPE(2U) 60 #define ECJPAKE_S_MSG_TYPE_CLOSE ECJPAKE_S_MSG_TYPE(3U) 61 #define ECJPAKE_S_MSG_TYPE_ROUND_ONE_GENERATE_KEYS ECJPAKE_S_MSG_TYPE(4U) 62 #define ECJPAKE_S_MSG_TYPE_GENERATE_ZKP ECJPAKE_S_MSG_TYPE(5U) 63 #define ECJPAKE_S_MSG_TYPE_VERIFY_ZKP ECJPAKE_S_MSG_TYPE(6U) 64 #define ECJPAKE_S_MSG_TYPE_ROUND_TWO_GENERATE_KEYS ECJPAKE_S_MSG_TYPE(7U) 65 #define ECJPAKE_S_MSG_TYPE_COMPUTE_SHARED_SECRET ECJPAKE_S_MSG_TYPE(8U) 66 #define ECJPAKE_S_MSG_TYPE_CANCEL_OPERATION ECJPAKE_S_MSG_TYPE(9U) 72 #ifndef CONFIG_ECJPAKE_S_CONFIG_POOL_SIZE 73 #define CONFIG_ECJPAKE_S_CONFIG_POOL_SIZE 1 76 #define ECJPAKE_SECURE_CALLBACK_COUNT (CONFIG_TI_DRIVERS_ECJPAKE_COUNT + CONFIG_ECJPAKE_S_CONFIG_POOL_SIZE) ECJPAKE_Handle handle
Definition: ECJPAKECC26X4_s.h:135
ECJPAKE_Handle handle
Definition: ECJPAKECC26X4_s.h:87
ECJPAKE_Config * config
Definition: ECJPAKECC26X4_s.h:104
Definition: SecureCallback.h:51
Definition: ECJPAKECC26X4_s.h:102
ECJPAKE_Handle handle
Definition: ECJPAKECC26X4_s.h:122
ECJPAKE_OperationType
Enum for the operation types supported by the driver.
Definition: ECJPAKE.h:1118
ECJPAKE_Handle handle
Definition: ECJPAKECC26X4_s.h:116
int_fast16_t returnStatus
Definition: ECJPAKECC26X4_s.h:88
SecureCallback_Object object
Definition: ECJPAKECC26X4_s.h:85
Definition: ECJPAKECC26X4_s.h:120
Definition: ECJPAKECC26X4_s.h:83
Definition: ECJPAKECC26X4_s.h:139
ECJPAKE_OperationType operationType
Definition: ECJPAKECC26X4_s.h:90
ECJPAKE Parameters.
Definition: ECJPAKE.h:1158
ECJPAKE_Operation operation
Definition: ECJPAKECC26X4_s.h:136
Definition: ECJPAKECC26X4_s.h:133
ECJPAKE Global configuration.
Definition: ECJPAKE.h:826
ECJPAKE_s_SecureCallback * callback
Definition: ECJPAKECC26X4_s.h:117
const ECJPAKE_Params * params
Definition: ECJPAKECC26X4_s.h:111
TI Driver for Elliptic Curve Password Authenticated Key Exchange by Juggling.
ECJPAKE_Operation operation
Definition: ECJPAKECC26X4_s.h:89
Definition: ECJPAKECC26X4_s.h:114
const ECJPAKE_Params * params
Definition: ECJPAKECC26X4_s.h:105
Definition: ECJPAKECC26X4_s.h:108
ECJPAKE_Handle handle
Definition: ECJPAKECC26X4_s.h:141
void ECJPAKE_s_init(void)
Initializes the ECJPAKE secure driver.
uint_least8_t index
Definition: ECJPAKECC26X4_s.h:110
psa_status_t ECJPAKE_s_handlePsaMsg(psa_msg_t *msg)
Handles PSA messages for ECJPAKE secure driver.
Union containing pointers to all supported operation structs.
Definition: ECJPAKE.h:1103