Home
last modified time | relevance | path

Searched refs:p8inf (Results 1 – 20 of 20) sorted by relevance

/external/openssl/crypto/pem/
Dpem_pk8.c117 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local
120 if(!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey()
131 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
137 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
139 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
145 if(isder) ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey()
146 else ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey()
147 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
154 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local
168 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
[all …]
Dpem_pkey.c89 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local
90 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in PEM_read_bio_PrivateKey()
91 if(!p8inf) goto p8err; in PEM_read_bio_PrivateKey()
92 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
97 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
99 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local
113 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey()
115 if(!p8inf) goto p8err; in PEM_read_bio_PrivateKey()
116 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
121 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
/external/chromium_org/third_party/boringssl/src/crypto/pem/
Dpem_pk8.c116 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local
119 if(!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey()
130 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
136 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
138 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
144 if(isder) ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey()
145 else ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey()
146 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
153 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local
169 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
[all …]
Dpem_pkey.c90 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local
91 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in PEM_read_bio_PrivateKey()
92 if(!p8inf) goto p8err; in PEM_read_bio_PrivateKey()
93 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
98 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
100 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local
114 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey()
116 if(!p8inf) goto p8err; in PEM_read_bio_PrivateKey()
117 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
122 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
/external/openssl/apps/
Dpkcs8.c84 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in MAIN() local
282 if (!(p8inf = EVP_PKEY2PKCS8_broken(pkey, p8_broken))) in MAIN()
291 PEM_write_bio_PKCS8_PRIV_KEY_INFO(out, p8inf); in MAIN()
293 i2d_PKCS8_PRIV_KEY_INFO_bio(out, p8inf); in MAIN()
313 NULL, 0, iter, p8inf))) in MAIN()
338 p8inf = PEM_read_bio_PKCS8_PRIV_KEY_INFO(in,NULL,NULL, NULL); in MAIN()
340 p8inf = d2i_PKCS8_PRIV_KEY_INFO_bio(in, NULL); in MAIN()
372 p8inf = PKCS8_decrypt(p8, p8pass, strlen(p8pass)); in MAIN()
375 if (!p8inf) in MAIN()
382 if (!(pkey = EVP_PKCS82PKEY(p8inf))) in MAIN()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx_all.c456 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_fp() argument
459 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); in d2i_PKCS8_PRIV_KEY_INFO_fp()
462 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp() argument
465 p8inf); in i2d_PKCS8_PRIV_KEY_INFO_fp()
470 PKCS8_PRIV_KEY_INFO *p8inf; in i2d_PKCS8PrivateKeyInfo_fp() local
472 p8inf = EVP_PKEY2PKCS8(key); in i2d_PKCS8PrivateKeyInfo_fp()
473 if(!p8inf) return 0; in i2d_PKCS8PrivateKeyInfo_fp()
474 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
475 PKCS8_PRIV_KEY_INFO_free(p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
500 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_bio() argument
[all …]
/external/openssl/crypto/x509/
Dx_all.c450 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_fp() argument
453 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); in d2i_PKCS8_PRIV_KEY_INFO_fp()
456 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp() argument
459 p8inf); in i2d_PKCS8_PRIV_KEY_INFO_fp()
464 PKCS8_PRIV_KEY_INFO *p8inf; in i2d_PKCS8PrivateKeyInfo_fp() local
466 p8inf = EVP_PKEY2PKCS8(key); in i2d_PKCS8PrivateKeyInfo_fp()
467 if(!p8inf) return 0; in i2d_PKCS8PrivateKeyInfo_fp()
468 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
469 PKCS8_PRIV_KEY_INFO_free(p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
496 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_bio() argument
[all …]
Dx509.h713 PKCS8_PRIV_KEY_INFO **p8inf);
714 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf);
752 PKCS8_PRIV_KEY_INFO **p8inf);
753 int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf);
/external/chromium_org/crypto/
Drsa_private_key_openssl.cc88 ScopedOpenSSL<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free>::Type p8inf( in CreateFromPrivateKeyInfo() local
90 if (!p8inf.get()) in CreateFromPrivateKeyInfo()
94 result->key_ = EVP_PKCS82PKEY(p8inf.get()); in CreateFromPrivateKeyInfo()
/external/openssl/crypto/pkcs12/
Dp12_p8e.c66 PKCS8_PRIV_KEY_INFO *p8inf) in PKCS8_encrypt() argument
86 pass, passlen, p8inf, 1); in PKCS8_encrypt()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dpkcs8.h92 PKCS8_PRIV_KEY_INFO *p8inf);
117 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h670 PKCS8_PRIV_KEY_INFO **p8inf);
671 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf);
705 PKCS8_PRIV_KEY_INFO **p8inf);
706 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf);
/external/openssl/crypto/asn1/
Dasn1_locl.h89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
Dameth_lib.c426 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private() argument
/external/chromium_org/content/child/webcrypto/openssl/
Drsa_key_openssl.cc346 p8inf(d2i_PKCS8_PRIV_KEY_INFO_bio(bio.get(), NULL)); in ImportKeyPkcs8() local
347 if (!p8inf.get()) in ImportKeyPkcs8()
350 crypto::ScopedEVP_PKEY private_key(EVP_PKCS82PKEY(p8inf.get())); in ImportKeyPkcs8()
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
Dpkcs8.c483 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument
499 salt, salt_len, iterations, p8inf); in PKCS8_encrypt()
511 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt_pbe() argument
531 pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), pass_raw, pass_raw_len, p8inf); in PKCS8_encrypt_pbe()
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dinternal.h85 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
/external/openssl/include/openssl/
Dx509.h713 PKCS8_PRIV_KEY_INFO **p8inf);
714 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf);
752 PKCS8_PRIV_KEY_INFO **p8inf);
753 int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf);
Devp.h1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
/external/openssl/crypto/evp/
Devp.h1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),