/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/ |
D | pem_pk8.c | 114 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local 117 if (!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey() 129 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 135 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey() 138 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 147 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey() 149 ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey() 150 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 158 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local 176 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio() [all …]
|
D | pem_pkey.c | 85 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 86 p8inf = d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in PEM_read_bio_PrivateKey() 87 if (!p8inf) in PEM_read_bio_PrivateKey() 89 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 95 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey() 97 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 114 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey() 117 if (!p8inf) in PEM_read_bio_PrivateKey() 119 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 125 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
|
/external/boringssl/src/crypto/pem/ |
D | pem_pk8.c | 114 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local 117 if (!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey() 129 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 135 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey() 138 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 147 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey() 149 ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey() 150 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey() 158 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local 176 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio() [all …]
|
D | pem_pkey.c | 85 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 86 p8inf = d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); in PEM_read_bio_PrivateKey() 87 if (!p8inf) in PEM_read_bio_PrivateKey() 89 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 95 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey() 97 PKCS8_PRIV_KEY_INFO *p8inf; in PEM_read_bio_PrivateKey() local 114 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey() 117 if (!p8inf) in PEM_read_bio_PrivateKey() 119 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey() 125 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | x_all.c | 358 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 360 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 361 if (!p8inf) in IMPLEMENT_D2I_FP() 363 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP() 364 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP() 381 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 383 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 384 if (!p8inf) in IMPLEMENT_D2I_FP() 386 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP() 387 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
|
/external/boringssl/src/crypto/x509/ |
D | x_all.c | 358 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 360 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 361 if (!p8inf) in IMPLEMENT_D2I_FP() 363 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP() 364 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP() 381 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local 383 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP() 384 if (!p8inf) in IMPLEMENT_D2I_FP() 386 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP() 387 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
|
/external/boringssl/src/include/openssl/ |
D | pkcs8.h | 89 PKCS8_PRIV_KEY_INFO *p8inf);
|
D | x509.h | 842 FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf); 844 PKCS8_PRIV_KEY_INFO *p8inf); 877 BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf); 879 PKCS8_PRIV_KEY_INFO *p8inf);
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | pkcs8.h | 89 PKCS8_PRIV_KEY_INFO *p8inf);
|
D | x509.h | 669 FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf); 671 PKCS8_PRIV_KEY_INFO *p8inf); 704 BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf); 706 PKCS8_PRIV_KEY_INFO *p8inf);
|
/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/rust/crates/quiche/deps/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/rust/crates/quiche/deps/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()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 234 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument 243 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()
|