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.c97 char *pw_password = pw->pw_passwd; in shadow_pw() local
103 pw_password = spw->sp_pwdp; in shadow_pw()
113 pw_password = spw->pwa_passwd; in shadow_pw()
118 pw_password = spw->ufld.fd_encrypt; in shadow_pw()
121 return pw_password; in shadow_pw()
/external/openssh/
Dauth-passwd.c199 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd() local
202 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd()
207 (pw_password[0] && pw_password[1]) ? pw_password : "xx"); in sys_auth_passwd()
214 strcmp(encrypted_password, pw_password) == 0; in sys_auth_passwd()