Home
last modified time | relevance | path

Searched refs:pbe_nid (Results 1 – 6 of 6) sorted by relevance

/crypto/evp/
A Devp_pbe.c26 int pbe_nid; member
184 return pbe1->pbe_nid - pbe2->pbe_nid; in pbe2_cmp()
195 return (*a)->pbe_nid - (*b)->pbe_nid; in pbe_cmp()
200 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, in EVP_PBE_alg_add_type() argument
217 pbe_tmp->pbe_nid = pbe_nid; in EVP_PBE_alg_add_type()
251 int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, in EVP_PBE_find_ex() argument
256 if (pbe_nid == NID_undef) in EVP_PBE_find_ex()
260 pbelu.pbe_nid = pbe_nid; in EVP_PBE_find_ex()
284 int EVP_PBE_find(int type, int pbe_nid, in EVP_PBE_find() argument
287 return EVP_PBE_find_ex(type, pbe_nid, pcnid, pmnid, pkeygen, NULL); in EVP_PBE_find()
[all …]
/crypto/pkcs12/
A Dp12_p8e.c16 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()
A Dp12_sbag.c238 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex() argument
253 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
255 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_SAFEBAG_create_pkcs8_encrypt_ex()
259 pbe_nid = -1; 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()
275 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_pkcs8_encrypt(int pbe_nid, in PKCS12_SAFEBAG_create_pkcs8_encrypt() argument
282 return PKCS12_SAFEBAG_create_pkcs8_encrypt_ex(pbe_nid, pass, passlen, in PKCS12_SAFEBAG_create_pkcs8_encrypt()
A Dp12_add.c94 PKCS7 *PKCS12_pack_p7encdata_ex(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata_ex() argument
114 pbe_ciph = pbe_ciph_fetch = EVP_CIPHER_fetch(ctx, OBJ_nid2sn(pbe_nid), propq); in PKCS12_pack_p7encdata_ex()
116 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_pack_p7encdata_ex()
122 pbe = PKCS5_pbe_set_ex(pbe_nid, iter, salt, saltlen, ctx); in PKCS12_pack_p7encdata_ex()
148 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata() argument
152 return PKCS12_pack_p7encdata_ex(pbe_nid, pass, passlen, salt, saltlen, in PKCS12_pack_p7encdata()
A Dp12_npas.c64 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0, cipherid = NID_undef; in newpass_p12() local
85 &pbe_nid, &pbe_iter, &pbe_saltlen, &cipherid)) in newpass_p12()
99 p7new = PKCS12_pack_p7encdata_ex(pbe_nid, newpass, -1, NULL, in newpass_p12()
/crypto/cms/
A Dcms_pwri.c41 int pbe_nid, in CMS_add0_recipient_password() argument

Completed in 13 milliseconds