Home
last modified time | relevance | path

Searched refs:pkey (Results 1 – 25 of 141) sorted by relevance

123456

/external/openssl/crypto/evp/
Dp_lib.c85 int EVP_PKEY_bits(EVP_PKEY *pkey) in EVP_PKEY_bits() argument
87 if (pkey && pkey->ameth && pkey->ameth->pkey_bits) in EVP_PKEY_bits()
88 return pkey->ameth->pkey_bits(pkey); in EVP_PKEY_bits()
92 int EVP_PKEY_size(EVP_PKEY *pkey) in EVP_PKEY_size() argument
94 if (pkey && pkey->ameth && pkey->ameth->pkey_size) in EVP_PKEY_size()
95 return pkey->ameth->pkey_size(pkey); in EVP_PKEY_size()
99 int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode) in EVP_PKEY_save_parameters() argument
102 if (pkey->type == EVP_PKEY_DSA) in EVP_PKEY_save_parameters()
104 int ret=pkey->save_parameters; in EVP_PKEY_save_parameters()
107 pkey->save_parameters=mode; in EVP_PKEY_save_parameters()
[all …]
Devp_pkey.c70 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY() local
77 if (!(pkey = EVP_PKEY_new())) { in EVP_PKCS82PKEY()
82 if (!EVP_PKEY_set_type(pkey, OBJ_obj2nid(algoid))) in EVP_PKCS82PKEY()
90 if (pkey->ameth->priv_decode) in EVP_PKCS82PKEY()
92 if (!pkey->ameth->priv_decode(pkey, p8)) in EVP_PKCS82PKEY()
105 return pkey; in EVP_PKCS82PKEY()
108 EVP_PKEY_free (pkey); in EVP_PKCS82PKEY()
112 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey) in EVP_PKEY2PKCS8() argument
114 return EVP_PKEY2PKCS8_broken(pkey, PKCS8_OK); in EVP_PKEY2PKCS8()
119 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken) in EVP_PKEY2PKCS8_broken() argument
[all …]
Dpmeth_lib.c127 static EVP_PKEY_CTX *int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id) in int_ctx_new() argument
133 if (!pkey || !pkey->ameth) in int_ctx_new()
135 id = pkey->ameth->pkey_id; in int_ctx_new()
138 if (pkey && pkey->engine) in int_ctx_new()
139 e = pkey->engine; in int_ctx_new()
181 ret->pkey = pkey; in int_ctx_new()
184 if (pkey) in int_ctx_new()
185 CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY); in int_ctx_new()
297 EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e) in EVP_PKEY_CTX_new() argument
299 return int_ctx_new(pkey, e, -1); in EVP_PKEY_CTX_new()
[all …]
/external/openssl/crypto/dh/
Ddh_ameth.c66 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free() argument
68 DH_free(pkey->pkey.dh); in int_dh_free()
71 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode() argument
117 EVP_PKEY_assign_DH(pkey, dh); in dh_pub_decode()
129 static int dh_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dh_pub_encode() argument
139 dh=pkey->pkey.dh; in dh_pub_encode()
184 static int dh_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in dh_priv_decode() argument
223 EVP_PKEY_assign_DH(pkey, dh); in dh_priv_decode()
236 static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dh_priv_encode() argument
251 params->length = i2d_DHparams(pkey->pkey.dh, &params->data); in dh_priv_encode()
[all …]
Ddh_pmeth.c161 static int pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dh_paramgen() argument
180 EVP_PKEY_assign_DH(pkey, dh); in pkey_dh_paramgen()
186 static int pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dh_keygen() argument
189 if (ctx->pkey == NULL) in pkey_dh_keygen()
197 EVP_PKEY_assign_DH(pkey, dh); in pkey_dh_keygen()
199 if (!EVP_PKEY_copy_parameters(pkey, ctx->pkey)) in pkey_dh_keygen()
201 return DH_generate_key(pkey->pkey.dh); in pkey_dh_keygen()
207 if (!ctx->pkey || !ctx->peerkey) in pkey_dh_derive()
212 ret = DH_compute_key(key, ctx->peerkey->pkey.dh->pub_key, in pkey_dh_derive()
213 ctx->pkey->pkey.dh); in pkey_dh_derive()
/external/openssl/crypto/dsa/
Ddsa_ameth.c69 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dsa_pub_decode() argument
126 EVP_PKEY_assign_DSA(pkey, dsa); in dsa_pub_decode()
138 static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in dsa_pub_encode() argument
146 dsa=pkey->pkey.dsa; in dsa_pub_encode()
147 if (pkey->save_parameters && dsa->p && dsa->q && dsa->g) in dsa_pub_encode()
190 static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in dsa_priv_decode() argument
283 EVP_PKEY_assign_DSA(pkey, dsa); in dsa_priv_decode()
303 static int dsa_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in dsa_priv_encode() argument
318 params->length = i2d_DSAparams(pkey->pkey.dsa, &params->data); in dsa_priv_encode()
327 prkey = BN_to_ASN1_INTEGER(pkey->pkey.dsa->priv_key, NULL); in dsa_priv_encode()
[all …]
Ddsa_pmeth.c126 DSA *dsa = ctx->pkey->pkey.dsa; in pkey_dsa_sign()
147 DSA *dsa = ctx->pkey->pkey.dsa; in pkey_dsa_verify()
241 static int pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_paramgen() argument
260 EVP_PKEY_assign_DSA(pkey, dsa); in pkey_dsa_paramgen()
266 static int pkey_dsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_dsa_keygen() argument
269 if (ctx->pkey == NULL) in pkey_dsa_keygen()
277 EVP_PKEY_assign_DSA(pkey, dsa); in pkey_dsa_keygen()
279 if (!EVP_PKEY_copy_parameters(pkey, ctx->pkey)) in pkey_dsa_keygen()
281 return DSA_generate_key(pkey->pkey.dsa); in pkey_dsa_keygen()
/external/openssl/crypto/ec/
Dec_ameth.c103 static int eckey_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in eckey_pub_encode() argument
105 EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode()
190 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in eckey_pub_decode() argument
217 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_pub_decode()
229 const EC_GROUP *group = EC_KEY_get0_group(b->pkey.ec); in eckey_pub_cmp()
230 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp()
231 *pb = EC_KEY_get0_public_key(b->pkey.ec); in eckey_pub_cmp()
240 static int eckey_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8) in eckey_priv_decode() argument
301 EVP_PKEY_assign_EC_KEY(pkey, eckey); in eckey_priv_decode()
312 static int eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) in eckey_priv_encode() argument
[all …]
Dec_pmeth.c125 EC_KEY *ec = ctx->pkey->pkey.ec; in pkey_ec_sign()
158 EC_KEY *ec = ctx->pkey->pkey.ec; in pkey_ec_verify()
175 if (!ctx->pkey || !ctx->peerkey) in pkey_ec_derive()
184 group = EC_KEY_get0_group(ctx->pkey->pkey.ec); in pkey_ec_derive()
189 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
197 ret = ECDH_compute_key(key, outlen, pubkey, ctx->pkey->pkey.ec, 0); in pkey_ec_derive()
268 static int pkey_ec_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_ec_paramgen() argument
283 EVP_PKEY_assign_EC_KEY(pkey, ec); in pkey_ec_paramgen()
289 static int pkey_ec_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) in pkey_ec_keygen() argument
292 if (ctx->pkey == NULL) in pkey_ec_keygen()
[all …]
/external/openssl/crypto/pkcs12/
Dp12_kiss.c66 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
72 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() argument
93 if(pkey) in PKCS12_parse()
94 *pkey = NULL; in PKCS12_parse()
127 if (!parse_pk12 (p12, pass, -1, pkey, ocerts)) in PKCS12_parse()
135 if (pkey && *pkey && cert && !*cert) in PKCS12_parse()
137 if (X509_check_private_key(x, *pkey)) in PKCS12_parse()
165 if (pkey && *pkey) in PKCS12_parse()
[all …]
/external/openssl/ssl/
Dssl_rsa.c68 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey);
154 EVP_PKEY *pkey; in SSL_use_RSAPrivateKey() local
167 if ((pkey=EVP_PKEY_new()) == NULL) in SSL_use_RSAPrivateKey()
174 EVP_PKEY_assign_RSA(pkey,rsa); in SSL_use_RSAPrivateKey()
176 ret=ssl_set_pkey(ssl->cert,pkey); in SSL_use_RSAPrivateKey()
177 EVP_PKEY_free(pkey); in SSL_use_RSAPrivateKey()
182 static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey) in ssl_set_pkey() argument
186 i=ssl_cert_type(NULL,pkey); in ssl_set_pkey()
197 EVP_PKEY_copy_parameters(pktmp,pkey); in ssl_set_pkey()
204 if ((pkey->type == EVP_PKEY_RSA) && in ssl_set_pkey()
[all …]
/external/openssl/crypto/asn1/
Dx_pubkey.c78 EVP_PKEY_free(pubkey->pkey); in pubkey_cb()
90 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey)
98 if (pkey->ameth)
100 if (pkey->ameth->pub_encode)
102 if (!pkey->ameth->pub_encode(pk, pkey))
139 if (key->pkey != NULL) in X509_PUBKEY_get()
141 CRYPTO_add(&key->pkey->references, 1, CRYPTO_LOCK_EVP_PKEY); in X509_PUBKEY_get()
142 return key->pkey; in X509_PUBKEY_get()
176 if (key->pkey) in X509_PUBKEY_get()
179 ret = key->pkey; in X509_PUBKEY_get()
[all …]
Dp8_pkey.c71 if (key->pkey->value.octet_string) in pkey_cb()
72 OPENSSL_cleanse(key->pkey->value.octet_string->data, in pkey_cb()
73 key->pkey->value.octet_string->length); in pkey_cb()
81 ASN1_SIMPLE(PKCS8_PRIV_KEY_INFO, pkey, ASN1_ANY),
112 ASN1_TYPE_set(priv->pkey, pmtype, oct);
131 if(p8->pkey->type == V_ASN1_OCTET_STRING) in PKCS8_pkey_get0()
136 *pk = p8->pkey->value.octet_string->data; in PKCS8_pkey_get0()
137 *ppklen = p8->pkey->value.octet_string->length; in PKCS8_pkey_get0()
140 else if (p8->pkey->type == V_ASN1_SEQUENCE) in PKCS8_pkey_get0()
145 *pk = p8->pkey->value.sequence->data; in PKCS8_pkey_get0()
[all …]
Dasn1_locl.h86 int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent,
91 int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent,
97 int (*param_decode)(EVP_PKEY *pkey,
99 int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder);
103 int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent,
110 void (*pkey_free)(EVP_PKEY *pkey);
111 int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2);
115 int (*old_priv_decode)(EVP_PKEY *pkey,
117 int (*old_priv_encode)(const EVP_PKEY *pkey, unsigned char **pder);
121 EVP_PKEY *pkey);
Dn_pkey.c127 NETSCAPE_PKEY *pkey = NULL; in i2d_RSA_NET() local
136 if ((pkey=NETSCAPE_PKEY_new()) == NULL) goto err; in i2d_RSA_NET()
138 pkey->version = 0; in i2d_RSA_NET()
140 pkey->algor->algorithm=OBJ_nid2obj(NID_rsaEncryption); in i2d_RSA_NET()
141 if ((pkey->algor->parameter=ASN1_TYPE_new()) == NULL) goto err; in i2d_RSA_NET()
142 pkey->algor->parameter->type=V_ASN1_NULL; in i2d_RSA_NET()
150 pkey->private_key->length=rsalen; in i2d_RSA_NET()
152 pkeylen=i2d_NETSCAPE_PKEY(pkey,NULL); in i2d_RSA_NET()
165 NETSCAPE_PKEY_free(pkey); in i2d_RSA_NET()
178 pkey->private_key->data = zz; in i2d_RSA_NET()
[all …]
Da_sign.c131 ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, in ASN1_sign() argument
176 outll=outl=EVP_PKEY_size(pkey); in ASN1_sign()
190 (unsigned int *)&outl,pkey)) in ASN1_sign()
217 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey, in ASN1_item_sign() argument
222 if (!EVP_DigestSignInit(&ctx, NULL, type, NULL, pkey)) in ASN1_item_sign()
236 EVP_PKEY *pkey; in ASN1_item_sign_ctx() local
243 pkey = EVP_PKEY_CTX_get0_pkey(ctx->pctx); in ASN1_item_sign_ctx()
245 if (!type || !pkey) in ASN1_item_sign_ctx()
251 if (pkey->ameth->item_sign) in ASN1_item_sign_ctx()
253 rv = pkey->ameth->item_sign(ctx, it, asn, algor1, algor2, in ASN1_item_sign_ctx()
[all …]
Da_verify.c78 char *data, EVP_PKEY *pkey) in ASN1_verify() argument
116 (unsigned int)signature->length,pkey) <= 0) in ASN1_verify()
135 ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) in ASN1_item_verify() argument
153 if (!pkey->ameth || !pkey->ameth->item_verify) in ASN1_item_verify()
158 ret = pkey->ameth->item_verify(&ctx, it, asn, a, in ASN1_item_verify()
159 signature, pkey); in ASN1_item_verify()
179 if (EVP_PKEY_type(pknid) != pkey->ameth->pkey_id) in ASN1_item_verify()
185 if (!EVP_DigestVerifyInit(&ctx, NULL, type, NULL, pkey)) in ASN1_item_verify()
/external/openssl/crypto/hmac/
Dhm_ameth.c70 static int hmac_size(const EVP_PKEY *pkey) in hmac_size() argument
75 static void hmac_key_free(EVP_PKEY *pkey) in hmac_key_free() argument
77 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr; in hmac_key_free()
87 static int hmac_pkey_ctrl(EVP_PKEY *pkey, int op, long arg1, void *arg2) in hmac_pkey_ctrl() argument
106 static int old_hmac_decode(EVP_PKEY *pkey, in old_hmac_decode() argument
113 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, os); in old_hmac_decode()
117 static int old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_hmac_encode() argument
120 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr; in old_hmac_encode()
/external/openssl/crypto/rsa/
Drsa_ameth.c70 static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey) in rsa_pub_encode() argument
74 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode()
85 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in rsa_pub_decode() argument
97 EVP_PKEY_assign_RSA (pkey, rsa); in rsa_pub_decode()
103 if (BN_cmp(b->pkey.rsa->n,a->pkey.rsa->n) != 0 in rsa_pub_cmp()
104 || BN_cmp(b->pkey.rsa->e,a->pkey.rsa->e) != 0) in rsa_pub_cmp()
109 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode() argument
118 EVP_PKEY_assign_RSA(pkey, rsa); in old_rsa_priv_decode()
122 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode() argument
124 return i2d_RSAPrivateKey(pkey->pkey.rsa, pder); in old_rsa_priv_encode()
[all …]
Drsa_pmeth.c141 ctx->tbuf = OPENSSL_malloc(EVP_PKEY_size(pk->pkey)); in setup_tbuf()
169 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_fips_check_ctx()
190 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_sign()
273 ret = RSA_private_encrypt(tbslen, tbs, sig, ctx->pkey->pkey.rsa, in pkey_rsa_sign()
296 rctx->tbuf, ctx->pkey->pkey.rsa, in pkey_rsa_verifyrecover()
322 sig, siglen, ctx->pkey->pkey.rsa); in pkey_rsa_verifyrecover()
331 ret = RSA_public_decrypt(siglen, sig, rout, ctx->pkey->pkey.rsa, in pkey_rsa_verifyrecover()
344 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_verify()
422 ret = RSA_public_encrypt(inlen, in, out, ctx->pkey->pkey.rsa, in pkey_rsa_encrypt()
436 ret = RSA_private_decrypt(inlen, in, out, ctx->pkey->pkey.rsa, in pkey_rsa_decrypt()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc58 EVP_PKEY* pkey = EVP_PKEY_new(); in MakeKey() local
62 if (!EVP_PKEY_assign_RSA(pkey, rsa)) { in MakeKey()
63 EVP_PKEY_free(pkey); in MakeKey()
71 if (!pkey || !exponent || !rsa || in MakeKey()
74 !EVP_PKEY_assign_RSA(pkey, rsa)) { in MakeKey()
75 EVP_PKEY_free(pkey); in MakeKey()
84 return pkey; in MakeKey()
89 static X509* MakeCertificate(EVP_PKEY* pkey, const char* common_name) { in MakeCertificate() argument
98 if (!X509_set_pubkey(x509, pkey)) in MakeCertificate()
131 if (!X509_sign(x509, pkey, EVP_sha1())) in MakeCertificate()
[all …]
/external/openssl/apps/
Dgenpkey.c85 EVP_PKEY *pkey=NULL; in MAIN() local
249 if (EVP_PKEY_paramgen(ctx, &pkey) <= 0) in MAIN()
258 if (EVP_PKEY_keygen(ctx, &pkey) <= 0) in MAIN()
267 rv = PEM_write_bio_Parameters(out, pkey); in MAIN()
269 rv = PEM_write_bio_PrivateKey(out, pkey, cipher, NULL, 0, in MAIN()
272 rv = i2d_PrivateKey_bio(out, pkey); in MAIN()
288 rv = EVP_PKEY_print_params(out, pkey, 0, NULL); in MAIN()
290 rv = EVP_PKEY_print_private(out, pkey, 0, NULL); in MAIN()
302 if (pkey) in MAIN()
303 EVP_PKEY_free(pkey); in MAIN()
[all …]
Dpkey.c78 EVP_PKEY *pkey=NULL; in MAIN() local
231 pkey = load_pubkey(bio_err, infile, informat, 1, in MAIN()
234 pkey = load_key(bio_err, infile, informat, 1, in MAIN()
236 if (!pkey) in MAIN()
244 PEM_write_bio_PUBKEY(out,pkey); in MAIN()
246 PEM_write_bio_PrivateKey(out, pkey, cipher, in MAIN()
252 i2d_PUBKEY_bio(out, pkey); in MAIN()
254 i2d_PrivateKey_bio(out, pkey); in MAIN()
267 EVP_PKEY_print_public(out, pkey, 0, NULL); in MAIN()
269 EVP_PKEY_print_private(out, pkey, 0, NULL); in MAIN()
[all …]
/external/openssl/crypto/engine/
Deng_pkey.c99 EVP_PKEY *pkey; in ENGINE_load_private_key() local
122 pkey = e->load_privkey(e, key_id, ui_method, callback_data); in ENGINE_load_private_key()
123 if (!pkey) in ENGINE_load_private_key()
129 return pkey; in ENGINE_load_private_key()
135 EVP_PKEY *pkey; in ENGINE_load_public_key() local
158 pkey = e->load_pubkey(e, key_id, ui_method, callback_data); in ENGINE_load_public_key()
159 if (!pkey) in ENGINE_load_public_key()
165 return pkey; in ENGINE_load_public_key()
/external/openssl/crypto/pkcs7/
Dpk7_lib.c366 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, in PKCS7_SIGNER_INFO_set() argument
386 CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY); in PKCS7_SIGNER_INFO_set()
387 p7i->pkey=pkey; in PKCS7_SIGNER_INFO_set()
394 if (pkey->ameth && pkey->ameth->pkey_ctrl) in PKCS7_SIGNER_INFO_set()
396 ret = pkey->ameth->pkey_ctrl(pkey, ASN1_PKEY_CTRL_PKCS7_SIGN, in PKCS7_SIGNER_INFO_set()
413 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, in PKCS7_add_signature() argument
421 if (EVP_PKEY_get_default_digest_nid(pkey, &def_nid) <= 0) in PKCS7_add_signature()
433 if (!PKCS7_SIGNER_INFO_set(si,x509,pkey,dgst)) goto err; in PKCS7_add_signature()
478 *pk = si->pkey; in PKCS7_SIGNER_INFO_get0_algs()
532 EVP_PKEY *pkey = NULL; in PKCS7_RECIP_INFO_set() local
[all …]

123456