Searched refs:userpwlen (Results 1 – 1 of 1) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | mod_authn_dbi.c | 341 mod_authn_crypt_cmp (const char *reqpw, const char *userpw, unsigned long userpwlen) in mod_authn_crypt_cmp() argument 347 int rc = (crypwlen == userpwlen) ? memcmp(crypted, userpw, crypwlen) : -1; in mod_authn_crypt_cmp() 373 int rc = (crypwlen == userpwlen) ? memcmp(crypted, userpw, crypwlen) : -1; in mod_authn_crypt_cmp() 390 mod_authn_dbi_password_cmp (const char *userpw, unsigned long userpwlen, http_auth_info_t * const a… in mod_authn_dbi_password_cmp() argument 393 if (userpwlen >= 3 && userpw[0] == '$') in mod_authn_dbi_password_cmp() 394 return mod_authn_crypt_cmp(reqpw, userpw, userpwlen); in mod_authn_dbi_password_cmp() 408 if (32 == userpwlen) in mod_authn_dbi_password_cmp() 411 else if (64 == userpwlen) in mod_authn_dbi_password_cmp() 419 return (0 == li_hex2bin(pwbin, sizeof(pwbin), userpw, userpwlen)) in mod_authn_dbi_password_cmp() 420 ? ck_memeq_const_time_fixed_len(HA1, pwbin, userpwlen>>1) ? 0 : 1 in mod_authn_dbi_password_cmp()
|