Searched refs:pbe_nid (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8.c | 274 int pbe_nid; member 301 static const struct pbe_suite *get_pbe_suite(int pbe_nid) { in get_pbe_suite() argument 304 if (kBuiltinPBE[i].pbe_nid == pbe_nid) { in get_pbe_suite() 321 static int pass_to_pass_raw(int pbe_nid, const char *pass, int pass_len, in pass_to_pass_raw() argument 336 const struct pbe_suite *suite = get_pbe_suite(pbe_nid); in pass_to_pass_raw() 534 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, in PKCS8_encrypt() argument 539 if (!pass_to_pass_raw(pbe_nid, pass, pass_len, &pass_raw, &pass_raw_len)) { in PKCS8_encrypt() 543 X509_SIG *ret = PKCS8_encrypt_pbe(pbe_nid, cipher, pass_raw, pass_raw_len, in PKCS8_encrypt() 553 X509_SIG *PKCS8_encrypt_pbe(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt_pbe() argument 566 if (pbe_nid == -1) { in PKCS8_encrypt_pbe() [all …]
|
/external/boringssl/src/include/openssl/ |
D | pkcs8.h | 87 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt_pbe(int pbe_nid, 124 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
|