Home
last modified time | relevance | path

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

/external/chromium_org/third_party/openssl/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/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/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/openssl/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/openssl/crypto/x509/
Dx_all.c448 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_fp() argument
451 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); in d2i_PKCS8_PRIV_KEY_INFO_fp()
454 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp() argument
457 p8inf); in i2d_PKCS8_PRIV_KEY_INFO_fp()
462 PKCS8_PRIV_KEY_INFO *p8inf; in i2d_PKCS8PrivateKeyInfo_fp() local
464 p8inf = EVP_PKEY2PKCS8(key); in i2d_PKCS8PrivateKeyInfo_fp()
465 if(!p8inf) return 0; in i2d_PKCS8PrivateKeyInfo_fp()
466 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
467 PKCS8_PRIV_KEY_INFO_free(p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
494 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/third_party/openssl/openssl/crypto/x509/
Dx_all.c448 PKCS8_PRIV_KEY_INFO **p8inf) in d2i_PKCS8_PRIV_KEY_INFO_fp() argument
451 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); in d2i_PKCS8_PRIV_KEY_INFO_fp()
454 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp() argument
457 p8inf); in i2d_PKCS8_PRIV_KEY_INFO_fp()
462 PKCS8_PRIV_KEY_INFO *p8inf; in i2d_PKCS8PrivateKeyInfo_fp() local
464 p8inf = EVP_PKEY2PKCS8(key); in i2d_PKCS8PrivateKeyInfo_fp()
465 if(!p8inf) return 0; in i2d_PKCS8PrivateKeyInfo_fp()
466 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
467 PKCS8_PRIV_KEY_INFO_free(p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
494 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/crypto/
Drsa_private_key_openssl.cc91 ScopedOpenSSL<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free> p8inf( in CreateFromPrivateKeyInfo() local
93 if (!p8inf.get()) in CreateFromPrivateKeyInfo()
97 result->key_ = EVP_PKCS82PKEY(p8inf.get()); in CreateFromPrivateKeyInfo()
/external/chromium_org/crypto/
Drsa_private_key_openssl.cc85 ScopedOpenSSL<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free> p8inf( in CreateFromPrivateKeyInfo() local
87 if (!p8inf.get()) in CreateFromPrivateKeyInfo()
91 result->key_ = EVP_PKCS82PKEY(p8inf.get()); in CreateFromPrivateKeyInfo()
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/
Dp12_p8e.c66 PKCS8_PRIV_KEY_INFO *p8inf) in PKCS8_encrypt() argument
86 pass, passlen, p8inf, 1); in PKCS8_encrypt()
/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/openssl/openssl/crypto/asn1/
Dasn1_locl.h89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
Dameth_lib.c421 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private() argument
/external/openssl/crypto/asn1/
Dasn1_locl.h89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
Dameth_lib.c421 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private() argument
/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/chromium_org/third_party/openssl/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),
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
Devp.h1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),