Searched refs:pbe (Results 1 – 9 of 9) sorted by relevance
/external/openssl/crypto/asn1/ |
D | p5_pbe.c | 80 PBEPARAM *pbe=NULL; variable 84 pbe = PBEPARAM_new(); 85 if (!pbe) 92 if (!ASN1_INTEGER_set(pbe->iter, iter)) 99 if (!ASN1_STRING_set(pbe->salt, NULL, saltlen)) 104 sstr = ASN1_STRING_data(pbe->salt); 110 if(!ASN1_item_pack(pbe, ASN1_ITEM_rptr(PBEPARAM), &pbe_str)) 116 PBEPARAM_free(pbe); 117 pbe = NULL; 123 if (pbe != NULL) [all …]
|
/external/openssl/crypto/pkcs12/ |
D | p12_crpt.c | 72 PBEPARAM *pbe; in PKCS12_PBE_keyivgen() local 86 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) { in PKCS12_PBE_keyivgen() 91 if (!pbe->iter) iter = 1; in PKCS12_PBE_keyivgen() 92 else iter = ASN1_INTEGER_get (pbe->iter); in PKCS12_PBE_keyivgen() 93 salt = pbe->salt->data; in PKCS12_PBE_keyivgen() 94 saltlen = pbe->salt->length; in PKCS12_PBE_keyivgen() 98 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen() 104 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen() 107 PBEPARAM_free(pbe); in PKCS12_PBE_keyivgen()
|
D | p12_p8e.c | 69 X509_ALGOR *pbe; in PKCS8_encrypt() local 76 if(pbe_nid == -1) pbe = PKCS5_pbe2_set(cipher, iter, salt, saltlen); in PKCS8_encrypt() 77 else pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); in PKCS8_encrypt() 78 if(!pbe) { in PKCS8_encrypt() 83 p8->algor = pbe; in PKCS8_encrypt() 85 p8->digest = PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), in PKCS8_encrypt()
|
D | p12_add.c | 173 X509_ALGOR *pbe; in PKCS12_pack_p7encdata() local 188 pbe = PKCS5_pbe2_set(pbe_ciph, iter, salt, saltlen); in PKCS12_pack_p7encdata() 190 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); in PKCS12_pack_p7encdata() 192 if (!pbe) { in PKCS12_pack_p7encdata() 197 p7->d.encrypted->enc_data->algorithm = pbe; in PKCS12_pack_p7encdata() 200 PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS12_SAFEBAGS), pass, passlen, in PKCS12_pack_p7encdata()
|
D | p12_npas.c | 213 PBEPARAM *pbe; in alg_get() local 217 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length); in alg_get() 218 if (!pbe) in alg_get() 221 *piter = ASN1_INTEGER_get(pbe->iter); in alg_get() 222 *psaltlen = pbe->salt->length; in alg_get() 223 PBEPARAM_free(pbe); in alg_get()
|
/external/openssl/crypto/evp/ |
D | p5_crpt.c | 80 PBEPARAM *pbe; in PKCS5_PBE_keyivgen() local 96 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) { in PKCS5_PBE_keyivgen() 101 if (!pbe->iter) iter = 1; in PKCS5_PBE_keyivgen() 102 else iter = ASN1_INTEGER_get (pbe->iter); in PKCS5_PBE_keyivgen() 103 salt = pbe->salt->data; in PKCS5_PBE_keyivgen() 104 saltlen = pbe->salt->length; in PKCS5_PBE_keyivgen() 115 PBEPARAM_free(pbe); in PKCS5_PBE_keyivgen()
|
D | evp_pbe.c | 307 static void free_evp_pbe_ctl(EVP_PBE_CTL *pbe) in free_evp_pbe_ctl() argument 309 OPENSSL_freeFunc(pbe); in free_evp_pbe_ctl()
|
/external/openssl/apps/ |
D | pkcs12.c | 856 PBEPARAM *pbe; in alg_print() local 859 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length); in alg_print() 860 if (!pbe) in alg_print() 864 ASN1_INTEGER_get(pbe->iter)); in alg_print() 865 PBEPARAM_free (pbe); in alg_print()
|
/external/openssl/crypto/objects/ |
D | objects.txt | 337 !Cname pbe-WithSHA1And128BitRC4 339 !Cname pbe-WithSHA1And40BitRC4 341 !Cname pbe-WithSHA1And3_Key_TripleDES-CBC 343 !Cname pbe-WithSHA1And2_Key_TripleDES-CBC 345 !Cname pbe-WithSHA1And128BitRC2-CBC 347 !Cname pbe-WithSHA1And40BitRC2-CBC
|