Home
last modified time | relevance | path

Searched refs:pw_password (Results 1 – 3 of 3) sorted by relevance

/external/openssh/openbsd-compat/
Dport-uw.c60 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
63 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
67 salt = (pw_password[0] && pw_password[1]) ? pw_password : "xx"; in sys_auth_passwd()
75 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0) in sys_auth_passwd()
76 || (strcmp(osr5bigcrypt(password, salt), pw_password) == 0)); in sys_auth_passwd()
80 result = (strcmp(xcrypt(password, salt), pw_password) == 0); in sys_auth_passwd()
84 free(pw_password); in sys_auth_passwd()
134 char *pw_password = NULL; in get_iaf_password() local
138 ia_get_logpwd(uinfo, &pw_password); in get_iaf_password()
139 if (pw_password == NULL) in get_iaf_password()
[all …]
Dxcrypt.c92 char *pw_password = pw->pw_passwd; in shadow_pw() local
98 pw_password = spw->sp_pwdp; in shadow_pw()
108 pw_password = spw->pwa_passwd; in shadow_pw()
113 pw_password = spw->ufld.fd_encrypt; in shadow_pw()
116 return pw_password; in shadow_pw()
/external/openssh/
Dauth-passwd.c198 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
201 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
206 (pw_password[0] && pw_password[1]) ? pw_password : "xx"); in sys_auth_passwd()
212 return (strcmp(encrypted_password, pw_password) == 0); in sys_auth_passwd()