Searched refs:pbe_ciph (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/pkcs12/ |
H A D | p12_add.c | 101 const EVP_CIPHER *pbe_ciph = NULL; in PKCS12_pack_p7encdata_ex() local 114 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex() 115 if (pbe_ciph == NULL) in PKCS12_pack_p7encdata_ex() 116 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_pack_p7encdata_ex() 119 if (pbe_ciph != NULL) { in PKCS12_pack_p7encdata_ex() 120 pbe = PKCS5_pbe2_set_iv_ex(pbe_ciph, iter, salt, saltlen, NULL, -1, ctx); in PKCS12_pack_p7encdata_ex()
|
H A D | p12_sbag.c | 248 const EVP_CIPHER *pbe_ciph = NULL; in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() local 253 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() 254 if (pbe_ciph == NULL) in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() 255 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() 258 if (pbe_ciph != NULL) in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() 261 p8 = PKCS8_encrypt_ex(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
|
Completed in 6 milliseconds