Home
last modified time | relevance | path

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

/external/openssl/crypto/evp/
Devp_pbe.c76 int pbe_nid; member
138 fprintf(stderr, "%d %d %s ", tpbe->pbe_type, tpbe->pbe_nid, in main()
139 OBJ_nid2sn(tpbe->pbe_nid)); in main()
140 if (EVP_PBE_find(tpbe->pbe_type, tpbe->pbe_nid, in main()
219 return pbe1->pbe_nid - pbe2->pbe_nid; in pbe2_cmp()
230 return (*a)->pbe_nid - (*b)->pbe_nid; in pbe_cmp()
235 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid, in EVP_PBE_alg_add_type() argument
247 pbe_tmp->pbe_nid = pbe_nid; in EVP_PBE_alg_add_type()
274 int EVP_PBE_find(int type, int pbe_nid, in EVP_PBE_find() argument
279 if (pbe_nid == NID_undef) in EVP_PBE_find()
[all …]
Devp.h990 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid,
994 int EVP_PBE_find(int type, int pbe_nid,
/external/openssl/crypto/pkcs12/
Dp12_add.c104 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass, in PKCS12_MAKE_SHKEYBAG() argument
119 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_MAKE_SHKEYBAG()
122 pbe_nid = -1; in PKCS12_MAKE_SHKEYBAG()
125 PKCS8_encrypt(pbe_nid, pbe_ciph, pass, passlen, salt, saltlen, iter, in PKCS12_MAKE_SHKEYBAG()
168 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata() argument
185 pbe_ciph = EVP_get_cipherbynid(pbe_nid); in PKCS12_pack_p7encdata()
190 pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen); in PKCS12_pack_p7encdata()
Dp12_p8e.c63 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt() argument
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()
Dp12_npas.c108 int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0; in newpass_p12() local
124 &pbe_nid, &pbe_iter, &pbe_saltlen)) in newpass_p12()
142 else p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL, in newpass_p12()
Dpkcs12.h181 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
185 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass,
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
/external/openssl/apps/
Dpkcs8.c77 int pbe_nid = -1; in MAIN() local
127 pbe_nid=OBJ_txt2nid(*args); in MAIN()
128 if (pbe_nid == NID_undef) in MAIN()
242 if ((pbe_nid == -1) && !cipher) in MAIN()
243 pbe_nid = NID_pbeWithMD5AndDES_CBC; in MAIN()
311 if (!(p8 = PKCS8_encrypt(pbe_nid, cipher, in MAIN()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dpkcs8.h87 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt_pbe(int pbe_nid,
113 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
/external/openssl/include/openssl/
Dpkcs12.h181 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
185 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass,
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
Dcms.h230 int iter, int wrap_nid, int pbe_nid,
Devp.h990 int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid,
994 int EVP_PBE_find(int type, int pbe_nid,
/external/openssl/crypto/cms/
Dcms_pwri.c84 int iter, int wrap_nid, int pbe_nid, in CMS_add0_recipient_password() argument
104 if (pbe_nid <= 0) in CMS_add0_recipient_password()
105 pbe_nid = NID_id_pbkdf2; in CMS_add0_recipient_password()
Dcms.h230 int iter, int wrap_nid, int pbe_nid,
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
Dpkcs8.c265 int pbe_nid; member
293 const int pbe_nid = OBJ_obj2nid(pbe_obj); in pbe_cipher_init() local
296 if (kBuiltinPBE[i].pbe_nid == pbe_nid) { in pbe_cipher_init()
481 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, in PKCS8_encrypt() argument
498 ret = PKCS8_encrypt_pbe(pbe_nid, pass_raw, pass_raw_len, in PKCS8_encrypt()
508 X509_SIG *PKCS8_encrypt_pbe(int pbe_nid, in PKCS8_encrypt_pbe() argument
521 pbe = PKCS5_pbe_set(pbe_nid, iterations, salt, salt_len); in PKCS8_encrypt_pbe()