/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
D | pem_pk8.c | 117 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 …]
|
D | pem_pkey.c | 89 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/ |
D | pem_pk8.c | 117 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 …]
|
D | pem_pkey.c | 89 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/ |
D | pkcs8.c | 84 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/ |
D | pkcs8.c | 84 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/ |
D | x_all.c | 448 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 …]
|
D | x509.h | 713 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/ |
D | x_all.c | 448 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 …]
|
D | x509.h | 713 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/ |
D | rsa_private_key_openssl.cc | 91 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/ |
D | rsa_private_key_openssl.cc | 85 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/ |
D | p12_p8e.c | 66 PKCS8_PRIV_KEY_INFO *p8inf) in PKCS8_encrypt() argument 86 pass, passlen, p8inf, 1); in PKCS8_encrypt()
|
/external/openssl/crypto/pkcs12/ |
D | p12_p8e.c | 66 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/ |
D | asn1_locl.h | 89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
|
D | ameth_lib.c | 421 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private() argument
|
/external/openssl/crypto/asn1/ |
D | asn1_locl.h | 89 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
|
D | ameth_lib.c | 421 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), in EVP_PKEY_asn1_set_private() argument
|
/external/openssl/include/openssl/ |
D | x509.h | 713 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);
|
D | evp.h | 1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | x509.h | 713 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);
|
D | evp.h | 1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
|
/external/openssl/crypto/evp/ |
D | evp.h | 1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
D | evp.h | 1034 int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf),
|