Searched refs:mbedtls_pk_ec (Results 1 – 18 of 18) sorted by relevance
/openthread-2.7.6/src/core/crypto/ |
D | ecdsa.cpp | 64 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/ |
D | test_suite_pkparse.function | 82 eckey = mbedtls_pk_ec( ctx ); 107 eckey = mbedtls_pk_ec( ctx );
|
D | test_suite_pk.function | 61 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/ |
D | fuzz_privkey.c | 50 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
|
D | fuzz_pubkey.c | 45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( pk ); in LLVMFuzzerTestOneInput()
|
/openthread-2.7.6/third_party/mbedtls/repo/programs/pkey/ |
D | key_app.c | 224 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 | 350 mbedtls_pk_ec( key ), in main() 396 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec( key ); in main()
|
D | key_app_writer.c | 337 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/ |
D | pkparse.c | 657 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( ¶ms, &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()
|
D | pkwrite.c | 194 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()
|
D | pk.c | 613 ec = mbedtls_pk_ec( *pk ); in mbedtls_pk_wrap_as_opaque()
|
D | ssl_srv.c | 912 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()
|
D | x509_crt.c | 215 const mbedtls_ecp_group_id gid = mbedtls_pk_ec( *pk )->grp.id; in x509_profile_check_key()
|
D | ssl_cli.c | 3017 peer_key = mbedtls_pk_ec( *peer_pk ); in ssl_get_ecdh_params_from_cert()
|
D | ssl_tls.c | 2570 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/ |
D | pk.h | 225 static inline mbedtls_ecp_keypair *mbedtls_pk_ec( const mbedtls_pk_context pk ) in mbedtls_pk_ec() function
|
D | compat-1.3.h | 2135 #define pk_ec mbedtls_pk_ec
|
/openthread-2.7.6/third_party/mbedtls/repo/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1745 pk_ec mbedtls_pk_ec
|