Home
last modified time | relevance | path

Searched refs:pwlen (Results 1 – 2 of 2) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_file.c190 ,{ pw, pwlen } in mod_authn_file_digest()
474 const size_t pwlen = strlen(pw); in apr_md5_encode() local
509 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
511 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
522 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
555 for (size_t i = pwlen; i != 0; i >>= 1) { in apr_md5_encode()
568 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
578 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
585 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
639 size_t pwlen = strlen(pw) * 2; in mod_authn_file_crypt_cmp() local
[all …]
H A Dmod_auth.c59 …nst uint32_t klen, const char *username, const uint32_t ulen, const char *pw, const uint32_t pwlen) in http_auth_cache_entry_init() argument
68 ck_malloc(sizeof(http_auth_cache_entry) + ulen + pwlen in http_auth_cache_entry_init()
74 ae->dlen = pwlen; in http_auth_cache_entry_init()
80 : memcpy(ae->pwdigest + pwlen, k, klen); in http_auth_cache_entry_init()
82 memcpy(ae->pwdigest, pw, pwlen); in http_auth_cache_entry_init()
786 size_t pwlen; in mod_auth_check_basic() local
809 pwlen = (size_t)(user + ulen - pw); in mod_auth_check_basic()
824 rc = ck_memeq_const_time(ae->pwdigest, ae->dlen, pw, pwlen) in mod_auth_check_basic()
841 pw, pwlen); in mod_auth_check_basic()
858 ck_memzero(pw, pwlen); in mod_auth_check_basic()