Home
last modified time | relevance | path

Searched refs:mbedtls_ecp_group_id (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mbedtls/include/mbedtls/
Decp.h128 } 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,
Decdh.h135 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);
Decdsa.h135 int mbedtls_ecdsa_can_do(mbedtls_ecp_group_id gid);
620 int mbedtls_ecdsa_genkey(mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid,
Doid.h521 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,
Decjpake.h125 mbedtls_ecp_group_id curve,
Dssl.h1491 const mbedtls_ecp_group_id *MBEDTLS_PRIVATE(curve_list); /*!< allowed curves */
3667 const mbedtls_ecp_group_id *curves);
/third_party/mbedtls/library/
Decdh.c41 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()
Decp_invasive.h182 const mbedtls_ecp_group_id id,
Doid.c542 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,
Dpkparse.c374 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()
Dpsa_crypto_ecp.c50 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()
Decp.c396 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()
Decdsa.c376 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()
Dssl_misc.h1568 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);
Dssl_tls12_server.c671 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()
Decjpake.c133 mbedtls_ecp_group_id curve, in mbedtls_ecjpake_setup()
Dssl_tls.c1157 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/
Decp_alt.h23 const mbedtls_ecp_group_id id;
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genec.c89 (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/
Dfuzz_pubkey.c46 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c69 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/psa/
Dcrypto_extra.h594 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/
Dgen_key.c326 ret = mbedtls_ecp_gen_key((mbedtls_ecp_group_id) opt.ec_curve, in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_ecjpake.function110 mbedtls_ecp_group_id valid_group = MBEDTLS_ECP_DP_SECP256R1;
Dtest_suite_pk.function1223 mbedtls_ecp_group_id grpid = parameter_arg;
1313 (mbedtls_ecp_group_id) parameter_arg), 0);

12