Searched refs:ctx_client (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-2.7.6/components/protocomm/test/ |
D | test_protocomm.c | 60 mbedtls_ecdh_context ctx_client; member 159 ret = mbedtls_mpi_lset(&session->ctx_client.Qp.Z, 1); in verify_response0() 166 ret = mbedtls_mpi_read_binary(&session->ctx_client.Qp.X, dev_pubkey, PUBLIC_KEY_LEN); in verify_response0() 173 ret = mbedtls_ecdh_compute_shared(&session->ctx_client.grp, in verify_response0() 174 &session->ctx_client.z, in verify_response0() 175 &session->ctx_client.Qp, in verify_response0() 176 &session->ctx_client.d, in verify_response0() 184 ret = mbedtls_mpi_write_binary(&session->ctx_client.z, session->sym_key, PUBLIC_KEY_LEN); in verify_response0() 374 mbedtls_ecdh_init(&session->ctx_client); in test_sec_endpoint() 385 ret = mbedtls_ecp_group_load(&session->ctx_client.grp, MBEDTLS_ECP_DP_CURVE25519); in test_sec_endpoint() [all …]
|