/third_party/mbedtls/include/mbedtls/ |
D | ecp.h | 424 typedef struct mbedtls_ecp_keypair { struct 429 mbedtls_ecp_keypair; typedef 619 void mbedtls_ecp_keypair_init(mbedtls_ecp_keypair *key); 644 void mbedtls_ecp_keypair_free(mbedtls_ecp_keypair *key); 1235 int mbedtls_ecp_gen_key(mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, 1257 int mbedtls_ecp_read_key(mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, 1276 int mbedtls_ecp_write_key(mbedtls_ecp_keypair *key, 1300 const mbedtls_ecp_keypair *pub, const mbedtls_ecp_keypair *prv, 1320 int mbedtls_ecp_export(const mbedtls_ecp_keypair *key, mbedtls_ecp_group *grp,
|
D | ecdsa.h | 80 typedef mbedtls_ecp_keypair mbedtls_ecdsa_context; 639 const mbedtls_ecp_keypair *key);
|
D | pk.h | 781 static inline mbedtls_ecp_keypair *mbedtls_pk_ec(const mbedtls_pk_context pk) in mbedtls_pk_ec() 787 return (mbedtls_ecp_keypair *) (pk).MBEDTLS_PRIVATE(pk_ctx); in mbedtls_pk_ec()
|
D | ecdh.h | 343 const mbedtls_ecp_keypair *key,
|
/third_party/mbedtls/library/ |
D | psa_crypto_ecp.c | 48 mbedtls_ecp_keypair **p_ecp) in mbedtls_psa_ecp_load_representation() 52 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_load_representation() 89 ecp = mbedtls_calloc(1, sizeof(mbedtls_ecp_keypair)); in mbedtls_psa_ecp_load_representation() 169 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_import_key() 205 mbedtls_ecp_keypair *ecp, in mbedtls_psa_ecp_export_key() 261 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_export_public_key() 298 mbedtls_ecp_keypair ecp; in mbedtls_psa_ecp_generate_key() 343 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecdsa_sign_hash() 407 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp) in mbedtls_psa_ecp_load_public_part() 429 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecdsa_verify_hash() [all …]
|
D | psa_crypto_ecp.h | 49 mbedtls_ecp_keypair **p_ecp); 58 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp); 101 mbedtls_ecp_keypair *ecp,
|
D | pkwrite.c | 106 mbedtls_ecp_keypair *ec) in pk_write_ec_pubkey() 134 mbedtls_ecp_keypair *ec) in pk_write_ec_param() 154 mbedtls_ecp_keypair *ec) in pk_write_ec_private() 409 mbedtls_ecp_keypair *ec = mbedtls_pk_ec(*key); in mbedtls_pk_write_key_der()
|
D | pk_wrap.c | 654 return ((mbedtls_ecp_keypair *) ctx)->grp.pbits; in eckey_get_bitlen() 723 mbedtls_ecp_keypair *ctx = ctx_arg; in ecdsa_verify_wrap() 912 mbedtls_ecp_keypair *ctx = ctx_arg; in ecdsa_sign_wrap() 1102 return mbedtls_ecp_check_pub_priv((const mbedtls_ecp_keypair *) pub, in eckey_check_pair() 1103 (const mbedtls_ecp_keypair *) prv, in eckey_check_pair() 1109 void *ctx = mbedtls_calloc(1, sizeof(mbedtls_ecp_keypair)); in eckey_alloc_wrap() 1120 mbedtls_ecp_keypair_free((mbedtls_ecp_keypair *) ctx); in eckey_free_wrap() 1128 items->value = &(((mbedtls_ecp_keypair *) ctx)->Q); in eckey_debug()
|
D | ecp.c | 539 void mbedtls_ecp_keypair_init(mbedtls_ecp_keypair *key) in mbedtls_ecp_keypair_init() 603 void mbedtls_ecp_keypair_free(mbedtls_ecp_keypair *key) in mbedtls_ecp_keypair_free() 3193 int mbedtls_ecp_gen_key(mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_gen_key() 3209 int mbedtls_ecp_read_key(mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_read_key() 3288 int mbedtls_ecp_write_key(mbedtls_ecp_keypair *key, in mbedtls_ecp_write_key() 3324 const mbedtls_ecp_keypair *pub, const mbedtls_ecp_keypair *prv, in mbedtls_ecp_check_pub_priv() 3364 int mbedtls_ecp_export(const mbedtls_ecp_keypair *key, mbedtls_ecp_group *grp, in mbedtls_ecp_export()
|
D | ecdh.c | 422 const mbedtls_ecp_keypair *key, in ecdh_get_params_internal() 449 const mbedtls_ecp_keypair *key, in mbedtls_ecdh_get_params()
|
D | pkparse.c | 498 mbedtls_ecp_keypair *key) in pk_get_ecpubkey() 875 static int pk_parse_key_sec1_der(mbedtls_ecp_keypair *eck, in pk_parse_key_sec1_der()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ecdh.function | 5 mbedtls_ecp_keypair *ecp) 21 mbedtls_ecp_keypair *ecp, 50 mbedtls_ecp_keypair kp; 374 mbedtls_ecp_keypair our_key; 375 mbedtls_ecp_keypair their_key; 431 mbedtls_ecp_keypair our_key; 432 mbedtls_ecp_keypair their_key;
|
D | test_suite_pkparse.function | 85 mbedtls_ecp_keypair *eckey; 110 mbedtls_ecp_keypair *eckey;
|
D | test_suite_ecp.function | 968 mbedtls_ecp_keypair pub, prv; 1027 mbedtls_ecp_keypair key; 1049 mbedtls_ecp_keypair key; 1050 mbedtls_ecp_keypair key2; 1246 mbedtls_ecp_keypair key;
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 59 mbedtls_ecp_keypair kp; in lws_genec_keypair_import() 243 mbedtls_ecp_keypair *kp; in lws_genecdh_new_keypair() 267 kp = (mbedtls_ecp_keypair *)&ecdsa; in lws_genecdh_new_keypair() 325 mbedtls_ecp_keypair *kp; in lws_genecdsa_new_keypair() 353 kp = (mbedtls_ecp_keypair *)ctx->u.ctx_ecdsa; in lws_genecdsa_new_keypair()
|
D | mbedtls-x509.c | 156 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(x509->MBEDTLS_PRIVATE(pk)); in lws_tls_mbedtls_cert_info() 385 mbedtls_ecp_keypair *ecpctx; in lws_x509_public_to_jwk() 457 mbedtls_ecp_keypair *ecpctx; in lws_x509_jwk_privkey_pem()
|
/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 | 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()
|
D | gen_key.c | 368 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
|
/third_party/mbedtls/3rdparty/everest/include/everest/ |
D | x25519.h | 120 int mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key,
|
D | everest.h | 156 int mbedtls_everest_get_params( mbedtls_ecdh_context_everest *ctx, const mbedtls_ecp_keypair *key,
|
/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/3rdparty/everest/library/ |
D | everest.c | 66 const mbedtls_ecp_keypair *key, in mbedtls_everest_get_params()
|
D | x25519.c | 104 int mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key, in mbedtls_x25519_get_params()
|