Home
last modified time | relevance | path

Searched refs:pbe (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/crypto/evp/
Dp5_crpt.c32 PBEPARAM *pbe; in PKCS5_PBE_keyivgen() local
45 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS5_PBE_keyivgen()
46 if (pbe == NULL) { in PKCS5_PBE_keyivgen()
54 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen()
60 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen()
64 if (!pbe->iter) in PKCS5_PBE_keyivgen()
67 iter = ASN1_INTEGER_get(pbe->iter); in PKCS5_PBE_keyivgen()
68 salt = pbe->salt->data; in PKCS5_PBE_keyivgen()
69 saltlen = pbe->salt->length; in PKCS5_PBE_keyivgen()
88 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen()
[all …]
Devp_pbe.c238 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) in free_evp_pbe_ctl() argument
240 OPENSSL_free(pbe); in free_evp_pbe_ctl()
/third_party/openssl/crypto/pkcs12/
Dp12_p8e.c21 X509_ALGOR *pbe; in PKCS8_encrypt() local
24 pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen); in PKCS8_encrypt()
26 pbe = PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, pbe_nid); in PKCS8_encrypt()
29 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); in PKCS8_encrypt()
31 if (!pbe) { in PKCS8_encrypt()
35 p8 = PKCS8_set0_pbe(pass, passlen, p8inf, pbe); in PKCS8_encrypt()
37 X509_ALGOR_free(pbe); in PKCS8_encrypt()
45 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe) in PKCS8_set0_pbe() argument
51 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_set0_pbe()
65 p8->algor = pbe; in PKCS8_set0_pbe()
Dp12_crpt.c24 PBEPARAM *pbe; in PKCS12_PBE_keyivgen() local
41 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), param); in PKCS12_PBE_keyivgen()
42 if (pbe == NULL) { in PKCS12_PBE_keyivgen()
47 if (!pbe->iter) in PKCS12_PBE_keyivgen()
50 iter = ASN1_INTEGER_get(pbe->iter); in PKCS12_PBE_keyivgen()
51 salt = pbe->salt->data; in PKCS12_PBE_keyivgen()
52 saltlen = pbe->salt->length; in PKCS12_PBE_keyivgen()
56 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen()
62 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen()
65 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen()
Dp12_add.c89 X509_ALGOR *pbe; in PKCS12_pack_p7encdata() local
105 pbe = PKCS5_pbe2_set(pbe_ciph, iter, salt, saltlen); in PKCS12_pack_p7encdata()
107 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); in PKCS12_pack_p7encdata()
109 if (!pbe) { in PKCS12_pack_p7encdata()
114 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata()
117 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, in PKCS12_pack_p7encdata()
Dp12_npas.c175 PBEPARAM *pbe; in alg_get() local
176 pbe = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(PBEPARAM), alg->parameter); in alg_get()
177 if (!pbe) in alg_get()
180 *piter = ASN1_INTEGER_get(pbe->iter); in alg_get()
181 *psaltlen = pbe->salt->length; in alg_get()
182 PBEPARAM_free(pbe); in alg_get()
/third_party/openssl/crypto/asn1/
Dp5_pbe.c30 PBEPARAM *pbe = NULL; variable
34 pbe = PBEPARAM_new();
35 if (pbe == NULL) {
41 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
58 ASN1_STRING_set0(pbe->salt, sstr, saltlen);
61 if (!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) {
66 PBEPARAM_free(pbe);
67 pbe = NULL;
74 PBEPARAM_free(pbe);
/third_party/openssl/apps/
Dpkcs8.c224 X509_ALGOR *pbe; in pkcs8_main() local
228 pbe = PKCS5_pbe2_set_scrypt(cipher, NULL, 0, NULL, in pkcs8_main()
232 pbe = PKCS5_pbe2_set_iv(cipher, iter, NULL, 0, NULL, in pkcs8_main()
235 pbe = PKCS5_pbe_set(pbe_nid, iter, NULL, 0); in pkcs8_main()
237 if (pbe == NULL) { in pkcs8_main()
250 X509_ALGOR_free(pbe); in pkcs8_main()
258 p8 = PKCS8_set0_pbe(p8pass, strlen(p8pass), p8inf, pbe); in pkcs8_main()
260 X509_ALGOR_free(pbe); in pkcs8_main()
Dpkcs12.c780 PBEPARAM *pbe = NULL; in alg_print() local
849 pbe = ASN1_item_unpack(aparam, ASN1_ITEM_rptr(PBEPARAM)); in alg_print()
850 if (pbe == NULL) { in alg_print()
854 BIO_printf(bio_err, ", Iteration %ld", ASN1_INTEGER_get(pbe->iter)); in alg_print()
855 PBEPARAM_free(pbe); in alg_print()
/third_party/openssl/include/openssl/
Dpkcs12.h119 PKCS8_PRIV_KEY_INFO *p8inf, X509_ALGOR *pbe);
/third_party/openssl/crypto/objects/
Dobjects.txt354 !Cname pbe-WithSHA1And128BitRC4
356 !Cname pbe-WithSHA1And40BitRC4
358 !Cname pbe-WithSHA1And3_Key_TripleDES-CBC
360 !Cname pbe-WithSHA1And2_Key_TripleDES-CBC
362 !Cname pbe-WithSHA1And128BitRC2-CBC
364 !Cname pbe-WithSHA1And40BitRC2-CBC
/third_party/openssl/crypto/err/
Dopenssl.txt2302 EVP_R_UNKNOWN_PBE_ALGORITHM:121:unknown pbe algorithm
2432 PKCS12_R_PKCS12_PBE_CRYPT_ERROR:117:pkcs12 pbe crypt error
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt6472 "pbe~i",
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt6472 "pbe~i",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt6229 "pbe~i",