Home
last modified time | relevance | path

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

12

/third_party/mbedtls/include/mbedtls/
Decp.h424 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,
Decdsa.h80 typedef mbedtls_ecp_keypair mbedtls_ecdsa_context;
639 const mbedtls_ecp_keypair *key);
Dpk.h781 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()
Decdh.h343 const mbedtls_ecp_keypair *key,
/third_party/mbedtls/library/
Dpsa_crypto_ecp.c48 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 …]
Dpsa_crypto_ecp.h49 mbedtls_ecp_keypair **p_ecp);
58 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp);
101 mbedtls_ecp_keypair *ecp,
Dpkwrite.c106 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()
Dpk_wrap.c654 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()
Decp.c539 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()
Decdh.c422 const mbedtls_ecp_keypair *key, in ecdh_get_params_internal()
449 const mbedtls_ecp_keypair *key, in mbedtls_ecdh_get_params()
Dpkparse.c498 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/
Dtest_suite_ecdh.function5 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;
Dtest_suite_pkparse.function85 mbedtls_ecp_keypair *eckey;
110 mbedtls_ecp_keypair *eckey;
Dtest_suite_ecp.function968 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/
Dlws-genec.c59 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()
Dmbedtls-x509.c156 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/
Dkey_app.c225 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main()
275 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in main()
Dkey_app_writer.c340 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
386 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
Dgen_key.c368 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(key); in main()
/third_party/mbedtls/3rdparty/everest/include/everest/
Dx25519.h120 int mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key,
Deverest.h156 int mbedtls_everest_get_params( mbedtls_ecdh_context_everest *ctx, const mbedtls_ecp_keypair *key,
/third_party/mbedtls/programs/fuzz/
Dfuzz_pubkey.c45 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
Dfuzz_privkey.c68 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput()
/third_party/mbedtls/3rdparty/everest/library/
Deverest.c66 const mbedtls_ecp_keypair *key, in mbedtls_everest_get_params()
Dx25519.c104 int mbedtls_x25519_get_params( mbedtls_x25519_context *ctx, const mbedtls_ecp_keypair *key, in mbedtls_x25519_get_params()

12