Lines Matching refs:newpass
68 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass);
70 char *newpass);
71 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass);
78 int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass) in PKCS12_newpass() argument
94 if (!newpass_p12(p12, oldpass, newpass)) { in PKCS12_newpass()
104 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass) in newpass_p12() argument
135 if (!newpass_bags(bags, oldpass, newpass)) { in newpass_p12()
142 else p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL, in newpass_p12()
159 if(!PKCS12_gen_mac(p12, newpass, -1, mac, &maclen)) goto saferr; in newpass_p12()
179 char *newpass) in newpass_bags() argument
184 oldpass, newpass)) in newpass_bags()
192 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass) in newpass_bag() argument
204 if(!(p8new = PKCS8_encrypt(p8_nid, NULL, newpass, -1, NULL, p8_saltlen, in newpass_bag()