/third_party/openssl/test/ |
D | pbelutest.c | 21 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()
|
/third_party/openssl/crypto/evp/ |
D | evp_pbe.c | 26 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 == NID_undef) in EVP_PBE_find_ex() 250 pbelu.pbe_nid = pbe_nid; in EVP_PBE_find_ex() 272 int EVP_PBE_find(int type, int pbe_nid, in EVP_PBE_find() argument 275 return EVP_PBE_find_ex(type, pbe_nid, pcnid, pmnid, pkeygen, NULL); in EVP_PBE_find() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | evp_pbe.c | 26 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 == NID_undef) in EVP_PBE_find_ex() 250 pbelu.pbe_nid = pbe_nid; in EVP_PBE_find_ex() 272 int EVP_PBE_find(int type, int pbe_nid, in EVP_PBE_find() argument 275 return EVP_PBE_find_ex(type, pbe_nid, pcnid, pmnid, pkeygen, NULL); in EVP_PBE_find() [all …]
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_p8e.c | 16 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()
|
D | p12_sbag.c | 201 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()
|
D | p12_add.c | 92 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/crypto/pkcs12/ |
D | p12_p8e.c | 16 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()
|
D | p12_sbag.c | 201 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()
|
D | p12_add.c | 92 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/apps/ |
D | pkcs8.c | 86 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/openssl/apps/ |
D | pkcs8.c | 86 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/doc/man3/ |
D | EVP_PBE_CipherInit.pod | 19 int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid, 21 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, 24 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, 64 2. A I<pbe_nid> which can represent the algorithm identifier with parameters e.g.
|
D | PKCS12_pack_p7encdata.pod | 12 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 15 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, 23 type from the set of safeBags I<bags>. The algorithm ID in I<pbe_nid> can be
|
/third_party/node/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ |
D | pkcs12.h | 145 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/no-asm/include/openssl/ |
D | pkcs12.h | 145 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/asm_avx2/include/openssl/ |
D | pkcs12.h | 145 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/no-asm/include/openssl/ |
D | pkcs12.h | 145 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/linux64-riscv64/no-asm/include/openssl/ |
D | pkcs12.h | 145 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-ppc64le/no-asm/include/openssl/ |
D | pkcs12.h | 145 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/VC-WIN32/no-asm/include/openssl/ |
D | pkcs12.h | 145 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/solaris-x86-gcc/asm_avx2/include/openssl/ |
D | pkcs12.h | 145 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/VC-WIN64A/asm/include/openssl/ |
D | pkcs12.h | 145 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/VC-WIN32/asm_avx2/include/openssl/ |
D | pkcs12.h | 145 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-x86_64/asm_avx2/include/openssl/ |
D | pkcs12.h | 145 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/linux64-mips64/asm_avx2/include/openssl/ |
D | pkcs12.h | 145 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,
|