Searched refs:mbedtls_pk_ec_ro (Results 1 – 7 of 7) sorted by relevance
48 static inline const mbedtls_ecp_keypair *mbedtls_pk_ec_ro(const mbedtls_pk_context pk) in mbedtls_pk_ec_ro() function95 id = mbedtls_pk_ec_ro(*pk)->grp.id; in mbedtls_pk_get_group_id()
1229 mbedtls_ecc_group_to_psa(mbedtls_pk_ec_ro(*prv)->grp.id, &curve_bits); in eckey_check_pair_psa()1239 ret = mbedtls_mpi_write_binary(&mbedtls_pk_ec_ro(*prv)->d, in eckey_check_pair_psa()1326 ret = mbedtls_ecp_point_write_binary(&(mbedtls_pk_ec_ro(*pub)->grp), in ecdsa_opaque_check_pair_wrap()1327 &(mbedtls_pk_ec_ro(*pub)->Q), in ecdsa_opaque_check_pair_wrap()
503 if (mbedtls_pk_ec_ro(*pk)->grp.id != MBEDTLS_ECP_DP_NONE && in pk_use_ecparams()504 mbedtls_pk_ec_ro(*pk)->grp.id != grp_id) { in pk_use_ecparams()
667 mbedtls_ecp_group_id grp_id = mbedtls_pk_ec_ro(*pk)->grp.id; in ssl_check_key_curve()2722 mbedtls_pk_ec_ro(*mbedtls_ssl_own_key(ssl)), in ssl_get_ecdh_params_from_cert()
2013 const mbedtls_ecp_keypair *peer_key = mbedtls_pk_ec_ro(*peer_pk); in ssl_get_ecdh_params_from_cert()
100 eckey = mbedtls_pk_ec_ro(ctx);128 const mbedtls_ecp_keypair *eckey = mbedtls_pk_ec_ro(ctx);
1343 ret = mbedtls_ecp_point_write_binary(&(mbedtls_pk_ec_ro(pk)->grp),1344 &(mbedtls_pk_ec_ro(pk)->Q),1413 TEST_EQUAL(mbedtls_ecp_point_read_binary(&(mbedtls_pk_ec_ro(pk)->grp),