| /src/crypto/external/apache2/openssl/dist/test/ |
| pbelutest.c | 21 int pbe_type, pbe_nid, last_type = -1, last_nid = -1; local 23 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 24 if (!TEST_true(EVP_PBE_find(pbe_type, pbe_nid, NULL, NULL, 0))) { 25 TEST_note("i=%d, pbe_type=%d, pbe_nid=%d", i, pbe_type, pbe_nid); 35 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 37 || (pbe_type == last_type && pbe_nid < last_nid); 38 TEST_note("PBE type=%d %d (%s): %s\n", pbe_type, pbe_nid, 39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); 41 last_nid = pbe_nid; [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| pbelutest.c | 21 int pbe_type, pbe_nid, last_type = -1, last_nid = -1; local 23 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 24 if (!TEST_true(EVP_PBE_find(pbe_type, pbe_nid, NULL, NULL, 0))) { 25 TEST_note("i=%d, pbe_type=%d, pbe_nid=%d", i, pbe_type, pbe_nid); 35 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 37 || (pbe_type == last_type && pbe_nid < last_nid); 38 TEST_note("PBE type=%d %d (%s): %s\n", pbe_type, pbe_nid, 39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); 41 last_nid = pbe_nid; [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| pbelutest.c | 21 int pbe_type, pbe_nid, last_type = -1, last_nid = -1; local 23 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 24 if (!TEST_true(EVP_PBE_find(pbe_type, pbe_nid, NULL, NULL, 0))) { 25 TEST_note("i=%d, pbe_type=%d, pbe_nid=%d", i, pbe_type, pbe_nid); 35 for (i = 0; EVP_PBE_get(&pbe_type, &pbe_nid, i) != 0; i++) { 37 || (pbe_type == last_type && pbe_nid < last_nid); 38 TEST_note("PBE type=%d %d (%s): %s\n", pbe_type, pbe_nid, 39 OBJ_nid2sn(pbe_nid), failed ? "ERROR" : "OK"); 41 last_nid = pbe_nid; [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/ |
| p12_p8e.c | 15 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 23 if (pbe_nid == -1) 25 else if (EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) 26 pbe = PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, pbe_nid); 29 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
|
| p12_sbag.c | 137 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 148 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 150 pbe_nid = -1; 152 p8 = PKCS8_encrypt(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter,
|
| p12_add.c | 84 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 102 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 107 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen);
|
| p12_npas.c | 63 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0; local 82 &pbe_nid, &pbe_iter, &pbe_saltlen)) 95 p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL,
|
| /src/crypto/external/apache2/openssl/dist/crypto/pkcs12/ |
| p12_p8e.c | 16 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, 25 if (pbe_nid == -1) { 34 if (EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { 41 pbe_nid, libctx); 44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); 60 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 65 return PKCS8_encrypt_ex(pbe_nid, cipher, pass, passlen, salt, saltlen, iter,
|
| p12_sbag.c | 245 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, 260 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); 262 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 266 pbe_nid = -1; 268 p8 = PKCS8_encrypt_ex(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, 282 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 289 return PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(pbe_nid, pass, passlen,
|
| p12_add.c | 94 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, 114 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); 116 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 122 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); 147 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 151 return PKCS12_pack_p7encdata_ex(pbe_nid, pass, passlen, salt, saltlen,
|
| p12_npas.c | 64 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0, cipherid = NID_undef; local 85 &pbe_nid, &pbe_iter, &pbe_saltlen, &cipherid)) 99 p7new = PKCS12_pack_p7encdata_ex(pbe_nid, newpass, -1, NULL,
|
| /src/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
| p12_p8e.c | 16 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, 25 if (pbe_nid == -1) { 34 if (EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { 41 pbe_nid, libctx); 44 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, libctx); 60 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 65 return PKCS8_encrypt_ex(pbe_nid, cipher, pass, passlen, salt, saltlen, iter,
|
| p12_sbag.c | 201 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, 216 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); 218 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 222 pbe_nid = -1; 224 p8 = PKCS8_encrypt_ex(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, 238 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 245 return PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(pbe_nid, pass, passlen,
|
| p12_add.c | 92 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, 112 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); 114 pbe_ciph = EVP_get_cipherbynid(pbe_nid); 120 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); 146 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 150 return PKCS12_pack_p7encdata_ex(pbe_nid, pass, passlen, salt, saltlen,
|
| p12_npas.c | 62 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0; local 82 &pbe_nid, &pbe_iter, &pbe_saltlen)) 95 p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL,
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| evp_pbe.c | 23 int pbe_nid; member in struct:evp_pbe_st 144 return pbe1->pbe_nid - pbe2->pbe_nid; 155 return (*a)->pbe_nid - (*b)->pbe_nid; 160 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, 175 pbe_tmp->pbe_nid = pbe_nid; 209 int EVP_PBE_find(int type, int pbe_nid, 214 if (pbe_nid == NID_undef [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| evp_pbe.c | 26 int pbe_nid; member in struct:evp_pbe_st 183 return pbe1->pbe_nid - pbe2->pbe_nid; 194 return (*a)->pbe_nid - (*b)->pbe_nid; 199 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, 216 pbe_tmp->pbe_nid = pbe_nid; 250 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, 255 if (pbe_nid == NID_undef [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| evp_pbe.c | 26 int pbe_nid; member in struct:evp_pbe_st 176 return pbe1->pbe_nid - pbe2->pbe_nid; 187 return (*a)->pbe_nid - (*b)->pbe_nid; 192 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, 207 pbe_tmp->pbe_nid = pbe_nid; 241 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, 246 if (pbe_nid == NID_undef [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/ |
| pkcs8.c | 106 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; local 163 pbe_nid = OBJ_txt2nid(opt_arg()); 164 if (pbe_nid == NID_undef) { 171 pbe_nid = OBJ_txt2nid(opt_arg()); 172 if (!EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { 238 if ((pbe_nid == -1) && cipher == NULL) 277 pbe_nid); 279 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, saltlen);
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| pkcs8.c | 86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; local 142 pbe_nid = OBJ_txt2nid(opt_arg()); 143 if (pbe_nid == NID_undef) { 150 pbe_nid = OBJ_txt2nid(opt_arg()); 151 if (!EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { 214 if ((pbe_nid == -1) && cipher == NULL) 254 pbe_nid); 256 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0);
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| pkcs8.c | 77 int informat = FORMAT_PEM, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; local 130 pbe_nid = OBJ_txt2nid(opt_arg()); 131 if (pbe_nid == NID_undef) { 138 pbe_nid = OBJ_txt2nid(opt_arg()); 139 if (!EVP_PBE_find(EVP_PBE_TYPE_PRF, pbe_nid, NULL, NULL, 0)) { 194 if ((pbe_nid == -1) && cipher == NULL) 233 pbe_nid); 235 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0);
|
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| pkcs12.h.in | 132 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 138 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, 160 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 163 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, 174 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 177 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
|
| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| pkcs12.h.in | 122 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 128 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, 150 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 153 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, 164 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, 167 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen,
|
| /src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| pkcs12.h | 102 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, 115 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, 122 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
|
| /src/crypto/external/bsd/openssl/dist/crypto/cms/ |
| cms_pwri.c | 41 int pbe_nid, 66 if (pbe_nid <= 0) 67 pbe_nid = NID_id_pbkdf2;
|