Home
last modified time | relevance | path

Searched refs:pbe_nid (Results 1 - 25 of 134) sorted by relevance

123456

/third_party/openssl/test/
H A Dpbelutest.c21 int pbe_type, pbe_nid, last_type = -1, last_nid = -1; in test_pbelu() local
23 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { in test_pbelu()
24 if (!TEST_true(EVP_PBE_find(pbe_type, pbe_nid, NULL, NULL, 0))) { in test_pbelu()
25 TEST_note("i=%d, pbe_type=%d, pbe_nid=%d", i, pbe_type, pbe_nid); in test_pbelu()
35 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { in test_pbelu()
37 || (pbe_type == last_type && pbe_nid < last_nid); in test_pbelu()
38 TEST_note("PBE type=%d %d (%s): %s\n", pbe_type, pbe_nid, in test_pbelu()
39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); in test_pbelu()
41 last_nid = pbe_nid; in test_pbelu()
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Devp_pbe.c26 int pbe_nid; member
176 return pbe1->pbe_nid - pbe2->pbe_nid; in pbe2_cmp()
187 return (*a)->pbe_nid - (*b)->pbe_nid; in pbe_cmp()
192 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, in EVP_PBE_alg_add_type() argument
207 pbe_tmp->pbe_nid = pbe_nid; in EVP_PBE_alg_add_type()
241 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, in EVP_PBE_find_ex() argument
246 if (pbe_nid in EVP_PBE_find_ex()
272 EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid, EVP_PBE_KEYGEN **pkeygen) EVP_PBE_find() argument
[all...]
/third_party/openssl/crypto/evp/
H A Devp_pbe.c26 int pbe_nid; member
176 return pbe1->pbe_nid - pbe2->pbe_nid; in pbe2_cmp()
187 return (*a)->pbe_nid - (*b)->pbe_nid; in pbe_cmp()
192 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, in EVP_PBE_alg_add_type() argument
207 pbe_tmp->pbe_nid = pbe_nid; in EVP_PBE_alg_add_type()
241 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, in EVP_PBE_find_ex() argument
246 if (pbe_nid in EVP_PBE_find_ex()
272 EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid, EVP_PBE_KEYGEN **pkeygen) EVP_PBE_find() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/pkcs12/
H A Dp12_p8e.c16 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt_ex() argument
25 if (pbe_nid == -1) { in PKCS8_encrypt_ex()
34 if (EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { in PKCS8_encrypt_ex()
41 pbe_nid, libctx); in PKCS8_encrypt_ex()
44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); in PKCS8_encrypt_ex()
60 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt() argument
65 return PKCS8_encrypt_ex(pbe_nid, cipher, pass, passlen, salt, saltlen, iter, in PKCS8_encrypt()
H A Dp12_sbag.c201 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() argument
216 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
218 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
222 pbe_nid = -1; in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
224 p8 = PKCS8_encrypt_ex(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
238 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt() argument
245 return PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(pbe_nid, pass, passlen, in PKCS12_SAFEBAG_create_pkcs8_encrypt()
H A Dp12_add.c92 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata_ex() argument
112 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex()
114 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_pack_p7encdata_ex()
120 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); in PKCS12_pack_p7encdata_ex()
146 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata() argument
150 return PKCS12_pack_p7encdata_ex(pbe_nid, pass, passlen, salt, saltlen, in PKCS12_pack_p7encdata()
/third_party/openssl/crypto/pkcs12/
H A Dp12_p8e.c16 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt_ex() argument
25 if (pbe_nid == -1) { in PKCS8_encrypt_ex()
34 if (EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { in PKCS8_encrypt_ex()
41 pbe_nid, libctx); in PKCS8_encrypt_ex()
44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); in PKCS8_encrypt_ex()
60 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt() argument
65 return PKCS8_encrypt_ex(pbe_nid, cipher, pass, passlen, salt, saltlen, iter, in PKCS8_encrypt()
H A Dp12_sbag.c201 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() argument
216 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
218 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
222 pbe_nid = -1; in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
224 p8 = PKCS8_encrypt_ex(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
238 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt() argument
245 return PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(pbe_nid, pass, passlen, in PKCS12_SAFEBAG_create_pkcs8_encrypt()
H A Dp12_add.c92 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata_ex() argument
112 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex()
114 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_pack_p7encdata_ex()
120 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); in PKCS12_pack_p7encdata_ex()
146 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata() argument
150 return PKCS12_pack_p7encdata_ex(pbe_nid, pass, passlen, salt, saltlen, in PKCS12_pack_p7encdata()
/third_party/node/deps/openssl/openssl/apps/
H A Dpkcs8.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; in pkcs8_main() local
142 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
143 if (pbe_nid == NID_undef) { in pkcs8_main()
150 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
151 if (!EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { in pkcs8_main()
214 if ((pbe_nid == -1) && cipher == NULL) in pkcs8_main()
254 pbe_nid); in pkcs8_main()
256 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); in pkcs8_main()
/third_party/openssl/apps/
H A Dpkcs8.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; in pkcs8_main() local
142 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
143 if (pbe_nid == NID_undef) { in pkcs8_main()
150 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
151 if (!EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { in pkcs8_main()
214 if ((pbe_nid == -1) && cipher == NULL) in pkcs8_main()
254 pbe_nid); in pkcs8_main()
256 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); in pkcs8_main()
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/BSD-x86/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/
H A Dpkcs12.h145 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid,
151 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid,
173 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
176 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
190 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,

Completed in 15 milliseconds

123456