Searched refs:pw_password (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dport-uw.c61 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; local
63 if (pw_password == NULL)
67 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0)
71 salt = (pw_password[0] && pw_password[1]) ? pw_password : "xx";
79 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0)
80 || (strcmp(osr5bigcrypt(password, salt), pw_password) == 0));
84 result = (strcmp(xcrypt(password, salt), pw_password) == 0);
88 free(pw_password);
138 char *pw_password = NULL; local
[all...]
H A Dxcrypt.c138 char *pw_password = pw->pw_passwd; local
144 pw_password = spw->sp_pwdp;
154 pw_password = spw->pwa_passwd;
159 pw_password = spw->ufld.fd_encrypt;
162 return pw_password;
/freebsd-13-stable/crypto/openssh/
H A Dauth-passwd.c199 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; local
201 if (pw_password == NULL)
205 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0)
212 if (authctxt->valid && pw_password[0] && pw_password[1])
213 salt = pw_password;
221 strcmp(encrypted_password, pw_password) == 0;
/freebsd-13-stable/usr.sbin/bsdconfig/password/
H A Dpassword76 echo "$pw_password" | f_eval_catch "$0" pw \
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/
H A Dzfsboot1244 if ! echo "$pw_password" | f_eval_catch \
1251 unset pw_password # Sensitive info
1254 if ! echo "$pw_password" | f_eval_catch \
1259 unset pw_password # Sensitive info
1265 if ! echo "$pw_password" | f_eval_catch \
1271 unset pw_password # Sensitive info
1274 if ! echo "$pw_password" | f_eval_catch \
1279 unset pw_password # Sensitive info
1284 unset pw_password # Sensitive info
/freebsd-13-stable/usr.sbin/pw/
H A Dpw_user.c83 static char *pw_password(struct userconf * cnf, char const * user,
514 pw_password(struct userconf * cnf, char const * user, bool dryrun) function
1401 pwd->pw_passwd = pw_password(cmdcnf, pwd->pw_name, dryrun);
1748 pwd->pw_passwd = pw_password(cnf, pwd->pw_name, dryrun);

Completed in 212 milliseconds