Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dport-uw.c61 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
64 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
68 salt = (pw_password[0] && pw_password[1]) ? pw_password : "xx"; in sys_auth_passwd()
76 result = ((strcmp(bigcrypt(password, salt), pw_password) == 0) in sys_auth_passwd()
77 || (strcmp(osr5bigcrypt(password, salt), pw_password) == 0)); in sys_auth_passwd()
81 result = (strcmp(xcrypt(password, salt), pw_password) == 0); in sys_auth_passwd()
85 free(pw_password); in sys_auth_passwd()
135 char *pw_password = NULL; in get_iaf_password() local
139 ia_get_logpwd(uinfo, &pw_password); in get_iaf_password()
140 if (pw_password == NULL) in get_iaf_password()
[all …]
Dxcrypt.c137 char *pw_password = pw->pw_passwd; in shadow_pw() local
143 pw_password = spw->sp_pwdp; in shadow_pw()
153 pw_password = spw->pwa_passwd; in shadow_pw()
158 pw_password = spw->ufld.fd_encrypt; in shadow_pw()
161 return pw_password; in shadow_pw()
/external/openssh/
Dauth-passwd.c204 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
207 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
214 if (authctxt->valid && pw_password[0] && pw_password[1]) in sys_auth_passwd()
215 salt = pw_password; in sys_auth_passwd()
223 strcmp(encrypted_password, pw_password) == 0; in sys_auth_passwd()