Home
last modified time | relevance | path

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

/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/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.c358 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/
Dx_all.c358 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/
Dpkcs8.h89 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h842 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/
Dpkcs8.h89 PKCS8_PRIV_KEY_INFO *p8inf);
Dx509.h669 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/
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/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/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c203 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/
Dpkcs8_x509.c234 int iterations, PKCS8_PRIV_KEY_INFO *p8inf) { in PKCS8_encrypt() argument
243 EVP_PKEY *pkey = EVP_PKCS82PKEY(p8inf); in PKCS8_encrypt()