crypto/heimdal/kdc/pkinit.c
437
EC_KEY *public = NULL;
crypto/heimdal/kdc/pkinit.c
58
EC_KEY *public_key;
crypto/heimdal/kdc/pkinit.c
59
EC_KEY *key;
crypto/heimdal/lib/hx509/crypto.c
346
EC_KEY *key = NULL;
crypto/heimdal/lib/hx509/crypto.c
75
EC_KEY *ecdsa;
crypto/heimdal/lib/hx509/crypto.c
956
EC_KEY **pkey = NULL;
crypto/heimdal/lib/hx509/crypto.c
961
EC_KEY *key;
crypto/heimdal/lib/krb5/pkinit.c
1550
EC_KEY *public = NULL;
crypto/heimdal/lib/krb5/pkinit.c
67
EC_KEY *eckey;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
262
static EC_KEY *
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
633
EC_KEY *eckey;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
766
EC_KEY *eckey; /* can be const when OpenSSL 1.0 dropped */
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
920
EC_KEY *params_eckey, *eckey = NULL;
crypto/openssh/kex.h
179
EC_KEY *ec_client_key; /* ECDH */
crypto/openssh/kexecdh.c
139
EC_KEY *key, const EC_GROUP *group, struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
46
kex_ecdh_dec_key_group(struct kex *, const struct sshbuf *, EC_KEY *key,
crypto/openssh/kexecdh.c
52
EC_KEY *client_key = NULL;
crypto/openssh/kexecdh.c
97
EC_KEY *server_key = NULL;
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
319
EC_KEY *ec = NULL;
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
94
EC_KEY *key = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
204
EC_KEY *ec = NULL;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
69
EC_KEY *eck;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
39
EC_KEY *eck;
crypto/openssh/ssh-ecdsa.c
199
const EC_KEY *ec_from;
crypto/openssh/ssh-ecdsa.c
200
EC_KEY *ec_to = NULL;
crypto/openssh/ssh-ecdsa.c
237
EC_KEY *ec = NULL;
crypto/openssh/ssh-ecdsa.c
289
EC_KEY *ec = NULL;
crypto/openssh/ssh-ecdsa.c
62
EC_KEY *ec = NULL;
crypto/openssh/ssh-pkcs11-client.c
108
helper_by_ec(const EC_KEY *ec)
crypto/openssh/ssh-pkcs11-client.c
331
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11-client.c
392
ecdsa_do_finish(EC_KEY *ec)
crypto/openssh/ssh-pkcs11-client.c
416
EC_KEY *ecdsa = NULL;
crypto/openssh/ssh-pkcs11-client.c
461
EC_KEY *ec_priv = NULL, *ec_cert = NULL;
crypto/openssh/ssh-pkcs11-client.c
532
int (*ec_init)(EC_KEY *key);
crypto/openssh/ssh-pkcs11-client.c
533
int (*ec_copy)(EC_KEY *dest, const EC_KEY *src);
crypto/openssh/ssh-pkcs11-client.c
534
int (*ec_set_group)(EC_KEY *key, const EC_GROUP *grp);
crypto/openssh/ssh-pkcs11-client.c
535
int (*ec_set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/openssh/ssh-pkcs11-client.c
536
int (*ec_set_public)(EC_KEY *key, const EC_POINT *pub_key);
crypto/openssh/ssh-pkcs11-client.c
538
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11-client.c
69
void (*ec_finish)(EC_KEY *key);
crypto/openssh/ssh-pkcs11-helper.c
199
EC_KEY *ecdsa = NULL;
crypto/openssh/ssh-pkcs11.c
516
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11.c
585
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11.c
603
CK_ATTRIBUTE *keyid_attrib, EC_KEY *ec)
crypto/openssh/ssh-pkcs11.c
715
EC_KEY *ec = NULL;
crypto/openssh/ssh-pkcs11.c
938
EC_KEY *ec = NULL;
crypto/openssh/ssh-sk.c
211
EC_KEY *ecdsa = NULL;
crypto/openssh/sshbuf-getput-crypto.c
174
sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v)
crypto/openssh/sshbuf-getput-crypto.c
183
const EC_KEY *ec;
crypto/openssh/sshbuf-getput-crypto.c
95
sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v)
crypto/openssh/sshbuf.h
224
int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
crypto/openssh/sshbuf.h
226
int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
crypto/openssh/sshkey.c
1485
sshkey_ecdsa_key_to_nid(const EC_KEY *k)
crypto/openssh/sshkey.c
2761
sshkey_ec_validate_private(const EC_KEY *key)
crypto/openssh/sshkey.c
2824
sshkey_dump_ec_key(const EC_KEY *key)
crypto/openssh/sshkey.c
3530
EC_KEY *ecdsa = NULL;
crypto/openssh/sshkey.h
265
int sshkey_ecdsa_key_to_nid(const EC_KEY *);
crypto/openssh/sshkey.h
269
int sshkey_ec_validate_private(const EC_KEY *);
crypto/openssh/sshkey.h
303
void sshkey_dump_ec_key(const EC_KEY *);
crypto/openssl/crypto/ec/ec_ameth.c
104
EC_KEY *eckey = NULL;
crypto/openssl/crypto/ec/ec_ameth.c
152
EC_KEY *eckey = ossl_ec_key_from_pkcs8(p8, libctx, propq);
crypto/openssl/crypto/ec/ec_ameth.c
164
EC_KEY ec_key = *(pkey->pkey.ec);
crypto/openssl/crypto/ec/ec_ameth.c
283
static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype)
crypto/openssl/crypto/ec/ec_ameth.c
29
static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key)
crypto/openssl/crypto/ec/ec_ameth.c
350
EC_KEY *eckey;
crypto/openssl/crypto/ec/ec_ameth.c
384
EC_KEY *ec;
crypto/openssl/crypto/ec/ec_ameth.c
426
EC_KEY *eckey = pkey->pkey.ec;
crypto/openssl/crypto/ec/ec_ameth.c
439
EC_KEY *eckey = pkey->pkey.ec;
crypto/openssl/crypto/ec/ec_ameth.c
455
EC_KEY *eckey = pkey->pkey.ec;
crypto/openssl/crypto/ec/ec_ameth.c
475
const EC_KEY *eckey = NULL;
crypto/openssl/crypto/ec/ec_ameth.c
612
EC_KEY *ec = EC_KEY_new_ex(pctx->libctx, pctx->propquery);
crypto/openssl/crypto/ec/ec_ameth.c
631
EC_KEY *eckey = from->pkey.ec;
crypto/openssl/crypto/ec/ec_ameth.c
632
EC_KEY *dupkey = NULL;
crypto/openssl/crypto/ec/ec_ameth.c
70
const EC_KEY *ec_key = pkey->pkey.ec;
crypto/openssl/crypto/ec/ec_ameth.c
709
int EC_KEY_print(BIO *bp, const EC_KEY *x, int off)
crypto/openssl/crypto/ec/ec_ameth.c
717
int ECParameters_print(BIO *bp, const EC_KEY *x)
crypto/openssl/crypto/ec/ec_asn1.c
1006
int i2d_ECPrivateKey(const EC_KEY *a, unsigned char **out)
crypto/openssl/crypto/ec/ec_asn1.c
1076
int i2d_ECParameters(const EC_KEY *a, unsigned char **out)
crypto/openssl/crypto/ec/ec_asn1.c
1085
EC_KEY *d2i_ECParameters(EC_KEY **a, const unsigned char **in, long len)
crypto/openssl/crypto/ec/ec_asn1.c
1087
EC_KEY *ret;
crypto/openssl/crypto/ec/ec_asn1.c
1121
EC_KEY *o2i_ECPublicKey(EC_KEY **a, const unsigned char **in, long len)
crypto/openssl/crypto/ec/ec_asn1.c
1123
EC_KEY *ret = NULL;
crypto/openssl/crypto/ec/ec_asn1.c
1142
int i2o_ECPublicKey(const EC_KEY *a, unsigned char **out)
crypto/openssl/crypto/ec/ec_asn1.c
1297
int ECDSA_size(const EC_KEY *ec)
crypto/openssl/crypto/ec/ec_asn1.c
921
EC_KEY *d2i_ECPrivateKey(EC_KEY **a, const unsigned char **in, long len)
crypto/openssl/crypto/ec/ec_asn1.c
923
EC_KEY *ret = NULL;
crypto/openssl/crypto/ec/ec_backend.c
101
int ossl_ec_set_check_group_type_from_name(EC_KEY *ec, const char *name)
crypto/openssl/crypto/ec/ec_backend.c
112
static int ec_set_check_group_type_from_param(EC_KEY *ec, const OSSL_PARAM *p)
crypto/openssl/crypto/ec/ec_backend.c
359
int ossl_ec_set_ecdh_cofactor_mode(EC_KEY *ec, int mode)
crypto/openssl/crypto/ec/ec_backend.c
396
int ossl_ec_key_fromdata(EC_KEY *ec, const OSSL_PARAM params[], int include_private)
crypto/openssl/crypto/ec/ec_backend.c
497
int ossl_ec_group_fromdata(EC_KEY *ec, const OSSL_PARAM params[])
crypto/openssl/crypto/ec/ec_backend.c
516
static int ec_key_point_format_fromdata(EC_KEY *ec, const OSSL_PARAM params[])
crypto/openssl/crypto/ec/ec_backend.c
532
static int ec_key_group_check_fromdata(EC_KEY *ec, const OSSL_PARAM params[])
crypto/openssl/crypto/ec/ec_backend.c
542
static int ec_set_include_public(EC_KEY *ec, int include)
crypto/openssl/crypto/ec/ec_backend.c
554
int ossl_ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[])
crypto/openssl/crypto/ec/ec_backend.c
585
int ossl_ec_key_is_foreign(const EC_KEY *ec)
crypto/openssl/crypto/ec/ec_backend.c
594
EC_KEY *ossl_ec_key_dup(const EC_KEY *src, int selection)
crypto/openssl/crypto/ec/ec_backend.c
596
EC_KEY *ret;
crypto/openssl/crypto/ec/ec_backend.c
759
EC_KEY *ossl_ec_key_param_from_x509_algor(const X509_ALGOR *palg,
crypto/openssl/crypto/ec/ec_backend.c
764
EC_KEY *eckey = NULL;
crypto/openssl/crypto/ec/ec_backend.c
809
EC_KEY *ossl_ec_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf,
crypto/openssl/crypto/ec/ec_backend.c
814
EC_KEY *eckey = NULL;
crypto/openssl/crypto/ec/ec_key.c
1003
size_t ossl_ec_key_simple_priv2oct(const EC_KEY *eckey,
crypto/openssl/crypto/ec/ec_key.c
1026
int EC_KEY_oct2priv(EC_KEY *eckey, const unsigned char *buf, size_t len)
crypto/openssl/crypto/ec/ec_key.c
103
OPENSSL_clear_free((void *)r, sizeof(EC_KEY));
crypto/openssl/crypto/ec/ec_key.c
1042
int ossl_ec_key_simple_oct2priv(EC_KEY *eckey, const unsigned char *buf,
crypto/openssl/crypto/ec/ec_key.c
1059
size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf)
crypto/openssl/crypto/ec/ec_key.c
106
EC_KEY *EC_KEY_copy(EC_KEY *dest, const EC_KEY *src)
crypto/openssl/crypto/ec/ec_key.c
1078
int EC_KEY_can_sign(const EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
1095
static int ecdsa_keygen_pairwise_test(EC_KEY *eckey, OSSL_CALLBACK *cb,
crypto/openssl/crypto/ec/ec_key.c
187
EC_KEY *EC_KEY_dup(const EC_KEY *ec_key)
crypto/openssl/crypto/ec/ec_key.c
192
int EC_KEY_up_ref(EC_KEY *r)
crypto/openssl/crypto/ec/ec_key.c
204
ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
209
int EC_KEY_generate_key(EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
228
int ossl_ec_key_gen(EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
252
static int ecdsa_keygen_knownanswer_test(EC_KEY *eckey, BN_CTX *ctx,
crypto/openssl/crypto/ec/ec_key.c
30
static int ecdsa_keygen_pairwise_test(EC_KEY *eckey, OSSL_CALLBACK *cb,
crypto/openssl/crypto/ec/ec_key.c
301
static int ec_generate_key(EC_KEY *eckey, int pairwise_test)
crypto/openssl/crypto/ec/ec_key.c
34
EC_KEY *EC_KEY_new(void)
crypto/openssl/crypto/ec/ec_key.c
40
EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq)
crypto/openssl/crypto/ec/ec_key.c
409
int ossl_ec_generate_key_dhkem(EC_KEY *eckey,
crypto/openssl/crypto/ec/ec_key.c
441
int ossl_ec_key_simple_generate_key(EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
446
int ossl_ec_key_simple_generate_public_key(EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
45
EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq,
crypto/openssl/crypto/ec/ec_key.c
468
int EC_KEY_check_key(const EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
48
EC_KEY *ret = EC_KEY_new_ex(ctx, propq);
crypto/openssl/crypto/ec/ec_key.c
492
static int ec_key_public_range_check(BN_CTX *ctx, const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
529
int ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_key.c
560
int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_key.c
604
int ossl_ec_key_private_check(const EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
623
int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_key.c
65
EC_KEY *EC_KEY_new_by_curve_name(int nid)
crypto/openssl/crypto/ec/ec_key.c
664
int ossl_ec_key_simple_check_key(const EC_KEY *eckey)
crypto/openssl/crypto/ec/ec_key.c
690
int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x,
crypto/openssl/crypto/ec/ec_key.c
71
void EC_KEY_free(EC_KEY *r)
crypto/openssl/crypto/ec/ec_key.c
747
OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
752
const char *ossl_ec_key_get0_propq(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
757
void ossl_ec_key_set0_libctx(EC_KEY *key, OSSL_LIB_CTX *libctx)
crypto/openssl/crypto/ec/ec_key.c
763
const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
768
int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group)
crypto/openssl/crypto/ec/ec_key.c
781
const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
786
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key)
crypto/openssl/crypto/ec/ec_key.c
881
const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
886
int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key)
crypto/openssl/crypto/ec/ec_key.c
897
unsigned int EC_KEY_get_enc_flags(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
902
void EC_KEY_set_enc_flags(EC_KEY *key, unsigned int flags)
crypto/openssl/crypto/ec/ec_key.c
907
point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
912
void EC_KEY_set_conv_form(EC_KEY *key, point_conversion_form_t cform)
crypto/openssl/crypto/ec/ec_key.c
919
void EC_KEY_set_asn1_flag(EC_KEY *key, int flag)
crypto/openssl/crypto/ec/ec_key.c
926
int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_key.c
934
int EC_KEY_get_flags(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
939
void EC_KEY_set_flags(EC_KEY *key, int flags)
crypto/openssl/crypto/ec/ec_key.c
945
void EC_KEY_clear_flags(EC_KEY *key, int flags)
crypto/openssl/crypto/ec/ec_key.c
951
int EC_KEY_decoded_from_explicit_params(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
958
size_t EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form,
crypto/openssl/crypto/ec/ec_key.c
966
int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len,
crypto/openssl/crypto/ec/ec_key.c
990
size_t EC_KEY_priv2oct(const EC_KEY *eckey,
crypto/openssl/crypto/ec/ec_kmeth.c
142
EC_KEY *EC_KEY_new_method(ENGINE *engine)
crypto/openssl/crypto/ec/ec_kmeth.c
149
const EC_KEY *eckey,
crypto/openssl/crypto/ec/ec_kmeth.c
195
int (*init)(EC_KEY *key),
crypto/openssl/crypto/ec/ec_kmeth.c
196
void (*finish)(EC_KEY *key),
crypto/openssl/crypto/ec/ec_kmeth.c
197
int (*copy)(EC_KEY *dest, const EC_KEY *src),
crypto/openssl/crypto/ec/ec_kmeth.c
198
int (*set_group)(EC_KEY *key, const EC_GROUP *grp),
crypto/openssl/crypto/ec/ec_kmeth.c
199
int (*set_private)(EC_KEY *key,
crypto/openssl/crypto/ec/ec_kmeth.c
201
int (*set_public)(EC_KEY *key,
crypto/openssl/crypto/ec/ec_kmeth.c
213
int (*keygen)(EC_KEY *key))
crypto/openssl/crypto/ec/ec_kmeth.c
222
const EC_KEY *ecdh))
crypto/openssl/crypto/ec/ec_kmeth.c
232
EC_KEY *eckey),
crypto/openssl/crypto/ec/ec_kmeth.c
233
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/crypto/ec/ec_kmeth.c
239
EC_KEY *eckey))
crypto/openssl/crypto/ec/ec_kmeth.c
249
int sig_len, EC_KEY *eckey),
crypto/openssl/crypto/ec/ec_kmeth.c
253
EC_KEY *eckey))
crypto/openssl/crypto/ec/ec_kmeth.c
260
int (**pinit)(EC_KEY *key),
crypto/openssl/crypto/ec/ec_kmeth.c
261
void (**pfinish)(EC_KEY *key),
crypto/openssl/crypto/ec/ec_kmeth.c
262
int (**pcopy)(EC_KEY *dest, const EC_KEY *src),
crypto/openssl/crypto/ec/ec_kmeth.c
263
int (**pset_group)(EC_KEY *key,
crypto/openssl/crypto/ec/ec_kmeth.c
265
int (**pset_private)(EC_KEY *key,
crypto/openssl/crypto/ec/ec_kmeth.c
267
int (**pset_public)(EC_KEY *key,
crypto/openssl/crypto/ec/ec_kmeth.c
285
int (**pkeygen)(EC_KEY *key))
crypto/openssl/crypto/ec/ec_kmeth.c
295
const EC_KEY *ecdh))
crypto/openssl/crypto/ec/ec_kmeth.c
306
EC_KEY *eckey),
crypto/openssl/crypto/ec/ec_kmeth.c
307
int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/crypto/ec/ec_kmeth.c
313
EC_KEY *eckey))
crypto/openssl/crypto/ec/ec_kmeth.c
326
int sig_len, EC_KEY *eckey),
crypto/openssl/crypto/ec/ec_kmeth.c
330
EC_KEY *eckey))
crypto/openssl/crypto/ec/ec_kmeth.c
57
const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_kmeth.c
62
int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth)
crypto/openssl/crypto/ec/ec_kmeth.c
64
void (*finish)(EC_KEY *key) = key->meth->finish;
crypto/openssl/crypto/ec/ec_kmeth.c
80
EC_KEY *ossl_ec_key_new_method_int(OSSL_LIB_CTX *libctx, const char *propq,
crypto/openssl/crypto/ec/ec_kmeth.c
83
EC_KEY *ret = OPENSSL_zalloc(sizeof(*ret));
crypto/openssl/crypto/ec/ec_lib.c
1218
int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg)
crypto/openssl/crypto/ec/ec_lib.c
1223
void *EC_KEY_get_ex_data(const EC_KEY *key, int idx)
crypto/openssl/crypto/ec/ec_local.h
167
size_t (*priv2oct)(const EC_KEY *eckey, unsigned char *buf, size_t len);
crypto/openssl/crypto/ec/ec_local.h
168
int (*oct2priv)(EC_KEY *eckey, const unsigned char *buf, size_t len);
crypto/openssl/crypto/ec/ec_local.h
169
int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
crypto/openssl/crypto/ec/ec_local.h
170
int (*keygen)(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
171
int (*keycheck)(const EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
172
int (*keygenpub)(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
173
int (*keycopy)(EC_KEY *dst, const EC_KEY *src);
crypto/openssl/crypto/ec/ec_local.h
174
void (*keyfinish)(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
177
const EC_POINT *pub_key, const EC_KEY *ecdh);
crypto/openssl/crypto/ec/ec_local.h
179
int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
183
EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
185
const ECDSA_SIG *sig, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
647
size_t ossl_ec_key_simple_priv2oct(const EC_KEY *eckey,
crypto/openssl/crypto/ec/ec_local.h
649
int ossl_ec_key_simple_oct2priv(EC_KEY *eckey, const unsigned char *buf,
crypto/openssl/crypto/ec/ec_local.h
651
int ossl_ec_key_simple_generate_key(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
652
int ossl_ec_key_simple_generate_public_key(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
653
int ossl_ec_key_simple_check_key(const EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
667
int (*init)(EC_KEY *key);
crypto/openssl/crypto/ec/ec_local.h
668
void (*finish)(EC_KEY *key);
crypto/openssl/crypto/ec/ec_local.h
669
int (*copy)(EC_KEY *dest, const EC_KEY *src);
crypto/openssl/crypto/ec/ec_local.h
670
int (*set_group)(EC_KEY *key, const EC_GROUP *grp);
crypto/openssl/crypto/ec/ec_local.h
671
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/openssl/crypto/ec/ec_local.h
672
int (*set_public)(EC_KEY *key, const EC_POINT *pub_key);
crypto/openssl/crypto/ec/ec_local.h
673
int (*keygen)(EC_KEY *key);
crypto/openssl/crypto/ec/ec_local.h
675
const EC_POINT *pub_key, const EC_KEY *ecdh);
crypto/openssl/crypto/ec/ec_local.h
677
const BIGNUM *r, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
678
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
682
EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
685
const unsigned char *sigbuf, int sig_len, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
687
const ECDSA_SIG *sig, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
692
EC_KEY *ossl_ec_key_new_method_int(OSSL_LIB_CTX *libctx, const char *propq,
crypto/openssl/crypto/ec/ec_local.h
695
int ossl_ec_key_gen(EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
697
const EC_POINT *pub_key, const EC_KEY *ecdh);
crypto/openssl/crypto/ec/ec_local.h
699
const EC_POINT *pub_key, const EC_KEY *ecdh);
crypto/openssl/crypto/ec/ec_local.h
706
int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
710
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
713
EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
715
const unsigned char *sigbuf, int sig_len, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
717
const ECDSA_SIG *sig, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
718
int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
722
EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
724
const ECDSA_SIG *sig, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_pmeth.c
115
EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey);
crypto/openssl/crypto/ec/ec_pmeth.c
153
EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey);
crypto/openssl/crypto/ec/ec_pmeth.c
171
EC_KEY *eckey;
crypto/openssl/crypto/ec/ec_pmeth.c
172
const EC_KEY *eckeypub;
crypto/openssl/crypto/ec/ec_pmeth.c
186
: (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey);
crypto/openssl/crypto/ec/ec_pmeth.c
276
const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(ctx->pkey);
crypto/openssl/crypto/ec/ec_pmeth.c
283
EC_KEY *ec_key = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey);
crypto/openssl/crypto/ec/ec_pmeth.c
33
EC_KEY *co_key;
crypto/openssl/crypto/ec/ec_pmeth.c
419
EC_KEY *ec = NULL;
crypto/openssl/crypto/ec/ec_pmeth.c
438
EC_KEY *ec = NULL;
crypto/openssl/crypto/ec/ecdh_ossl.c
29
const EC_POINT *pub_key, const EC_KEY *ecdh)
crypto/openssl/crypto/ec/ecdh_ossl.c
50
const EC_POINT *pub_key, const EC_KEY *ecdh)
crypto/openssl/crypto/ec/ecdsa_ossl.c
132
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/crypto/ec/ecdsa_ossl.c
263
int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
272
EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
33
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/crypto/ec/ecdsa_ossl.c
39
int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
420
const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
445
const ECDSA_SIG *sig, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
52
EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
64
const ECDSA_SIG *sig, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
76
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_ossl.c
97
EC_KEY *eckey, unsigned int nonce_type,
crypto/openssl/crypto/ec/ecdsa_sign.c
20
ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
27
EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
35
int ECDSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
42
const BIGNUM *r, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
50
int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_vrf.c
27
const ECDSA_SIG *sig, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_vrf.c
42
const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
crypto/openssl/crypto/ec/eck_prn.c
36
int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off)
crypto/openssl/crypto/ec/eck_prn.c
51
int ECParameters_print_fp(FILE *fp, const EC_KEY *x)
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
134
EC_KEY *eckey,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
231
const ECDSA_SIG *sig, EC_KEY *eckey,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
325
EC_KEY *eckey) \
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
335
EC_KEY *eckey) \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1581
const EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey);
crypto/openssl/crypto/evp/ctrl_params_translate.c
1631
const EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey);
crypto/openssl/crypto/evp/ctrl_params_translate.c
1663
const EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey);
crypto/openssl/crypto/evp/p_legacy.c
65
int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key)
crypto/openssl/crypto/evp/p_legacy.c
76
EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey)
crypto/openssl/crypto/evp/p_legacy.c
85
const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey)
crypto/openssl/crypto/evp/p_legacy.c
90
EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey)
crypto/openssl/crypto/evp/p_legacy.c
92
EC_KEY *ret = evp_pkey_get0_EC_KEY_int(pkey);
crypto/openssl/crypto/evp/p_lib.c
2483
const EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey);
crypto/openssl/crypto/evp/p_lib.c
2523
const EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey);
crypto/openssl/crypto/pem/pem_all.c
134
static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey)
crypto/openssl/crypto/pem/pem_all.c
136
EC_KEY *dtmp;
crypto/openssl/crypto/pem/pem_all.c
150
EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb,
crypto/openssl/crypto/pem/pem_all.c
161
IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY,
crypto/openssl/crypto/pem/pem_all.c
163
IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY)
crypto/openssl/crypto/pem/pem_all.c
165
EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb,
crypto/openssl/crypto/pem/pem_all.c
34
static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
crypto/openssl/crypto/sm2/sm2_crypt.c
107
int ossl_sm2_encrypt(const EC_KEY *key,
crypto/openssl/crypto/sm2/sm2_crypt.c
275
int ossl_sm2_decrypt(const EC_KEY *key,
crypto/openssl/crypto/sm2/sm2_crypt.c
87
int ossl_sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest,
crypto/openssl/crypto/sm2/sm2_key.c
22
int ossl_sm2_key_private_check(const EC_KEY *eckey)
crypto/openssl/crypto/sm2/sm2_sign.c
150
const EC_KEY *key,
crypto/openssl/crypto/sm2/sm2_sign.c
207
static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e)
crypto/openssl/crypto/sm2/sm2_sign.c
27
const EC_KEY *key)
crypto/openssl/crypto/sm2/sm2_sign.c
330
static int sm2_sig_verify(const EC_KEY *key, const ECDSA_SIG *sig,
crypto/openssl/crypto/sm2/sm2_sign.c
414
ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
crypto/openssl/crypto/sm2/sm2_sign.c
436
int ossl_sm2_do_verify(const EC_KEY *key,
crypto/openssl/crypto/sm2/sm2_sign.c
461
EC_KEY *eckey)
crypto/openssl/crypto/sm2/sm2_sign.c
502
EC_KEY *eckey)
crypto/openssl/crypto/x509/x_all.c
447
EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
crypto/openssl/crypto/x509/x_all.c
449
return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_EC_PUBKEY, fp, eckey);
crypto/openssl/crypto/x509/x_all.c
452
int i2d_EC_PUBKEY_fp(FILE *fp, const EC_KEY *eckey)
crypto/openssl/crypto/x509/x_all.c
454
return ASN1_i2d_fp_of(EC_KEY, i2d_EC_PUBKEY, fp, eckey);
crypto/openssl/crypto/x509/x_all.c
457
EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
crypto/openssl/crypto/x509/x_all.c
459
return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_ECPrivateKey, fp, eckey);
crypto/openssl/crypto/x509/x_all.c
462
int i2d_ECPrivateKey_fp(FILE *fp, const EC_KEY *eckey)
crypto/openssl/crypto/x509/x_all.c
464
return ASN1_i2d_fp_of(EC_KEY, i2d_ECPrivateKey, fp, eckey);
crypto/openssl/crypto/x509/x_all.c
467
EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey)
crypto/openssl/crypto/x509/x_all.c
469
return ASN1_d2i_bio_of(EC_KEY, EC_KEY_new, d2i_EC_PUBKEY, bp, eckey);
crypto/openssl/crypto/x509/x_all.c
472
int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *ecdsa)
crypto/openssl/crypto/x509/x_all.c
474
return ASN1_i2d_bio_of(EC_KEY, i2d_EC_PUBKEY, bp, ecdsa);
crypto/openssl/crypto/x509/x_all.c
477
EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey)
crypto/openssl/crypto/x509/x_all.c
479
return ASN1_d2i_bio_of(EC_KEY, EC_KEY_new, d2i_ECPrivateKey, bp, eckey);
crypto/openssl/crypto/x509/x_all.c
482
int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey)
crypto/openssl/crypto/x509/x_all.c
484
return ASN1_i2d_bio_of(EC_KEY, i2d_ECPrivateKey, bp, eckey);
crypto/openssl/crypto/x509/x_pubkey.c
796
EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length)
crypto/openssl/crypto/x509/x_pubkey.c
799
EC_KEY *key = NULL;
crypto/openssl/crypto/x509/x_pubkey.c
821
int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp)
crypto/openssl/crypto/x509/x_pubkey.c
832
(void)EVP_PKEY_assign_EC_KEY(pktmp, (EC_KEY *)a);
crypto/openssl/fuzz/asn1.c
364
DO_TEST_PRINT_OFFSET(EC_KEY, d2i_ECPrivateKey, i2d_ECPrivateKey, EC_KEY_print);
crypto/openssl/fuzz/asn1.c
365
DO_TEST(EC_KEY, d2i_ECParameters, i2d_ECParameters, ECParameters_print);
crypto/openssl/fuzz/dtlsserver.c
3446
EC_KEY *ecdsakey = NULL;
crypto/openssl/fuzz/server.c
2334
EC_KEY *ecdsakey = NULL;
crypto/openssl/include/crypto/ec.h
102
EC_KEY *eckey, unsigned int nonce_type,
crypto/openssl/include/crypto/ec.h
62
int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx);
crypto/openssl/include/crypto/ec.h
63
int ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx);
crypto/openssl/include/crypto/ec.h
64
int ossl_ec_key_private_check(const EC_KEY *eckey);
crypto/openssl/include/crypto/ec.h
65
int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx);
crypto/openssl/include/crypto/ec.h
66
OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *eckey);
crypto/openssl/include/crypto/ec.h
67
const char *ossl_ec_key_get0_propq(const EC_KEY *eckey);
crypto/openssl/include/crypto/ec.h
68
void ossl_ec_key_set0_libctx(EC_KEY *key, OSSL_LIB_CTX *libctx);
crypto/openssl/include/crypto/ec.h
75
int ossl_ec_group_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
crypto/openssl/include/crypto/ec.h
77
int ossl_ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[],
crypto/openssl/include/crypto/ec.h
79
int ossl_ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
crypto/openssl/include/crypto/ec.h
80
int ossl_ec_key_is_foreign(const EC_KEY *ec);
crypto/openssl/include/crypto/ec.h
81
EC_KEY *ossl_ec_key_dup(const EC_KEY *key, int selection);
crypto/openssl/include/crypto/ec.h
83
EC_KEY *ossl_ec_key_param_from_x509_algor(const X509_ALGOR *palg,
crypto/openssl/include/crypto/ec.h
86
EC_KEY *ossl_ec_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf,
crypto/openssl/include/crypto/ec.h
89
int ossl_ec_set_ecdh_cofactor_mode(EC_KEY *ec, int mode);
crypto/openssl/include/crypto/ec.h
97
int ossl_ec_set_check_group_type_from_name(EC_KEY *ec, const char *name);
crypto/openssl/include/crypto/ec.h
98
int ossl_ec_generate_key_dhkem(EC_KEY *eckey,
crypto/openssl/include/crypto/evp.h
968
EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey);
crypto/openssl/include/crypto/sm2.h
23
int ossl_sm2_key_private_check(const EC_KEY *eckey);
crypto/openssl/include/crypto/sm2.h
32
const EC_KEY *key);
crypto/openssl/include/crypto/sm2.h
37
ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
crypto/openssl/include/crypto/sm2.h
43
int ossl_sm2_do_verify(const EC_KEY *key,
crypto/openssl/include/crypto/sm2.h
55
EC_KEY *eckey);
crypto/openssl/include/crypto/sm2.h
62
EC_KEY *eckey);
crypto/openssl/include/crypto/sm2.h
67
int ossl_sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest,
crypto/openssl/include/crypto/sm2.h
73
int ossl_sm2_encrypt(const EC_KEY *key,
crypto/openssl/include/crypto/sm2.h
78
int ossl_sm2_decrypt(const EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1009
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
crypto/openssl/include/openssl/ec.h
1014
OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1021
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
crypto/openssl/include/openssl/ec.h
1027
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
crypto/openssl/include/openssl/ec.h
1033
OSSL_DEPRECATEDIN_3_0 int EC_KEY_up_ref(EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1039
OSSL_DEPRECATEDIN_3_0 ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1045
OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1053
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
crypto/openssl/include/openssl/ec.h
1059
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1067
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
crypto/openssl/include/openssl/ec.h
1073
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1081
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
crypto/openssl/include/openssl/ec.h
1083
OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1084
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags);
crypto/openssl/include/openssl/ec.h
1085
OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1086
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey,
crypto/openssl/include/openssl/ec.h
1094
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
crypto/openssl/include/openssl/ec.h
1095
OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
crypto/openssl/include/openssl/ec.h
1098
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
crypto/openssl/include/openssl/ec.h
1106
OSSL_DEPRECATEDIN_3_0 int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
1112
OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1118
OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1124
OSSL_DEPRECATEDIN_3_0 int EC_KEY_can_sign(const EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1133
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1144
OSSL_DEPRECATEDIN_3_0 size_t EC_KEY_key2buf(const EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1156
OSSL_DEPRECATEDIN_3_0 int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf,
crypto/openssl/include/openssl/ec.h
1166
OSSL_DEPRECATEDIN_3_0 int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf,
crypto/openssl/include/openssl/ec.h
1177
OSSL_DEPRECATEDIN_3_0 size_t EC_KEY_priv2oct(const EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1185
OSSL_DEPRECATEDIN_3_0 size_t EC_KEY_priv2buf(const EC_KEY *eckey,
crypto/openssl/include/openssl/ec.h
1198
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key,
crypto/openssl/include/openssl/ec.h
1208
OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1222
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key,
crypto/openssl/include/openssl/ec.h
1232
OSSL_DEPRECATEDIN_3_0 int i2d_ECParameters(const EC_KEY *key,
crypto/openssl/include/openssl/ec.h
1247
OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key,
crypto/openssl/include/openssl/ec.h
1256
OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
crypto/openssl/include/openssl/ec.h
1263
OSSL_DEPRECATEDIN_3_0 int ECParameters_print(BIO *bp, const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1271
OSSL_DEPRECATEDIN_3_0 int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
crypto/openssl/include/openssl/ec.h
1279
OSSL_DEPRECATEDIN_3_0 int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1287
OSSL_DEPRECATEDIN_3_0 int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
crypto/openssl/include/openssl/ec.h
1293
OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1294
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
crypto/openssl/include/openssl/ec.h
1295
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_method(ENGINE *engine);
crypto/openssl/include/openssl/ec.h
1309
const EC_KEY *ecdh,
crypto/openssl/include/openssl/ec.h
1377
int dgst_len, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1391
const BIGNUM *rp, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1403
const ECDSA_SIG *sig, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1412
OSSL_DEPRECATEDIN_3_0 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx,
crypto/openssl/include/openssl/ec.h
1427
unsigned int *siglen, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1445
const BIGNUM *rp, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1460
int siglen, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1466
OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1475
int (*init)(EC_KEY *key),
crypto/openssl/include/openssl/ec.h
1476
void (*finish)(EC_KEY *key),
crypto/openssl/include/openssl/ec.h
1477
int (*copy)(EC_KEY *dest, const EC_KEY *src),
crypto/openssl/include/openssl/ec.h
1478
int (*set_group)(EC_KEY *key, const EC_GROUP *grp),
crypto/openssl/include/openssl/ec.h
1479
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/openssl/include/openssl/ec.h
1480
int (*set_public)(EC_KEY *key, const EC_POINT *pub_key));
crypto/openssl/include/openssl/ec.h
1483
int (*keygen)(EC_KEY *key));
crypto/openssl/include/openssl/ec.h
1487
const EC_POINT *pub_key, const EC_KEY *ecdh));
crypto/openssl/include/openssl/ec.h
1494
EC_KEY *eckey),
crypto/openssl/include/openssl/ec.h
1495
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/include/openssl/ec.h
1501
EC_KEY *eckey));
crypto/openssl/include/openssl/ec.h
1506
int sig_len, EC_KEY *eckey),
crypto/openssl/include/openssl/ec.h
1509
EC_KEY *eckey));
crypto/openssl/include/openssl/ec.h
1512
int (**pinit)(EC_KEY *key),
crypto/openssl/include/openssl/ec.h
1513
void (**pfinish)(EC_KEY *key),
crypto/openssl/include/openssl/ec.h
1514
int (**pcopy)(EC_KEY *dest, const EC_KEY *src),
crypto/openssl/include/openssl/ec.h
1515
int (**pset_group)(EC_KEY *key, const EC_GROUP *grp),
crypto/openssl/include/openssl/ec.h
1516
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/openssl/include/openssl/ec.h
1517
int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key));
crypto/openssl/include/openssl/ec.h
1519
OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_keygen(const EC_KEY_METHOD *meth, int (**pkeygen)(EC_KEY *key));
crypto/openssl/include/openssl/ec.h
1525
const EC_KEY *ecdh));
crypto/openssl/include/openssl/ec.h
1532
EC_KEY *eckey),
crypto/openssl/include/openssl/ec.h
1533
int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
crypto/openssl/include/openssl/ec.h
1539
EC_KEY *eckey));
crypto/openssl/include/openssl/ec.h
1544
int sig_len, EC_KEY *eckey),
crypto/openssl/include/openssl/ec.h
1548
EC_KEY *eckey));
crypto/openssl/include/openssl/ec.h
1554
#define ECParameters_dup(x) ASN1_dup_of(EC_KEY, i2d_ECParameters, \
crypto/openssl/include/openssl/ec.h
972
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
crypto/openssl/include/openssl/ec.h
979
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
crypto/openssl/include/openssl/ec.h
981
OSSL_DEPRECATEDIN_3_0 int EC_KEY_get_flags(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
983
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_flags(EC_KEY *key, int flags);
crypto/openssl/include/openssl/ec.h
985
OSSL_DEPRECATEDIN_3_0 void EC_KEY_clear_flags(EC_KEY *key, int flags);
crypto/openssl/include/openssl/ec.h
987
OSSL_DEPRECATEDIN_3_0 int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
998
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx,
crypto/openssl/include/openssl/pem.h
472
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
crypto/openssl/include/openssl/pem.h
473
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
crypto/openssl/include/openssl/x509.h
600
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey);
crypto/openssl/include/openssl/x509.h
601
OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_fp(FILE *fp, const EC_KEY *eckey);
crypto/openssl/include/openssl/x509.h
602
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey);
crypto/openssl/include/openssl/x509.h
603
OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_fp(FILE *fp, const EC_KEY *eckey);
crypto/openssl/include/openssl/x509.h
649
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey);
crypto/openssl/include/openssl/x509.h
650
OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey);
crypto/openssl/include/openssl/x509.h
651
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey);
crypto/openssl/include/openssl/x509.h
652
OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey);
crypto/openssl/include/openssl/x509.h
736
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, EC_KEY, EC_PUBKEY)
crypto/openssl/providers/common/der/der_ec_key.c
14
int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec)
crypto/openssl/providers/common/der/der_ec_sig.c
28
EC_KEY *ec, int mdnid)
crypto/openssl/providers/common/der/der_sm2_key.c
15
int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec)
crypto/openssl/providers/common/der/der_sm2_sig.c
24
EC_KEY *ec, int mdnid)
crypto/openssl/providers/common/include/prov/der_ec.h
285
int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
crypto/openssl/providers/common/include/prov/der_ec.h
288
EC_KEY *ec, int mdnid);
crypto/openssl/providers/implementations/asymciphers/sm2_enc.c
45
EC_KEY *key;
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
731
EC_KEY *eckey = (EC_KEY *)veckey;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
315
const EC_KEY *ec = key;
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
129
static int ecdh_match_params(const EC_KEY *priv, const EC_KEY *peer)
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
446
ecdh_size(const EC_KEY *k)
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
467
EC_KEY *privk = NULL;
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
56
EC_KEY *k;
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
57
EC_KEY *peerk;
crypto/openssl/providers/implementations/include/prov/ecx.h
29
int ossl_ec_dhkem_derive_private(EC_KEY *ec, BIGNUM *privout,
crypto/openssl/providers/implementations/kem/ec_kem.c
100
static const char *ec_curvename_get0(const EC_KEY *ec)
crypto/openssl/providers/implementations/kem/ec_kem.c
113
static int recipient_key_set(PROV_EC_CTX *ctx, EC_KEY *ec)
crypto/openssl/providers/implementations/kem/ec_kem.c
138
static int sender_authkey_set(PROV_EC_CTX *ctx, EC_KEY *ec)
crypto/openssl/providers/implementations/kem/ec_kem.c
158
static EC_KEY *eckey_frompub(EC_KEY *in,
crypto/openssl/providers/implementations/kem/ec_kem.c
161
EC_KEY *key;
crypto/openssl/providers/implementations/kem/ec_kem.c
180
static int ecpubkey_todata(const EC_KEY *ec, unsigned char *out, size_t *outlen,
crypto/openssl/providers/implementations/kem/ec_kem.c
215
static int ossl_ec_match_params(const EC_KEY *key1, const EC_KEY *key2)
crypto/openssl/providers/implementations/kem/ec_kem.c
240
EC_KEY *ec = vec;
crypto/openssl/providers/implementations/kem/ec_kem.c
241
EC_KEY *auth = vauth;
crypto/openssl/providers/implementations/kem/ec_kem.c
382
int ossl_ec_dhkem_derive_private(EC_KEY *ec, BIGNUM *priv,
crypto/openssl/providers/implementations/kem/ec_kem.c
40
EC_KEY *recipient_key;
crypto/openssl/providers/implementations/kem/ec_kem.c
41
EC_KEY *sender_authkey;
crypto/openssl/providers/implementations/kem/ec_kem.c
457
static EC_KEY *derivekey(PROV_EC_CTX *ctx,
crypto/openssl/providers/implementations/kem/ec_kem.c
461
EC_KEY *key;
crypto/openssl/providers/implementations/kem/ec_kem.c
499
static int check_publickey(const EC_KEY *pub)
crypto/openssl/providers/implementations/kem/ec_kem.c
521
static int generate_ecdhkm(const EC_KEY *sender, const EC_KEY *peer,
crypto/openssl/providers/implementations/kem/ec_kem.c
563
const EC_KEY *privkey1, const EC_KEY *peerkey1,
crypto/openssl/providers/implementations/kem/ec_kem.c
564
const EC_KEY *privkey2, const EC_KEY *peerkey2,
crypto/openssl/providers/implementations/kem/ec_kem.c
649
EC_KEY *sender_ephemkey = NULL;
crypto/openssl/providers/implementations/kem/ec_kem.c
66
static int eckey_check(const EC_KEY *ec, int requires_privatekey)
crypto/openssl/providers/implementations/kem/ec_kem.c
727
EC_KEY *sender_ephempubkey = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1028
EC_KEY *ec = templ;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
113
static ossl_inline int key_to_params(const EC_KEY *eckey, OSSL_PARAM_BLD *tmpl,
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1234
static int ec_gen_assign_group(EC_KEY *ec, EC_GROUP *group)
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1249
EC_KEY *ec = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1332
EC_KEY *ec = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1402
EC_KEY *ec = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1406
ec = *(EC_KEY **)reference;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
1412
*(EC_KEY **)reference = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
240
static ossl_inline int otherparams_to_params(const EC_KEY *ec, OSSL_PARAM_BLD *tmpl,
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
302
const EC_KEY *ec = keydata;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
326
const EC_KEY *ec1 = keydata1;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
327
const EC_KEY *ec2 = keydata2;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
371
static int common_check_sm2(const EC_KEY *ec, int sm2_wanted)
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
388
EC_KEY *ec = keydata;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
443
EC_KEY *ec = keydata;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
622
EC_KEY *eck = key;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
806
EC_KEY *eck = key;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
873
const EC_KEY *eck = keydata;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
911
const EC_KEY *eck = keydata;
crypto/openssl/providers/implementations/signature/ecdsa_sig.c
74
EC_KEY *ec;
crypto/openssl/providers/implementations/signature/sm2_sig.c
66
EC_KEY *ec;
crypto/openssl/ssl/tls_depr.c
179
const EC_GROUP *group = EC_KEY_get0_group((const EC_KEY *)key);
crypto/openssl/test/ec_internal_test.c
311
EC_KEY *key = NULL, *aux_key = NULL;
crypto/openssl/test/ec_internal_test.c
348
EC_KEY *key = NULL;
crypto/openssl/test/ecdsatest.c
190
EC_KEY *eckey_neg = NULL, *eckey = NULL;
crypto/openssl/test/ecdsatest.c
356
EC_KEY *eckey = NULL;
crypto/openssl/test/ecdsatest.c
83
EC_KEY *key = NULL;
crypto/openssl/test/ectest.c
2732
EC_KEY *key = NULL;
crypto/openssl/test/ectest.c
3202
EC_KEY *eckey1 = NULL, *eckey2 = NULL;
crypto/openssl/test/evp_extra_test.c
1503
EC_KEY *eckey = NULL;
crypto/openssl/test/evp_extra_test.c
1570
EC_KEY *eckey = NULL;
crypto/openssl/test/evp_extra_test.c
4690
EC_KEY *ec = NULL;
crypto/openssl/test/sm2_internal_test.c
141
EC_KEY *key = NULL;
crypto/openssl/test/sm2_internal_test.c
312
EC_KEY *key = NULL;