Home
last modified time | relevance | path

Searched refs:EVP_PKEY (Results 1 – 25 of 153) sorted by relevance

1234567

/dragonfly/crypto/libressl/crypto/evp/
HDp_lib.c87 static void EVP_PKEY_free_it(EVP_PKEY *x);
90 EVP_PKEY_bits(const EVP_PKEY *pkey) in EVP_PKEY_bits()
98 EVP_PKEY_security_bits(const EVP_PKEY *pkey) in EVP_PKEY_security_bits()
109 EVP_PKEY_size(const EVP_PKEY *pkey) in EVP_PKEY_size()
117 EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters()
141 EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_parameters()
160 EVP_PKEY_missing_parameters(const EVP_PKEY *pkey) in EVP_PKEY_missing_parameters()
168 EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp_parameters()
178 EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp()
199 EVP_PKEY *
[all …]
HDevp_pkey.c70 EVP_PKEY *
73 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY()
112 EVP_PKEY2PKCS8(EVP_PKEY *pkey) in EVP_PKEY2PKCS8()
145 EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count()
151 EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID()
157 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ()
164 EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr()
170 EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
176 EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
184 EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, in EVP_PKEY_add1_attr_by_OBJ()
[all …]
HDpmeth_gn.c90 EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen()
137 EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen()
205 EVP_PKEY *
209 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key()
230 EVP_PKEY *pkey; in EVP_PKEY_check()
251 EVP_PKEY *pkey; in EVP_PKEY_public_check()
272 EVP_PKEY *pkey; in EVP_PKEY_param_check()
HDevp_locl.h195 EVP_PKEY *pkey;
197 EVP_PKEY *peerkey;
222 int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
225 int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey);
263 int (*check)(EVP_PKEY *pkey);
264 int (*public_check)(EVP_PKEY *pkey);
265 int (*param_check)(EVP_PKEY *pkey);
/dragonfly/crypto/libressl/crypto/asn1/
HDasn1_locl.h102 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub);
103 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk);
104 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b);
105 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent,
108 int (*priv_decode)(EVP_PKEY *pk, const PKCS8_PRIV_KEY_INFO *p8inf);
109 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
110 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
113 int (*pkey_size)(const EVP_PKEY *pk);
114 int (*pkey_bits)(const EVP_PKEY *pk);
115 int (*pkey_security_bits)(const EVP_PKEY *pk);
[all …]
HDameth_lib.c307 EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1()
373 int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub), in EVP_PKEY_asn1_set_public()
374 int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public()
375 int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), in EVP_PKEY_asn1_set_public()
376 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_asn1_set_public()
378 int (*pkey_size)(const EVP_PKEY *pk), in EVP_PKEY_asn1_set_public()
379 int (*pkey_bits)(const EVP_PKEY *pk)) in EVP_PKEY_asn1_set_public()
391 int (*priv_decode)(EVP_PKEY *pk, const PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private()
392 int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), in EVP_PKEY_asn1_set_private()
393 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, in EVP_PKEY_asn1_set_private()
[all …]
HDx_pubkey.c141 X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey) in X509_PUBKEY_set()
178 EVP_PKEY *
181 EVP_PKEY *ret = NULL; in X509_PUBKEY_get0()
230 EVP_PKEY *
233 EVP_PKEY *pkey; in X509_PUBKEY_get()
254 EVP_PKEY *pkey = NULL; in pubkey_ex_d2i()
308 EVP_PKEY *pkey, *pktmp; in pubkey_ex_i2d()
316 pkey = (EVP_PKEY *)*pval; in pubkey_ex_i2d()
362 EVP_PKEY_free((EVP_PKEY *)*pval); in pkey_pubkey_ex_free()
400 EVP_PKEY *
[all …]
HDa_pkey.c77 EVP_PKEY *
78 d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) in d2i_PrivateKey()
81 EVP_PKEY *ret; in d2i_PrivateKey()
128 i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) in i2d_PrivateKey()
145 EVP_PKEY *
146 d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length) in d2i_AutoPrivateKey()
169 EVP_PKEY *ret; in d2i_AutoPrivateKey()
/dragonfly/crypto/libressl/include/openssl/
HDevp.h506 EVP_PKEY *pkey);
509 unsigned int siglen, EVP_PKEY *pkey);
512 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
519 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey);
527 const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv);
531 unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk,
784 int enc_key_len, EVP_PKEY *private_key);
786 int key_len, EVP_PKEY *pub_key);
788 int EVP_PKEY_id(const EVP_PKEY *pkey);
789 int EVP_PKEY_base_id(const EVP_PKEY *pkey);
[all …]
HDpem.h410 unsigned int *siglen, EVP_PKEY *pkey);
465 DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
467 DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
469 int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
472 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
475 int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *,
477 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
480 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
483 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
486 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
[all …]
HDx509.h312 EVP_PKEY *dec_pkey;
427 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk));
438 int X509_verify(X509 *a, EVP_PKEY *r);
440 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r);
441 int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r);
442 int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r);
446 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
447 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
455 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
457 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
[all …]
/dragonfly/crypto/libressl/crypto/dh/
HDdh_ameth.c72 int_dh_free(EVP_PKEY *pkey) in int_dh_free()
78 dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode()
130 dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode()
185 dh_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode()
236 dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode()
295 dh_param_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) in dh_param_decode()
308 dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode()
389 int_dh_size(const EVP_PKEY *pkey) in int_dh_size()
395 dh_bits(const EVP_PKEY *pkey) in dh_bits()
401 dh_security_bits(const EVP_PKEY *pkey) in dh_security_bits()
[all …]
/dragonfly/crypto/libressl/crypto/pem/
HDpem_pk8.c70 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid,
72 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder, int nid,
82 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, in PEM_write_bio_PKCS8PrivateKey_nid()
89 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
96 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
103 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio()
110 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, in do_pk8pkey()
156 EVP_PKEY *
157 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) in d2i_PKCS8PrivateKey_bio()
162 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio()
[all …]
HDpem_pkey.c81 EVP_PKEY *
82 PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) in PEM_read_bio_PrivateKey()
89 EVP_PKEY *ret = NULL; in PEM_read_bio_PrivateKey()
152 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PrivateKey()
164 PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, in PEM_write_bio_PrivateKey_traditional()
176 EVP_PKEY *
177 PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters()
184 EVP_PKEY *ret = NULL; in PEM_read_bio_Parameters()
217 PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x) in PEM_write_bio_Parameters()
230 EVP_PKEY *
[all …]
HDpvkfmt.c147 static EVP_PKEY *b2i_rsa(const unsigned char **in, unsigned int length,
149 static EVP_PKEY *b2i_dss(const unsigned char **in, unsigned int length,
250 static EVP_PKEY *
272 static EVP_PKEY *
279 EVP_PKEY *ret = NULL; in do_b2i_bio()
311 static EVP_PKEY *
316 EVP_PKEY *ret = NULL; in b2i_dss()
363 static EVP_PKEY *
368 EVP_PKEY *ret = NULL; in b2i_rsa()
412 EVP_PKEY *
[all …]
HDpem_all.c133 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
136 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
140 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey);
281 pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in pkey_get_rsa()
301 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey()
318 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey()
394 pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in pkey_get_dsa()
414 EVP_PKEY *pktmp; in PEM_read_DSAPrivateKey()
431 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey()
507 pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in pkey_get_eckey()
[all …]
/dragonfly/crypto/libressl/crypto/x509/
HDx_all.c328 EVP_PKEY *
329 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) in d2i_PrivateKey_bio()
331 return ASN1_d2i_bio_of(EVP_PKEY, EVP_PKEY_new, d2i_AutoPrivateKey, in d2i_PrivateKey_bio()
336 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio()
338 return ASN1_i2d_bio_of(EVP_PKEY, i2d_PrivateKey, bp, pkey); in i2d_PrivateKey_bio()
341 EVP_PKEY *
342 d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) in d2i_PrivateKey_fp()
344 return ASN1_d2i_fp_of(EVP_PKEY, EVP_PKEY_new, d2i_AutoPrivateKey, in d2i_PrivateKey_fp()
349 i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) in i2d_PrivateKey_fp()
351 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PrivateKey, fp, pkey); in i2d_PrivateKey_fp()
[all …]
/dragonfly/crypto/libressl/crypto/dsa/
HDdsa_ameth.c76 dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dsa_pub_decode()
133 dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode()
184 dsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode()
251 dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode()
297 int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size()
303 dsa_bits(const EVP_PKEY *pkey) in dsa_bits()
309 dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits()
315 dsa_missing_parameters(const EVP_PKEY *pkey) in dsa_missing_parameters()
326 dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dsa_copy_parameters()
348 dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_cmp_parameters()
[all …]
/dragonfly/crypto/libressl/crypto/ec/
HDec_ameth.c111 eckey_pub_encode(X509_PUBKEY * pk, const EVP_PKEY * pkey) in eckey_pub_encode()
194 eckey_pub_decode(EVP_PKEY * pkey, X509_PUBKEY * pubkey) in eckey_pub_decode()
227 eckey_pub_cmp(const EVP_PKEY * a, const EVP_PKEY * b) in eckey_pub_cmp()
242 eckey_priv_decode(EVP_PKEY * pkey, const PKCS8_PRIV_KEY_INFO * p8) in eckey_priv_decode()
309 eckey_priv_encode(PKCS8_PRIV_KEY_INFO * p8, const EVP_PKEY * pkey) in eckey_priv_encode()
362 int_ec_size(const EVP_PKEY * pkey) in int_ec_size()
368 ec_bits(const EVP_PKEY * pkey) in ec_bits()
390 ec_security_bits(const EVP_PKEY *pkey) in ec_security_bits()
409 ec_missing_parameters(const EVP_PKEY * pkey) in ec_missing_parameters()
417 ec_copy_parameters(EVP_PKEY * to, const EVP_PKEY * from) in ec_copy_parameters()
[all …]
/dragonfly/crypto/libressl/crypto/gost/
HDgostr341001_ameth.c71 pkey_free_gost01(EVP_PKEY *key) in pkey_free_gost01()
81 decode_gost01_algor_params(EVP_PKEY *pkey, const unsigned char **p, int len) in decode_gost01_algor_params()
125 encode_gost01_algor_params(const EVP_PKEY *key) in encode_gost01_algor_params()
157 pub_cmp_gost01(const EVP_PKEY *a, const EVP_PKEY *b) in pub_cmp_gost01()
175 pkey_size_gost01(const EVP_PKEY *pk) in pkey_size_gost01()
183 pkey_bits_gost01(const EVP_PKEY *pk) in pkey_bits_gost01()
191 pub_decode_gost01(EVP_PKEY *pk, X509_PUBKEY *pub) in pub_decode_gost01()
243 pub_encode_gost01(X509_PUBKEY *pub, const EVP_PKEY *pk) in pub_encode_gost01()
322 param_print_gost01(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx) in param_print_gost01()
338 pub_print_gost01(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx) in pub_print_gost01()
[all …]
HDgostr341001_pmeth.c142 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost01_init()
188 pkey_gost01_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost01_paramgen()
225 pkey_gost01_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_gost01_keygen()
237 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost01_sign()
289 EVP_PKEY *pub_key = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost01_verify()
318 gost01_VKO_key(EVP_PKEY *pub_key, EVP_PKEY *priv_key, const unsigned char *ukm, in gost01_VKO_key()
379 EVP_PKEY *priv = EVP_PKEY_CTX_get0_pkey(pctx); in pkey_gost01_decrypt()
384 EVP_PKEY *eph_key = NULL, *peerkey = NULL; in pkey_gost01_decrypt()
457 EVP_PKEY *my_key = EVP_PKEY_CTX_get0_pkey(ctx); in pkey_gost01_derive()
458 EVP_PKEY *peer_key = EVP_PKEY_CTX_get0_peerkey(ctx); in pkey_gost01_derive()
[all …]
/dragonfly/crypto/libressl/crypto/hmac/
HDhm_ameth.c77 hmac_size(const EVP_PKEY *pkey) in hmac_size()
83 hmac_key_free(EVP_PKEY *pkey) in hmac_key_free()
95 hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in hmac_pkey_ctrl()
113 old_hmac_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) in old_hmac_decode()
132 old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_hmac_encode()
/dragonfly/crypto/libressl/crypto/rsa/
HDrsa_ameth.c85 rsa_param_encode(const EVP_PKEY *pkey, ASN1_STRING **pstr, int *pstrtype) in rsa_param_encode()
135 rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode()
157 rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in rsa_pub_decode()
182 rsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in rsa_pub_cmp()
192 old_rsa_priv_decode(EVP_PKEY *pkey, const unsigned char **pder, int derlen) in old_rsa_priv_decode()
205 old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode()
211 rsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in rsa_priv_encode()
239 rsa_priv_decode(EVP_PKEY *pkey, const PKCS8_PRIV_KEY_INFO *p8) in rsa_priv_decode()
263 int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size()
269 rsa_bits(const EVP_PKEY *pkey) in rsa_bits()
[all …]
/dragonfly/crypto/libressl/crypto/engine/
HDeng_pkey.c104 EVP_PKEY *
108 EVP_PKEY *pkey; in ENGINE_load_private_key()
133 EVP_PKEY *
137 EVP_PKEY *pkey; in ENGINE_load_public_key()
164 X509 **pcert, EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_ssl_client_cert()
/dragonfly/crypto/libressl/crypto/pkcs12/
HDp12_kiss.c69 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
72 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
75 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
84 PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse()
175 parse_pk12(PKCS12 *p12, const char *pass, int passlen, EVP_PKEY **pkey, in parse_pk12()
211 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags()
224 parse_bag(PKCS12_SAFEBAG *bag, const char *pass, int passlen, EVP_PKEY **pkey, in parse_bag()

1234567