Home
last modified time | relevance | path

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

12

/third_party/mbedtls/include/mbedtls/
Decp.h129 } mbedtls_ecp_group_id; typedef
155 mbedtls_ecp_group_id grp_id; /*!< An internal identifier. */
229 mbedtls_ecp_group_id id; /*!< An internal group identifier. */
542 const mbedtls_ecp_group_id *mbedtls_ecp_grp_id_list( void );
553 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_grp_id( mbedtls_ecp_group_id grp_id );
847 int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id );
887 int mbedtls_ecp_tls_read_group_id( mbedtls_ecp_group_id *grp,
1213 int mbedtls_ecp_gen_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key,
1235 int mbedtls_ecp_read_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key,
Decdh.h139 mbedtls_ecp_group_id MBEDTLS_PRIVATE(grp_id);/*!< The elliptic curve used. */
168 int mbedtls_ecdh_can_do( mbedtls_ecp_group_id gid );
259 mbedtls_ecp_group_id grp_id );
Decdsa.h131 int mbedtls_ecdsa_can_do( mbedtls_ecp_group_id gid );
445 int mbedtls_ecdsa_genkey( mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid,
Doid.h507 int mbedtls_oid_get_ec_grp( const mbedtls_asn1_buf *oid, mbedtls_ecp_group_id *grp_id );
518 int mbedtls_oid_get_oid_by_ec_grp( mbedtls_ecp_group_id grp_id,
Decjpake.h126 mbedtls_ecp_group_id curve,
Dssl.h1370 const mbedtls_ecp_group_id *MBEDTLS_PRIVATE(curve_list); /*!< allowed curves */
3225 const mbedtls_ecp_group_id *curves );
/third_party/mbedtls/library/
Decdh.c49 static mbedtls_ecp_group_id mbedtls_ecdh_grp_id( in mbedtls_ecdh_grp_id()
59 int mbedtls_ecdh_can_do( mbedtls_ecp_group_id gid ) in mbedtls_ecdh_can_do()
197 mbedtls_ecp_group_id grp_id ) in ecdh_setup_internal()
213 int mbedtls_ecdh_setup( mbedtls_ecdh_context *ctx, mbedtls_ecp_group_id grp_id ) in mbedtls_ecdh_setup()
415 mbedtls_ecp_group_id grp_id; in mbedtls_ecdh_read_params()
795 mbedtls_ecp_group_id grp_id ) in mbedtls_ecdh_setup_no_everest()
Decdh_misc.h36 mbedtls_ecp_group_id grp_id );
Doid.c478 mbedtls_ecp_group_id grp_id;
556 FN_OID_GET_ATTR1(mbedtls_oid_get_ec_grp, oid_ecp_grp_t, grp_id, mbedtls_ecp_group_id, grp_id)
557 …D_BY_ATTR1(mbedtls_oid_get_oid_by_ec_grp, oid_ecp_grp_t, oid_ecp_grp, mbedtls_ecp_group_id, grp_id)
Dpsa_crypto_ecp.c53 mbedtls_ecp_group_id grp_id = MBEDTLS_ECP_DP_NONE; in mbedtls_psa_ecp_load_representation()
295 mbedtls_ecp_group_id grp_id = in mbedtls_psa_ecp_generate_key()
Dpkparse.c385 static int pk_group_id_from_group( const mbedtls_ecp_group *grp, mbedtls_ecp_group_id *grp_id ) in pk_group_id_from_group()
389 const mbedtls_ecp_group_id *id; in pk_group_id_from_group()
430 mbedtls_ecp_group_id *grp_id ) in pk_group_id_from_specified()
460 mbedtls_ecp_group_id grp_id; in pk_use_ecparams()
Decp.c404 static mbedtls_ecp_group_id ecp_supported_grp_id[ECP_NB_CURVES];
417 const mbedtls_ecp_group_id *mbedtls_ecp_grp_id_list( void ) in mbedtls_ecp_grp_id_list()
443 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()
935 mbedtls_ecp_group_id grp_id; in mbedtls_ecp_tls_read_group()
950 int mbedtls_ecp_tls_read_group_id( mbedtls_ecp_group_id *grp, in mbedtls_ecp_tls_read_group_id()
2783 const mbedtls_ecp_group_id grp_id ) in ecp_check_bad_points_mx()
3042 int mbedtls_ecp_gen_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_gen_key()
3060 int mbedtls_ecp_read_key( mbedtls_ecp_group_id grp_id, mbedtls_ecp_keypair *key, in mbedtls_ecp_read_key()
Decdsa.c386 int mbedtls_ecdsa_can_do( mbedtls_ecp_group_id gid ) in mbedtls_ecdsa_can_do()
830 int mbedtls_ecdsa_genkey( mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid, in mbedtls_ecdsa_genkey()
Dssl_misc.h1277 int mbedtls_ssl_check_curve( const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id );
Decjpake.c104 mbedtls_ecp_group_id curve, in mbedtls_ecjpake_setup()
Dssl_tls13_client.c479 mbedtls_ecp_group_id grp_id; in ssl_tls13_check_ecdh_params()
Dssl_tls.c3118 const mbedtls_ecp_group_id *curve_list = ssl->conf->curve_list; in ssl_handshake_init()
4018 const mbedtls_ecp_group_id *curve_list ) in mbedtls_ssl_conf_curves()
6821 int mbedtls_ssl_check_curve( const mbedtls_ssl_context *ssl, mbedtls_ecp_group_id grp_id ) in mbedtls_ssl_check_curve()
/third_party/mbedtls/tests/include/alt-dummy/
Decp_alt.h24 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_privkey.c55 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
Dfuzz_pubkey.c48 mbedtls_ecp_group_id grp_id = ecp->grp.id; in LLVMFuzzerTestOneInput()
/third_party/mbedtls/include/psa/
Dcrypto_extra.h593 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.c345 ret = mbedtls_ecp_gen_key( (mbedtls_ecp_group_id) opt.ec_curve, in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_ecjpake.function109 mbedtls_ecp_group_id valid_group = MBEDTLS_ECP_DP_SECP256R1;
Dtest_suite_pk.function952 mbedtls_ecp_group_id grpid = grpid_arg;

12