/third_party/mbedtls/include/mbedtls/ |
D | ecp.h | 128 } mbedtls_ecp_group_id; typedef 161 mbedtls_ecp_group_id grp_id; /*!< An internal identifier. */ 233 mbedtls_ecp_group_id id; /*!< An internal group identifier. */ 561 const mbedtls_ecp_group_id *mbedtls_ecp_grp_id_list(void); 572 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_grp_id(mbedtls_ecp_group_id grp_id); 869 int mbedtls_ecp_group_load(mbedtls_ecp_group *grp, mbedtls_ecp_group_id id); 909 int mbedtls_ecp_tls_read_group_id(mbedtls_ecp_group_id *grp, 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,
|
D | ecdh.h | 135 mbedtls_ecp_group_id MBEDTLS_PRIVATE(grp_id);/*!< The elliptic curve used. */ 163 int mbedtls_ecdh_can_do(mbedtls_ecp_group_id gid); 254 mbedtls_ecp_group_id grp_id);
|
D | ecdsa.h | 135 int mbedtls_ecdsa_can_do(mbedtls_ecp_group_id gid); 620 int mbedtls_ecdsa_genkey(mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid,
|
D | oid.h | 521 int mbedtls_oid_get_ec_grp(const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id); 532 int mbedtls_oid_get_oid_by_ec_grp(mbedtls_ecp_group_id grp_id,
|
D | ecjpake.h | 125 mbedtls_ecp_group_id curve,
|
D | ssl.h | 1491 const mbedtls_ecp_group_id *MBEDTLS_PRIVATE(curve_list); /*!< allowed curves */ 3667 const mbedtls_ecp_group_id *curves);
|
/third_party/mbedtls/library/ |
D | ecdh.c | 41 static mbedtls_ecp_group_id mbedtls_ecdh_grp_id( in mbedtls_ecdh_grp_id() 51 int mbedtls_ecdh_can_do(mbedtls_ecp_group_id gid) in mbedtls_ecdh_can_do() 181 mbedtls_ecp_group_id grp_id) in ecdh_setup_internal() 196 int mbedtls_ecdh_setup(mbedtls_ecdh_context *ctx, mbedtls_ecp_group_id grp_id) in mbedtls_ecdh_setup() 393 mbedtls_ecp_group_id grp_id; in mbedtls_ecdh_read_params()
|
D | ecp_invasive.h | 182 const mbedtls_ecp_group_id id,
|
D | oid.c | 542 mbedtls_ecp_group_id grp_id; 620 FN_OID_GET_ATTR1(mbedtls_oid_get_ec_grp, oid_ecp_grp_t, grp_id, mbedtls_ecp_group_id, grp_id) 624 mbedtls_ecp_group_id,
|
D | pkparse.c | 374 static int pk_group_id_from_group(const mbedtls_ecp_group *grp, mbedtls_ecp_group_id *grp_id) in pk_group_id_from_group() 378 const mbedtls_ecp_group_id *id; in pk_group_id_from_group() 418 mbedtls_ecp_group_id *grp_id) in pk_group_id_from_specified() 460 mbedtls_ecp_group_id grp_id; in pk_use_ecparams()
|
D | psa_crypto_ecp.c | 50 mbedtls_ecp_group_id grp_id = MBEDTLS_ECP_DP_NONE; in mbedtls_psa_ecp_load_representation() 293 mbedtls_ecp_group_id grp_id = in mbedtls_psa_ecp_generate_key()
|
D | ecp.c | 396 static mbedtls_ecp_group_id ecp_supported_grp_id[ECP_NB_CURVES]; 409 const mbedtls_ecp_group_id *mbedtls_ecp_grp_id_list(void) in mbedtls_ecp_grp_id_list() 433 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_grp_id(mbedtls_ecp_group_id grp_id) in mbedtls_ecp_curve_info_from_grp_id() 915 mbedtls_ecp_group_id grp_id; in mbedtls_ecp_tls_read_group() 927 int mbedtls_ecp_tls_read_group_id(mbedtls_ecp_group_id *grp, in mbedtls_ecp_tls_read_group_id() 2953 const mbedtls_ecp_group_id grp_id) in ecp_check_bad_points_mx() 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()
|
D | ecdsa.c | 376 int mbedtls_ecdsa_can_do(mbedtls_ecp_group_id gid) in mbedtls_ecdsa_can_do() 788 int mbedtls_ecdsa_genkey(mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid, in mbedtls_ecdsa_genkey()
|
D | ssl_misc.h | 1568 int mbedtls_ssl_check_curve(const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id); 1598 mbedtls_ecp_group_id mbedtls_ssl_get_ecp_group_id_from_tls_id(uint16_t tls_id); 1607 uint16_t mbedtls_ssl_get_tls_id_from_ecp_group_id(mbedtls_ecp_group_id grp_id);
|
D | ssl_tls12_server.c | 671 mbedtls_ecp_group_id grp_id = mbedtls_pk_ec(*pk)->grp.id; in ssl_check_key_curve() 672 mbedtls_ecp_group_id curr_grp_id; in ssl_check_key_curve() 3001 mbedtls_ecp_group_id curr_grp_id = in ssl_prepare_server_key_exchange()
|
D | ecjpake.c | 133 mbedtls_ecp_group_id curve, in mbedtls_ecjpake_setup()
|
D | ssl_tls.c | 1157 const mbedtls_ecp_group_id *curve_list = ssl->conf->curve_list; in ssl_handshake_init() 2943 const mbedtls_ecp_group_id *curve_list) in mbedtls_ssl_conf_curves() 5573 int mbedtls_ssl_check_curve(const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id) in mbedtls_ssl_check_curve() 5593 mbedtls_ecp_group_id ecp_group_id; 5660 mbedtls_ecp_group_id mbedtls_ssl_get_ecp_group_id_from_tls_id(uint16_t tls_id) in mbedtls_ssl_get_ecp_group_id_from_tls_id() 5671 uint16_t mbedtls_ssl_get_tls_id_from_ecp_group_id(mbedtls_ecp_group_id grp_id) in mbedtls_ssl_get_tls_id_from_ecp_group_id()
|
/third_party/mbedtls/tests/include/alt-dummy/ |
D | ecp_alt.h | 23 const mbedtls_ecp_group_id id;
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 89 (mbedtls_ecp_group_id)curve->tls_lib_nid)) in lws_genec_keypair_import() 259 n = mbedtls_ecdsa_genkey(&ecdsa, (mbedtls_ecp_group_id)curve->tls_lib_nid, in lws_genecdh_new_keypair() 341 n = mbedtls_ecdsa_genkey(ctx->u.ctx_ecdsa, (mbedtls_ecp_group_id)curve->tls_lib_nid, in lws_genecdsa_new_keypair()
|
/third_party/mbedtls/programs/fuzz/ |
D | fuzz_pubkey.c | 46 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
|
D | fuzz_privkey.c | 69 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/include/psa/ |
D | crypto_extra.h | 594 static inline psa_ecc_family_t mbedtls_ecc_group_to_psa(mbedtls_ecp_group_id grpid, in mbedtls_ecc_group_to_psa() 662 mbedtls_ecp_group_id mbedtls_ecc_group_of_psa(psa_ecc_family_t curve,
|
/third_party/mbedtls/programs/pkey/ |
D | gen_key.c | 326 ret = mbedtls_ecp_gen_key((mbedtls_ecp_group_id) opt.ec_curve, in main()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_ecjpake.function | 110 mbedtls_ecp_group_id valid_group = MBEDTLS_ECP_DP_SECP256R1;
|
D | test_suite_pk.function | 1223 mbedtls_ecp_group_id grpid = parameter_arg; 1313 (mbedtls_ecp_group_id) parameter_arg), 0);
|