Lines Matching refs:newpass
69 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass);
71 char *newpass);
72 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass);
79 int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass)
96 if (!newpass_p12(p12, oldpass, newpass)) {
106 static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass)
138 if (!newpass_bags(bags, oldpass, newpass)) {
147 p7new = PKCS12_pack_p7encdata(pbe_nid, newpass, -1, NULL,
166 if (!PKCS12_gen_mac(p12, newpass, -1, mac, &maclen))
188 char *newpass)
192 if (!newpass_bag(sk_PKCS12_SAFEBAG_value(bags, i), oldpass, newpass))
200 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass)
213 if (!(p8new = PKCS8_encrypt(p8_nid, NULL, newpass, -1, NULL, p8_saltlen,