Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pem/
Dpem_pkey.c85 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()
90 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
118 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey()
121 if (!p8inf) { in PEM_read_bio_PrivateKey()
124 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
131 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
Dpem_pk8.c106 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local
109 if (!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey()
122 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
128 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
132 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
142 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey()
144 ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey()
146 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
153 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local
173 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
[all …]
/external/cronet/third_party/boringssl/src/crypto/pem/
Dpem_pkey.c85 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()
90 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
118 p8inf = PKCS8_decrypt(p8, psbuf, klen); in PEM_read_bio_PrivateKey()
121 if (!p8inf) { in PEM_read_bio_PrivateKey()
124 ret = EVP_PKCS82PKEY(p8inf); in PEM_read_bio_PrivateKey()
131 PKCS8_PRIV_KEY_INFO_free(p8inf); in PEM_read_bio_PrivateKey()
Dpem_pk8.c106 PKCS8_PRIV_KEY_INFO *p8inf; in do_pk8pkey() local
109 if (!(p8inf = EVP_PKEY2PKCS8(x))) { in do_pk8pkey()
122 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
128 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
132 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
142 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in do_pk8pkey()
144 ret = PEM_write_bio_PKCS8_PRIV_KEY_INFO(bp, p8inf); in do_pk8pkey()
146 PKCS8_PRIV_KEY_INFO_free(p8inf); in do_pk8pkey()
153 PKCS8_PRIV_KEY_INFO *p8inf = NULL; in d2i_PKCS8PrivateKey_bio() local
173 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_pk8.c114 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 …]
Dpem_pkey.c85 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/
Dx_all.c346 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
348 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
349 if (!p8inf) in IMPLEMENT_D2I_FP()
351 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP()
352 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
369 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
371 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
372 if (!p8inf) in IMPLEMENT_D2I_FP()
374 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP()
375 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
/external/boringssl/src/crypto/x509/
Dx_all.c315 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
317 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
318 if (!p8inf) { in IMPLEMENT_D2I_FP()
321 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP()
322 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
338 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
340 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
341 if (!p8inf) { in IMPLEMENT_D2I_FP()
344 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP()
345 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
/external/cronet/third_party/boringssl/src/crypto/x509/
Dx_all.c315 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
317 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
318 if (!p8inf) { in IMPLEMENT_D2I_FP()
321 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in IMPLEMENT_D2I_FP()
322 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
338 PKCS8_PRIV_KEY_INFO *p8inf; in IMPLEMENT_D2I_FP() local
340 p8inf = EVP_PKEY2PKCS8(key); in IMPLEMENT_D2I_FP()
341 if (!p8inf) { in IMPLEMENT_D2I_FP()
344 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in IMPLEMENT_D2I_FP()
345 PKCS8_PRIV_KEY_INFO_free(p8inf); in IMPLEMENT_D2I_FP()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_extra_test.cc484 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/
Dpkcs8.h89 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h1913 BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf);
1937 PKCS8_PRIV_KEY_INFO *p8inf);
1961 FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf);
1979 PKCS8_PRIV_KEY_INFO *p8inf);
/external/cronet/third_party/boringssl/src/include/openssl/
Dpkcs8.h89 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h1806 BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf);
1830 PKCS8_PRIV_KEY_INFO *p8inf);
1854 FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf);
1872 PKCS8_PRIV_KEY_INFO *p8inf);
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dpkcs8.h89 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h704 FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf);
706 PKCS8_PRIV_KEY_INFO *p8inf);
738 BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf);
740 PKCS8_PRIV_KEY_INFO *p8inf);
/external/cronet/third_party/boringssl/src/crypto/evp/
Devp_extra_test.cc797 bssl::UniquePtr<PKCS8_PRIV_KEY_INFO> p8inf( in TEST() local
799 ASSERT_TRUE(p8inf); in TEST()
802 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST()
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc797 bssl::UniquePtr<PKCS8_PRIV_KEY_INFO> p8inf( in TEST() local
799 ASSERT_TRUE(p8inf); in TEST()
802 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKCS82PKEY(p8inf.get())); in TEST()
/external/rust/crates/openssl/src/
Dpkey.rs654 let p8inf = cvt_p(ffi::d2i_PKCS8_PRIV_KEY_INFO( in private_key_from_pkcs8() localVariable
659 let res = cvt_p(ffi::EVP_PKCS82PKEY(p8inf)).map(|p| PKey::from_ptr(p)); in private_key_from_pkcs8()
660 ffi::PKCS8_PRIV_KEY_INFO_free(p8inf); in private_key_from_pkcs8()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c188 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument
197 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c234 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument
243 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()
/external/cronet/third_party/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c188 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument
197 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()