Searched refs:p8inf (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/crypto/pem/ |
D | pem_pk8.c | 115 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local 118 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() 139 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 148 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey() 150 ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey() 151 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 159 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local 177 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio() [all …]
|
D | pem_pkey.c | 86 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 87 p8inf = d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in PEM_read_bio_PrivateKey() 88 if (!p8inf) in PEM_read_bio_PrivateKey() 90 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 96 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey() 98 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 115 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey() 118 if (!p8inf) in PEM_read_bio_PrivateKey() 120 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 126 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
|
/external/boringssl/src/crypto/x509/ |
D | x_all.c | 359 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 361 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 362 if (!p8inf) in IMPLEMENT_D2I_FP() 364 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP() 365 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP() 382 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 384 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 385 if (!p8inf) in IMPLEMENT_D2I_FP() 387 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP() 388 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
|
/external/boringssl/src/crypto/evp/ |
D | evp_extra_test.cc | 484 bssl::UniquePtr<PKCS8_PRIV_KEY_INFO> p8inf( in TEST() local 486 ASSERT_TRUE(p8inf); in TEST() 489 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST()
|
/external/boringssl/src/include/openssl/ |
D | pkcs8.h | 89 PKCS8_PRIV_KEY_INFO *p8inf);
|
D | x509.h | 635 PKCS8_PRIV_KEY_INFO **p8inf); 636 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf); 669 PKCS8_PRIV_KEY_INFO **p8inf); 670 OPENSSL_EXPORT int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf);
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 203 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument 212 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()
|