Home
last modified time | relevance | path

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

/external/openssl/crypto/evp/
Devp_pbe.c71 int pbe_nid; member
83 pbelu.pbe_nid = OBJ_obj2nid(pbe_obj); in EVP_PBE_CipherInit()
84 if (pbelu.pbe_nid != NID_undef) i = sk_find(pbe_algs, (char *)&pbelu); in EVP_PBE_CipherInit()
111 return ((*pbe1)->pbe_nid - (*pbe2)->pbe_nid); in pbe_cmp()
125 pbe_tmp->pbe_nid = nid; in EVP_PBE_alg_add()
/external/openssl/crypto/pkcs12/
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_add.c104 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass, in PKCS12_MAKE_SHKEYBAG() argument
118 PKCS8_encrypt(pbe_nid, NULL, pass, passlen, salt, saltlen, iter, in PKCS12_MAKE_SHKEYBAG()
161 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata() argument
176 if (!(pbe = PKCS5_pbe_set(pbe_nid, iter, salt, saltlen))) { in PKCS12_pack_p7encdata()
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()
137 else p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL, in newpass_p12()
Dpkcs12.h183 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass,
193 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
/external/openssl/apps/
Dpkcs8.c77 int pbe_nid = -1; in MAIN() local
126 pbe_nid=OBJ_txt2nid(*args); in MAIN()
127 if (pbe_nid == NID_undef) in MAIN()
241 if ((pbe_nid == -1) && !cipher) in MAIN()
242 pbe_nid = NID_pbeWithMD5AndDES_CBC; in MAIN()
324 if (!(p8 = PKCS8_encrypt(pbe_nid, cipher, in MAIN()
/external/openssl/include/openssl/
Dpkcs12.h183 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
187 PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass,
193 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,