Home
last modified time | relevance | path

Searched refs:pbe_nid (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c320 static const struct pbe_suite *get_pkcs12_pbe_suite(int pbe_nid) { in get_pkcs12_pbe_suite() argument
322 if (kBuiltinPBE[i].pbe_nid == pbe_nid && in get_pkcs12_pbe_suite()
445 int PKCS8_marshal_encrypted_private_key(CBB *out, int pbe_nid, in PKCS8_marshal_encrypted_private_key() argument
490 if (pbe_nid == -1) { in PKCS8_marshal_encrypted_private_key()
494 alg_ok = pkcs12_pbe_encrypt_init(&epki, &ctx, pbe_nid, (unsigned)iterations, in PKCS8_marshal_encrypted_private_key()
Dpkcs8_test.cc180 static void TestRoundTrip(int pbe_nid, const EVP_CIPHER *cipher, in TestRoundTrip() argument
205 pbe_nid, cipher, password, -1, salt, salt_len, iterations, key.get())); in TestRoundTrip()
Dinternal.h94 int pbe_nid; member
Dpkcs8_x509.c201 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, in PKCS8_encrypt() argument
222 !PKCS8_marshal_encrypted_private_key(&cbb, pbe_nid, cipher, pass, in PKCS8_encrypt()
1049 static int add_encrypted_data(CBB *out, int pbe_nid, const char *password, in add_encrypted_data() argument
1077 !pkcs12_pbe_encrypt_init(&encrypted_content_info, &ctx, pbe_nid, in add_encrypted_data()
/external/boringssl/src/include/openssl/
Dpkcs8.h85 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
95 CBB *out, int pbe_nid, const EVP_CIPHER *cipher, const char *pass,