/external/chromium_org/third_party/boringssl/src/crypto/pem/ |
pem_pk8.c | 116 PKCS8_PRIV_KEY_INFO *p8inf; local 119 if(!(p8inf = EVP_PKEY2PKCS8(x))) { 130 PKCS8_PRIV_KEY_INFO_free(p8inf); 136 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); 138 PKCS8_PRIV_KEY_INFO_free(p8inf); 144 if(isder) ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); 145 else ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); 146 PKCS8_PRIV_KEY_INFO_free(p8inf); 153 PKCS8_PRIV_KEY_INFO *p8inf = NULL; local 169 p8inf = PKCS8_decrypt(p8, psbuf, klen) [all...] |
pem_pkey.c | 90 PKCS8_PRIV_KEY_INFO *p8inf; local 91 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); 92 if(!p8inf) goto p8err; 93 ret = EVP_PKCS82PKEY(p8inf); 98 PKCS8_PRIV_KEY_INFO_free(p8inf); 100 PKCS8_PRIV_KEY_INFO *p8inf; local 114 p8inf = PKCS8_decrypt(p8, psbuf, klen); 116 if(!p8inf) goto p8err; 117 ret = EVP_PKCS82PKEY(p8inf); 122 PKCS8_PRIV_KEY_INFO_free(p8inf); [all...] |
/external/openssl/crypto/pem/ |
pem_pk8.c | 117 PKCS8_PRIV_KEY_INFO *p8inf; local 120 if(!(p8inf = EVP_PKEY2PKCS8(x))) { 131 PKCS8_PRIV_KEY_INFO_free(p8inf); 137 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); 139 PKCS8_PRIV_KEY_INFO_free(p8inf); 145 if(isder) ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); 146 else ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); 147 PKCS8_PRIV_KEY_INFO_free(p8inf); 154 PKCS8_PRIV_KEY_INFO *p8inf = NULL; local 168 p8inf = PKCS8_decrypt(p8, psbuf, klen) [all...] |
pem_pkey.c | 89 PKCS8_PRIV_KEY_INFO *p8inf; local 90 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); 91 if(!p8inf) goto p8err; 92 ret = EVP_PKCS82PKEY(p8inf); 97 PKCS8_PRIV_KEY_INFO_free(p8inf); 99 PKCS8_PRIV_KEY_INFO *p8inf; local 113 p8inf = PKCS8_decrypt(p8, psbuf, klen); 115 if(!p8inf) goto p8err; 116 ret = EVP_PKCS82PKEY(p8inf); 121 PKCS8_PRIV_KEY_INFO_free(p8inf); [all...] |
/external/openssl/apps/ |
pkcs8.c | 84 PKCS8_PRIV_KEY_INFO *p8inf = NULL; local 282 if (!(p8inf = EVP_PKEY2PKCS8_broken(pkey, p8_broken))) 291 PEM_write_bio_PKCS8_PRIV_KEY_INFO(out, p8inf); 293 i2d_PKCS8_PRIV_KEY_INFO_bio(out, p8inf); 313 NULL, 0, iter, p8inf))) 338 p8inf = PEM_read_bio_PKCS8_PRIV_KEY_INFO(in,NULL,NULL, NULL); 340 p8inf = d2i_PKCS8_PRIV_KEY_INFO_bio(in, NULL); 372 p8inf = PKCS8_decrypt(p8, p8pass, strlen(p8pass)); 375 if (!p8inf) 382 if (!(pkey = EVP_PKCS82PKEY(p8inf))) [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
x_all.c | 456 PKCS8_PRIV_KEY_INFO **p8inf) 459 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); 462 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) 465 p8inf); 470 PKCS8_PRIV_KEY_INFO *p8inf; local 472 p8inf = EVP_PKEY2PKCS8(key); 473 if(!p8inf) return 0; 474 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); 475 PKCS8_PRIV_KEY_INFO_free(p8inf); 500 PKCS8_PRIV_KEY_INFO **p8inf) 514 PKCS8_PRIV_KEY_INFO *p8inf; local [all...] |
/external/openssl/crypto/x509/ |
x_all.c | 450 PKCS8_PRIV_KEY_INFO **p8inf) 453 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf); 456 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) 459 p8inf); 464 PKCS8_PRIV_KEY_INFO *p8inf; local 466 p8inf = EVP_PKEY2PKCS8(key); 467 if(!p8inf) return 0; 468 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); 469 PKCS8_PRIV_KEY_INFO_free(p8inf); 496 PKCS8_PRIV_KEY_INFO **p8inf) 510 PKCS8_PRIV_KEY_INFO *p8inf; local [all...] |