Searched refs:mbedtls_pk_ec (Results 1 – 16 of 16) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_pkparse.function | 87 eckey = mbedtls_pk_ec(ctx); 112 eckey = mbedtls_pk_ec(ctx);
|
D | test_suite_pk.function | 52 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/ |
D | pkparse.c | 662 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(¶ms, &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()
|
D | pkwrite.c | 185 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()
|
D | pk.c | 885 ec = mbedtls_pk_ec(*pk); in mbedtls_pk_wrap_as_opaque()
|
D | ssl_tls12_server.c | 671 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()
|
D | x509_crt.c | 235 const mbedtls_ecp_group_id gid = mbedtls_pk_ec(*pk)->grp.id; in x509_profile_check_key()
|
D | ssl_tls12_client.c | 2012 peer_key = mbedtls_pk_ec(*peer_pk); in ssl_get_ecdh_params_from_cert()
|
D | ssl_tls.c | 7402 const mbedtls_ecp_keypair *ec = mbedtls_pk_ec(*pk); in ssl_parse_certificate_verify()
|
/third_party/mbedtls/programs/pkey/ |
D | key_app.c | 225 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main() 275 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main()
|
D | gen_key.c | 327 mbedtls_pk_ec(key), in main() 368 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
|
D | key_app_writer.c | 340 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/ |
D | mbedtls-x509.c | 156 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/ |
D | fuzz_pubkey.c | 45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 68 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/include/mbedtls/ |
D | pk.h | 781 static inline mbedtls_ecp_keypair *mbedtls_pk_ec(const mbedtls_pk_context pk) in mbedtls_pk_ec() function
|