Home
last modified time | relevance | path

Searched refs:EC_KEY (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/third_party/openssl/include/openssl/
Dec.h961 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
968 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
970 OSSL_DEPRECATEDIN_3_0 int EC_KEY_get_flags(const EC_KEY *key);
972 OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_flags(EC_KEY *key, int flags);
974 OSSL_DEPRECATEDIN_3_0 void EC_KEY_clear_flags(EC_KEY *key, int flags);
976 OSSL_DEPRECATEDIN_3_0 int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
987 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx,
998 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
1003 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
1010 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
[all …]
/third_party/node/deps/openssl/openssl/include/openssl/
Dec.h961 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
968 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
970 OSSL_DEPRECATEDIN_3_0 int EC_KEY_get_flags(const EC_KEY *key);
972 OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_flags(EC_KEY *key, int flags);
974 OSSL_DEPRECATEDIN_3_0 void EC_KEY_clear_flags(EC_KEY *key, int flags);
976 OSSL_DEPRECATEDIN_3_0 int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
987 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx,
998 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
1003 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
1010 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
[all …]
/third_party/openssl/ohos_lite/include/openssl/
Dec.h827 EC_KEY *EC_KEY_new(void);
829 int EC_KEY_get_flags(const EC_KEY *key);
831 void EC_KEY_set_flags(EC_KEY *key, int flags);
833 void EC_KEY_clear_flags(EC_KEY *key, int flags);
835 int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
842 EC_KEY *EC_KEY_new_by_curve_name(int nid);
847 void EC_KEY_free(EC_KEY *key);
854 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
860 EC_KEY *EC_KEY_dup(const EC_KEY *src);
866 int EC_KEY_up_ref(EC_KEY *key);
[all …]
/third_party/openssl/crypto/ec/
Dec_kmeth.c58 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key) in EC_KEY_get_method()
63 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth) in EC_KEY_set_method()
65 void (*finish)(EC_KEY *key) = key->meth->finish; in EC_KEY_set_method()
81 EC_KEY *ossl_ec_key_new_method_int(OSSL_LIB_CTX *libctx, const char *propq, in ossl_ec_key_new_method_int()
84 EC_KEY *ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_ec_key_new_method_int()
148 EC_KEY *EC_KEY_new_method(ENGINE *engine) in EC_KEY_new_method()
155 const EC_KEY *eckey, in ECDH_compute_key()
201 int (*init)(EC_KEY *key), in EC_KEY_METHOD_set_init()
202 void (*finish)(EC_KEY *key), in EC_KEY_METHOD_set_init()
203 int (*copy)(EC_KEY *dest, const EC_KEY *src), in EC_KEY_METHOD_set_init()
[all …]
Dec_key.c29 static int ecdsa_keygen_pairwise_test(EC_KEY *eckey, OSSL_CALLBACK *cb,
33 EC_KEY *EC_KEY_new(void) in EC_KEY_new()
39 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq) in EC_KEY_new_ex()
44 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, in EC_KEY_new_by_curve_name_ex()
47 EC_KEY *ret = EC_KEY_new_ex(ctx, propq); in EC_KEY_new_by_curve_name_ex()
64 EC_KEY *EC_KEY_new_by_curve_name(int nid) in EC_KEY_new_by_curve_name()
70 void EC_KEY_free(EC_KEY *r) in EC_KEY_free()
102 OPENSSL_clear_free((void *)r, sizeof(EC_KEY)); in EC_KEY_free()
105 EC_KEY *EC_KEY_copy(EC_KEY *dest, const EC_KEY *src) in EC_KEY_copy()
187 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) in EC_KEY_dup()
[all …]
Dec_local.h167 size_t (*priv2oct)(const EC_KEY *eckey, unsigned char *buf, size_t len);
168 int (*oct2priv)(EC_KEY *eckey, const unsigned char *buf, size_t len);
169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
170 int (*keygen)(EC_KEY *eckey);
171 int (*keycheck)(const EC_KEY *eckey);
172 int (*keygenpub)(EC_KEY *eckey);
173 int (*keycopy)(EC_KEY *dst, const EC_KEY *src);
174 void (*keyfinish)(EC_KEY *eckey);
177 const EC_POINT *pub_key, const EC_KEY *ecdh);
179 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
[all …]
Dec_ameth.c29 static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key) in eckey_param2type()
70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode()
104 EC_KEY *eckey = NULL; in eckey_pub_decode()
152 EC_KEY *eckey = ossl_ec_key_from_pkcs8(p8, libctx, propq); in eckey_priv_decode_ex()
164 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode()
283 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype) in do_EC_KEY_print()
349 EC_KEY *eckey; in eckey_param_decode()
383 EC_KEY *ec; in old_ec_priv_decode()
425 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_check()
438 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_public_check()
[all …]
Dec_pmeth.c33 EC_KEY *co_key;
117 EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_sign()
155 EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_verify()
173 EC_KEY *eckey; in pkey_ec_derive()
174 const EC_KEY *eckeypub; in pkey_ec_derive()
188 : (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_derive()
280 const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl()
287 EC_KEY *ec_key = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl()
434 EC_KEY *ec = NULL; in pkey_ec_paramgen()
453 EC_KEY *ec = NULL; in pkey_ec_keygen()
/third_party/node/deps/openssl/openssl/crypto/ec/
Dec_kmeth.c58 const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key) in EC_KEY_get_method()
63 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth) in EC_KEY_set_method()
65 void (*finish)(EC_KEY *key) = key->meth->finish; in EC_KEY_set_method()
81 EC_KEY *ossl_ec_key_new_method_int(OSSL_LIB_CTX *libctx, const char *propq, in ossl_ec_key_new_method_int()
84 EC_KEY *ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_ec_key_new_method_int()
148 EC_KEY *EC_KEY_new_method(ENGINE *engine) in EC_KEY_new_method()
155 const EC_KEY *eckey, in ECDH_compute_key()
201 int (*init)(EC_KEY *key), in EC_KEY_METHOD_set_init()
202 void (*finish)(EC_KEY *key), in EC_KEY_METHOD_set_init()
203 int (*copy)(EC_KEY *dest, const EC_KEY *src), in EC_KEY_METHOD_set_init()
[all …]
Dec_key.c29 static int ecdsa_keygen_pairwise_test(EC_KEY *eckey, OSSL_CALLBACK *cb,
33 EC_KEY *EC_KEY_new(void) in EC_KEY_new()
39 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq) in EC_KEY_new_ex()
44 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq, in EC_KEY_new_by_curve_name_ex()
47 EC_KEY *ret = EC_KEY_new_ex(ctx, propq); in EC_KEY_new_by_curve_name_ex()
64 EC_KEY *EC_KEY_new_by_curve_name(int nid) in EC_KEY_new_by_curve_name()
70 void EC_KEY_free(EC_KEY *r) in EC_KEY_free()
102 OPENSSL_clear_free((void *)r, sizeof(EC_KEY)); in EC_KEY_free()
105 EC_KEY *EC_KEY_copy(EC_KEY *dest, const EC_KEY *src) in EC_KEY_copy()
187 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) in EC_KEY_dup()
[all …]
Dec_local.h167 size_t (*priv2oct)(const EC_KEY *eckey, unsigned char *buf, size_t len);
168 int (*oct2priv)(EC_KEY *eckey, const unsigned char *buf, size_t len);
169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
170 int (*keygen)(EC_KEY *eckey);
171 int (*keycheck)(const EC_KEY *eckey);
172 int (*keygenpub)(EC_KEY *eckey);
173 int (*keycopy)(EC_KEY *dst, const EC_KEY *src);
174 void (*keyfinish)(EC_KEY *eckey);
177 const EC_POINT *pub_key, const EC_KEY *ecdh);
179 int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
[all …]
Dec_ameth.c29 static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key) in eckey_param2type()
70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode()
104 EC_KEY *eckey = NULL; in eckey_pub_decode()
152 EC_KEY *eckey = ossl_ec_key_from_pkcs8(p8, libctx, propq); in eckey_priv_decode_ex()
164 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode()
283 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype) in do_EC_KEY_print()
349 EC_KEY *eckey; in eckey_param_decode()
383 EC_KEY *ec; in old_ec_priv_decode()
425 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_check()
438 EC_KEY *eckey = pkey->pkey.ec; in ec_pkey_public_check()
[all …]
Dec_pmeth.c33 EC_KEY *co_key;
117 EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_sign()
155 EC_KEY *ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_verify()
173 EC_KEY *eckey; in pkey_ec_derive()
174 const EC_KEY *eckeypub; in pkey_ec_derive()
188 : (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_derive()
280 const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl()
287 EC_KEY *ec_key = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl()
434 EC_KEY *ec = NULL; in pkey_ec_paramgen()
453 EC_KEY *ec = NULL; in pkey_ec_keygen()
/third_party/openssl/include/crypto/
Dec.h62 int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx);
63 int ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx);
64 int ossl_ec_key_private_check(const EC_KEY *eckey);
65 int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx);
66 OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *eckey);
67 const char *ossl_ec_key_get0_propq(const EC_KEY *eckey);
68 void ossl_ec_key_set0_libctx(EC_KEY *key, OSSL_LIB_CTX *libctx);
75 int ossl_ec_group_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
77 int ossl_ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[],
79 int ossl_ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
[all …]
Dsm2.h23 int ossl_sm2_key_private_check(const EC_KEY *eckey);
32 const EC_KEY *key);
37 ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
43 int ossl_sm2_do_verify(const EC_KEY *key,
55 EC_KEY *eckey);
62 EC_KEY *eckey);
67 int ossl_sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest,
73 int ossl_sm2_encrypt(const EC_KEY *key,
78 int ossl_sm2_decrypt(const EC_KEY *key,
/third_party/node/deps/openssl/openssl/include/crypto/
Dec.h62 int ossl_ec_key_public_check(const EC_KEY *eckey, BN_CTX *ctx);
63 int ossl_ec_key_public_check_quick(const EC_KEY *eckey, BN_CTX *ctx);
64 int ossl_ec_key_private_check(const EC_KEY *eckey);
65 int ossl_ec_key_pairwise_check(const EC_KEY *eckey, BN_CTX *ctx);
66 OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *eckey);
67 const char *ossl_ec_key_get0_propq(const EC_KEY *eckey);
68 void ossl_ec_key_set0_libctx(EC_KEY *key, OSSL_LIB_CTX *libctx);
75 int ossl_ec_group_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
77 int ossl_ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[],
79 int ossl_ec_key_otherparams_fromdata(EC_KEY *ec, const OSSL_PARAM params[]);
[all …]
Dsm2.h23 int ossl_sm2_key_private_check(const EC_KEY *eckey);
32 const EC_KEY *key);
37 ECDSA_SIG *ossl_sm2_do_sign(const EC_KEY *key,
43 int ossl_sm2_do_verify(const EC_KEY *key,
55 EC_KEY *eckey);
62 EC_KEY *eckey);
67 int ossl_sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest,
73 int ossl_sm2_encrypt(const EC_KEY *key,
78 int ossl_sm2_decrypt(const EC_KEY *key,
/third_party/openssl/doc/man3/
DEC_KEY_new.pod18 EC_KEY objects
30 EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
31 EC_KEY *EC_KEY_new(void);
32 int EC_KEY_get_flags(const EC_KEY *key);
33 void EC_KEY_set_flags(EC_KEY *key, int flags);
34 void EC_KEY_clear_flags(EC_KEY *key, int flags);
35 EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx, const char *propq,
37 EC_KEY *EC_KEY_new_by_curve_name(int nid);
38 void EC_KEY_free(EC_KEY *key);
39 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
[all …]
DPEM_read_CMS.pod71 EC_KEY *PEM_read_EC_PUBKEY(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u);
72 EC_KEY *PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u);
73 int PEM_write_EC_PUBKEY(FILE *out, const EC_KEY *x);
74 int PEM_write_bio_EC_PUBKEY(BIO *out, const EC_KEY *x);
76 EC_KEY *PEM_read_ECPrivateKey(FILE *out, EC_KEY **x, pem_password_cb *cb, void *u);
77 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *out, EC_KEY **x, pem_password_cb *cb, void *u);
78 int PEM_write_ECPrivateKey(FILE *out, const EC_KEY *x, const EVP_CIPHER *enc,
81 int PEM_write_bio_ECPrivateKey(BIO *out, const EC_KEY *x, const EVP_CIPHER *enc,
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dec.rs195 pub fn EC_KEY_new() -> *mut EC_KEY; in EC_KEY_new()
197 pub fn EC_KEY_new_by_curve_name(nid: c_int) -> *mut EC_KEY; in EC_KEY_new_by_curve_name() argument
199 pub fn EC_KEY_free(key: *mut EC_KEY); in EC_KEY_free() argument
201 pub fn EC_KEY_dup(key: *const EC_KEY) -> *mut EC_KEY; in EC_KEY_dup() argument
203 pub fn EC_KEY_up_ref(key: *mut EC_KEY) -> c_int; in EC_KEY_up_ref()
205 pub fn EC_KEY_get0_group(key: *const EC_KEY) -> *const EC_GROUP; in EC_KEY_get0_group()
207 pub fn EC_KEY_set_group(key: *mut EC_KEY, group: *const EC_GROUP) -> c_int; in EC_KEY_set_group() argument
209 pub fn EC_KEY_get0_private_key(key: *const EC_KEY) -> *const BIGNUM; in EC_KEY_get0_private_key()
211 pub fn EC_KEY_set_private_key(key: *mut EC_KEY, key: *const BIGNUM) -> c_int; in EC_KEY_set_private_key() argument
213 pub fn EC_KEY_get0_public_key(key: *const EC_KEY) -> *const EC_POINT; in EC_KEY_get0_public_key()
[all …]
/third_party/openssl/ohos_lite/crypto/ec/
Dec_local.h171 size_t (*priv2oct)(const EC_KEY *eckey, unsigned char *buf, size_t len);
172 int (*oct2priv)(EC_KEY *eckey, const unsigned char *buf, size_t len);
173 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
174 int (*keygen)(EC_KEY *eckey);
175 int (*keycheck)(const EC_KEY *eckey);
176 int (*keygenpub)(EC_KEY *eckey);
177 int (*keycopy)(EC_KEY *dst, const EC_KEY *src);
178 void (*keyfinish)(EC_KEY *eckey);
181 const EC_POINT *pub_key, const EC_KEY *ecdh);
593 size_t ec_key_simple_priv2oct(const EC_KEY *eckey,
[all …]
/third_party/openssl/ohos_lite/include/crypto/
Dsm2.h27 const EC_KEY *key);
32 ECDSA_SIG *sm2_do_sign(const EC_KEY *key,
38 int sm2_do_verify(const EC_KEY *key,
49 unsigned char *sig, unsigned int *siglen, EC_KEY *eckey);
55 const unsigned char *sig, int siglen, EC_KEY *eckey);
60 int sm2_ciphertext_size(const EC_KEY *key, const EVP_MD *digest, size_t msg_len,
65 int sm2_encrypt(const EC_KEY *key,
71 int sm2_decrypt(const EC_KEY *key,
/third_party/openssl/crypto/pem/
Dpem_all.c34 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
134 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw()
136 EC_KEY *dtmp; in IMPLEMENT_PEM_rw()
150 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, in PEM_read_bio_ECPrivateKey()
162 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY, in IMPLEMENT_PEM_rw()
164 IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY) in IMPLEMENT_PEM_rw()
166 EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, in IMPLEMENT_PEM_rw()
/third_party/node/deps/openssl/openssl/crypto/pem/
Dpem_all.c34 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
134 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw()
136 EC_KEY *dtmp; in IMPLEMENT_PEM_rw()
150 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, in PEM_read_bio_ECPrivateKey()
162 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY, in IMPLEMENT_PEM_rw()
164 IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY) in IMPLEMENT_PEM_rw()
166 EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, in IMPLEMENT_PEM_rw()
/third_party/node/deps/openssl/openssl/crypto/evp/
Dp_legacy.c58 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) in EVP_PKEY_set1_EC_KEY()
69 EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey) in evp_pkey_get0_EC_KEY_int()
78 const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) in EVP_PKEY_get0_EC_KEY()
83 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) in EVP_PKEY_get1_EC_KEY()
85 EC_KEY *ret = evp_pkey_get0_EC_KEY_int(pkey); in EVP_PKEY_get1_EC_KEY()

12345678910>>...13