Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_pkparse.function83 eckey = mbedtls_pk_ec( ctx );
109 eckey = mbedtls_pk_ec( ctx );
Dtest_suite_pk.function49 if( ( ret = mbedtls_ecp_group_load( &mbedtls_pk_ec( *pk )->grp,
53 return mbedtls_ecp_gen_keypair( &mbedtls_pk_ec( *pk )->grp,
54 &mbedtls_pk_ec( *pk )->d,
55 &mbedtls_pk_ec( *pk )->Q,
500 eckey = mbedtls_pk_ec( pk );
537 TEST_ASSERT( mbedtls_ecp_group_load( &mbedtls_pk_ec( prv )->grp, grp_id ) == 0 );
538 TEST_ASSERT( mbedtls_test_read_mpi( &mbedtls_pk_ec( prv )->d, 16, d_str ) == 0 );
541 TEST_ASSERT( mbedtls_ecp_group_load( &mbedtls_pk_ec( pub )->grp, grp_id ) == 0 );
542 … TEST_ASSERT( mbedtls_ecp_point_read_string( &mbedtls_pk_ec( pub )->Q, 16, QX_str, QY_str ) == 0 );
/third_party/mbedtls/programs/pkey/
Dkey_app.c241 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main()
292 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main()
Dgen_key.c346 mbedtls_pk_ec( key ), in main()
392 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
Dkey_app_writer.c360 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
413 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
/third_party/mbedtls/library/
Dpkparse.c658 ret = pk_use_ecparams( &alg_params, &mbedtls_pk_ec( *pk )->grp ); in mbedtls_pk_parse_subpubkey()
660 ret = pk_get_ecpubkey( p, end, mbedtls_pk_ec( *pk ) ); in mbedtls_pk_parse_subpubkey()
1079 if( ( ret = pk_use_ecparams( &params, &mbedtls_pk_ec( *pk )->grp ) ) != 0 || in pk_parse_key_pkcs8_unencrypted_der()
1080 ( ret = pk_parse_key_sec1_der( mbedtls_pk_ec( *pk ), p, len, f_rng, p_rng ) ) != 0 ) in pk_parse_key_pkcs8_unencrypted_der()
1270 ( 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.c194 MBEDTLS_ASN1_CHK_ADD( len, pk_write_ec_pubkey( p, start, mbedtls_pk_ec( *key ) ) ); in mbedtls_pk_write_pubkey()
260 MBEDTLS_ASN1_CHK_ADD( par_len, pk_write_ec_param( &c, buf, mbedtls_pk_ec( *key ) ) ); in mbedtls_pk_write_pubkey_der()
408 mbedtls_ecp_keypair *ec = mbedtls_pk_ec( *key ); in mbedtls_pk_write_key_der()
Dpk.c623 ec = mbedtls_pk_ec( *pk ); in mbedtls_pk_wrap_as_opaque()
Dssl_tls13_generic.c767 mbedtls_ssl_check_curve( ssl, mbedtls_pk_ec( *pk )->grp.id ) != 0 ) in ssl_tls13_validate_certificate()
Dssl_srv.c891 mbedtls_ecp_group_id grp_id = mbedtls_pk_ec( *pk )->grp.id; in ssl_check_key_curve()
2857 mbedtls_pk_ec( *mbedtls_ssl_own_key( ssl ) ), in ssl_get_ecdh_params_from_cert()
Dx509_crt.c236 const mbedtls_ecp_group_id gid = mbedtls_pk_ec( *pk )->grp.id; in x509_profile_check_key()
Dssl_cli.c2845 peer_key = mbedtls_pk_ec( *peer_pk ); in ssl_get_ecdh_params_from_cert()
Dssl_tls.c2137 mbedtls_ssl_check_curve( ssl, mbedtls_pk_ec( *pk )->grp.id ) != 0 ) in ssl_parse_certificate_verify()
/third_party/mbedtls/programs/fuzz/
Dfuzz_privkey.c54 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c47 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c156 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(x509->MBEDTLS_PRIVATE(pk)); in lws_tls_mbedtls_cert_info()
412 ecpctx = mbedtls_pk_ec(x509->cert.MBEDTLS_PRIVATE(pk)); in lws_x509_public_to_jwk()
497 ecpctx = mbedtls_pk_ec(pk); in lws_x509_jwk_privkey_pem()
/third_party/mbedtls/include/mbedtls/
Dpk.h239 static inline mbedtls_ecp_keypair *mbedtls_pk_ec( const mbedtls_pk_context pk ) in mbedtls_pk_ec() function