| /freebsd-13.1/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_npas.c | 20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass); 21 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass, 23 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass, 32 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) in PKCS12_newpass() argument 44 if (!PKCS12_verify_mac(p12, oldpass, -1)) { in PKCS12_newpass() 49 if (!newpass_p12(p12, oldpass, newpass)) { in PKCS12_newpass() 59 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass) in newpass_p12() argument 80 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); in newpass_p12() 89 if (!newpass_bags(bags, oldpass, newpass)) in newpass_p12() 146 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass, in newpass_bag() argument [all …]
|
| /freebsd-13.1/lib/libypclnt/ |
| H A D | ypclnt_passwd.c | 155 yppwd.oldpass = strdup(""); in yppasswd_local() 231 if (yppwd.oldpass != NULL) { in yppasswd_local() 232 memset(yppwd.oldpass, 0, strlen(yppwd.oldpass)); in yppasswd_local() 233 free(yppwd.oldpass); in yppasswd_local() 255 (yppwd.oldpass = strdup(passwd ? passwd : "")) == NULL) { in yppasswd_remote() 310 if (yppwd.oldpass != NULL) { in yppasswd_remote() 311 memset(yppwd.oldpass, 0, strlen(yppwd.oldpass)); in yppasswd_remote() 312 free(yppwd.oldpass); in yppasswd_remote()
|
| /freebsd-13.1/contrib/pam_modules/pam_passwdqc/ |
| H A D | passwdqc_check.c | 277 const char *newpass, const char *oldpass, struct passwd *pw) in _passwdqc_check() argument 293 if (oldpass && !strcmp(oldpass, newpass)) in _passwdqc_check() 306 if (oldpass && !strncmp(oldpass, newpass, 8)) in _passwdqc_check() 323 if (oldpass) in _passwdqc_check() 324 u_oldpass = unify(oldpass); in _passwdqc_check() 332 (oldpass && !u_oldpass) || in _passwdqc_check() 337 if (!reason && oldpass && params->similar_deny && in _passwdqc_check()
|
| H A D | pam_passwdqc.c | 320 lo_const char *user, *oldpass, *curpass; in pam_sm_chauthtok() local 371 oldpass = item; in pam_sm_chauthtok() 383 if (!oldpass) in pam_sm_chauthtok() 391 if (strcmp(crypt(oldpass, spw->sp_pwdp), in pam_sm_chauthtok() 400 if (strcmp(crypt(oldpass, pw->pw_passwd), in pam_sm_chauthtok() 423 reason = _passwdqc_check(¶ms.qc, curpass, oldpass, pw); in pam_sm_chauthtok() 511 (reason = _passwdqc_check(¶ms.qc, newpass, oldpass, pw)))) { in pam_sm_chauthtok()
|
| H A D | passwdqc.h | 21 const char *newpass, const char *oldpass, struct passwd *pw);
|
| /freebsd-13.1/lib/librpcsvc/ |
| H A D | yp_passwd.c | 56 _yppasswd(char *oldpass, struct x_passwd *newpw) in _yppasswd() argument 64 yppasswd.oldpass = oldpass; in _yppasswd()
|
| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | PKCS12_newpass.pod | 11 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass); 17 B<p12> is a pointer to a PKCS12 structure. B<oldpass> is the existing password 22 Each of B<oldpass> and B<newpass> is independently interpreted as a string in 89 string "" for B<oldpass>. Using NULL for B<oldpass> will result in a 92 If the wrong password is used for B<oldpass> then the function will fail,
|
| /freebsd-13.1/include/rpcsvc/ |
| H A D | yppasswd.x | 68 string oldpass<>; /* unencrypted old password */
|
| /freebsd-13.1/usr.sbin/rpc.yppasswdd/ |
| H A D | yppasswd_private.x | 59 string oldpass<>; /* unencrypted old password */
|
| H A D | yppasswdd_server.c | 563 cryptpw = crypt(argp->oldpass, yp_password.pw_passwd); in yppasswdproc_update_1_svc()
|
| /freebsd-13.1/crypto/openssl/include/openssl/ |
| H A D | pkcs12.h | 218 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
|