Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/crypto/
Decdsa.cpp64 ret = mbedtls_ecp_gen_key(MBEDTLS_ECP_DP_SECP256R1, mbedtls_pk_ec(pk), mbedtls_ctr_drbg_random, in Generate()
104 keyPair = mbedtls_pk_ec(pk); in GetPublicKey()
133 keypair = mbedtls_pk_ec(pk); in Sign()
227 keypair = mbedtls_pk_ec(pkCtx); in Sign()
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pkparse.function82 eckey = mbedtls_pk_ec( ctx );
107 eckey = mbedtls_pk_ec( ctx );
Dtest_suite_pk.function61 if( ( ret = mbedtls_ecp_group_load( &mbedtls_pk_ec( *pk )->grp,
65 return mbedtls_ecp_gen_keypair( &mbedtls_pk_ec( *pk )->grp,
66 &mbedtls_pk_ec( *pk )->d,
67 &mbedtls_pk_ec( *pk )->Q,
778 eckey = mbedtls_pk_ec( pk );
815 TEST_ASSERT( mbedtls_ecp_group_load( &mbedtls_pk_ec( prv )->grp, grp_id ) == 0 );
816 TEST_ASSERT( mbedtls_mpi_read_string( &mbedtls_pk_ec( prv )->d, 16, d_str ) == 0 );
819 TEST_ASSERT( mbedtls_ecp_group_load( &mbedtls_pk_ec( pub )->grp, grp_id ) == 0 );
820 … TEST_ASSERT( mbedtls_ecp_point_read_string( &mbedtls_pk_ec( pub )->Q, 16, QX_str, QY_str ) == 0 );
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_privkey.c50 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
/openthread-2.7.6/third_party/mbedtls/repo/programs/pkey/
Dkey_app.c224 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main()
275 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in main()
Dgen_key.c350 mbedtls_pk_ec( key ), in main()
396 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
Dkey_app_writer.c337 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
391 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
/openthread-2.7.6/third_party/mbedtls/repo/library/
Dpkparse.c657 ret = pk_use_ecparams( &alg_params, &mbedtls_pk_ec( *pk )->grp ); in mbedtls_pk_parse_subpubkey()
659 ret = pk_get_ecpubkey( p, end, mbedtls_pk_ec( *pk ) ); in mbedtls_pk_parse_subpubkey()
1071 if( ( ret = pk_use_ecparams( &params, &mbedtls_pk_ec( *pk )->grp ) ) != 0 || in pk_parse_key_pkcs8_unencrypted_der()
1072 ( ret = pk_parse_key_sec1_der( mbedtls_pk_ec( *pk ), p, len ) ) != 0 ) in pk_parse_key_pkcs8_unencrypted_der()
1278 ( ret = pk_parse_key_sec1_der( mbedtls_pk_ec( *pk ), in mbedtls_pk_parse_key()
1403 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.c613 ec = mbedtls_pk_ec( *pk ); in mbedtls_pk_wrap_as_opaque()
Dssl_srv.c912 mbedtls_ecp_group_id grp_id = mbedtls_pk_ec( *pk )->grp.id; in ssl_check_key_curve()
3223 mbedtls_pk_ec( *mbedtls_ssl_own_key( ssl ) ), in ssl_get_ecdh_params_from_cert()
Dx509_crt.c215 const mbedtls_ecp_group_id gid = mbedtls_pk_ec( *pk )->grp.id; in x509_profile_check_key()
Dssl_cli.c3017 peer_key = mbedtls_pk_ec( *peer_pk ); in ssl_get_ecdh_params_from_cert()
Dssl_tls.c2570 mbedtls_ssl_check_curve( ssl, mbedtls_pk_ec( *pk )->grp.id ) != 0 ) in ssl_parse_certificate_verify()
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dpk.h225 static inline mbedtls_ecp_keypair *mbedtls_pk_ec( const mbedtls_pk_context pk ) in mbedtls_pk_ec() function
Dcompat-1.3.h2135 #define pk_ec mbedtls_pk_ec
/openthread-2.7.6/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1745 pk_ec mbedtls_pk_ec