Home
last modified time | relevance | path

Searched refs:mbedtls_pk_ec (Results 1 – 16 of 16) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_pkparse.function87 eckey = mbedtls_pk_ec(ctx);
112 eckey = mbedtls_pk_ec(ctx);
Dtest_suite_pk.function52 if ((ret = mbedtls_ecp_group_load(&mbedtls_pk_ec(*pk)->grp,
57 return mbedtls_ecp_gen_keypair(&mbedtls_pk_ec(*pk)->grp,
58 &mbedtls_pk_ec(*pk)->d,
59 &mbedtls_pk_ec(*pk)->Q,
640 eckey = mbedtls_pk_ec(pk);
676 TEST_ASSERT(mbedtls_ecp_group_load(&mbedtls_pk_ec(prv)->grp, grp_id) == 0);
677 TEST_ASSERT(mbedtls_test_read_mpi(&mbedtls_pk_ec(prv)->d, d_str) == 0);
680 TEST_ASSERT(mbedtls_ecp_group_load(&mbedtls_pk_ec(pub)->grp, grp_id) == 0);
681 TEST_ASSERT(mbedtls_ecp_point_read_string(&mbedtls_pk_ec(pub)->Q, 16, QX_str, QY_str) == 0);
1249 ret = mbedtls_ecp_point_write_binary(&(mbedtls_pk_ec(pk)->grp),
[all …]
/third_party/mbedtls/library/
Dpkparse.c662 ret = pk_use_ecparams(&alg_params, &mbedtls_pk_ec(*pk)->grp); in mbedtls_pk_parse_subpubkey()
664 ret = pk_get_ecpubkey(p, end, mbedtls_pk_ec(*pk)); in mbedtls_pk_parse_subpubkey()
1087 if ((ret = pk_use_ecparams(&params, &mbedtls_pk_ec(*pk)->grp)) != 0 || in pk_parse_key_pkcs8_unencrypted_der()
1088 (ret = pk_parse_key_sec1_der(mbedtls_pk_ec(*pk), p, len, f_rng, p_rng)) != 0) { in pk_parse_key_pkcs8_unencrypted_der()
1274 (ret = pk_parse_key_sec1_der(mbedtls_pk_ec(*pk), in mbedtls_pk_parse_key()
1398 pk_parse_key_sec1_der(mbedtls_pk_ec(*pk), in mbedtls_pk_parse_key()
Dpkwrite.c185 MBEDTLS_ASN1_CHK_ADD(len, pk_write_ec_pubkey(p, start, mbedtls_pk_ec(*key))); in mbedtls_pk_write_pubkey()
246 MBEDTLS_ASN1_CHK_ADD(par_len, pk_write_ec_param(&c, buf, mbedtls_pk_ec(*key))); in mbedtls_pk_write_pubkey_der()
409 mbedtls_ecp_keypair *ec = mbedtls_pk_ec(*key); in mbedtls_pk_write_key_der()
Dpk.c885 ec = mbedtls_pk_ec(*pk); in mbedtls_pk_wrap_as_opaque()
Dssl_tls12_server.c671 mbedtls_ecp_group_id grp_id = mbedtls_pk_ec(*pk)->grp.id; in ssl_check_key_curve()
2609 key = mbedtls_pk_ec(*pk); in ssl_get_ecdh_params_from_cert()
2677 mbedtls_pk_ec(*mbedtls_ssl_own_key(ssl)), in ssl_get_ecdh_params_from_cert()
Dx509_crt.c235 const mbedtls_ecp_group_id gid = mbedtls_pk_ec(*pk)->grp.id; in x509_profile_check_key()
Dssl_tls12_client.c2012 peer_key = mbedtls_pk_ec(*peer_pk); in ssl_get_ecdh_params_from_cert()
Dssl_tls.c7402 const mbedtls_ecp_keypair *ec = mbedtls_pk_ec(*pk); in ssl_parse_certificate_verify()
/third_party/mbedtls/programs/pkey/
Dkey_app.c225 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main()
275 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main()
Dgen_key.c327 mbedtls_pk_ec(key), in main()
368 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
Dkey_app_writer.c340 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
386 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c156 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(x509->MBEDTLS_PRIVATE_V30_ONLY(pk)); in lws_tls_mbedtls_cert_info()
412 ecpctx = mbedtls_pk_ec(x509->cert.MBEDTLS_PRIVATE_V30_ONLY(pk)); in lws_x509_public_to_jwk()
497 ecpctx = mbedtls_pk_ec(pk); in lws_x509_jwk_privkey_pem()
/third_party/mbedtls/programs/fuzz/
Dfuzz_pubkey.c45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c68 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/mbedtls/
Dpk.h781 static inline mbedtls_ecp_keypair *mbedtls_pk_ec(const mbedtls_pk_context pk) in mbedtls_pk_ec() function