Lines Matching refs:pw
53 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
55 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
56 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
172 static void mod_authn_file_digest(http_auth_info_t *ai, const char *pw, size_t pwlen) { in mod_authn_file_digest() argument
190 ,{ pw, pwlen } in mod_authn_file_digest()
304 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_file_htdigest_basic() argument
325 mod_authn_file_digest(&ai, pw, strlen(pw)); in mod_authn_file_htdigest_basic()
414 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_file_plain_basic() argument
422 rc = ck_memeq_const_time(BUF_PTR_LEN(tb), pw, strlen(pw)) ? 0 : -1; in mod_authn_file_plain_basic()
471 static size_t apr_md5_encode(const char *pw, const char *salt, char *result, size_t nbytes) { in apr_md5_encode() argument
474 const size_t pwlen = strlen(pw); in apr_md5_encode()
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()
556 MD5_Update(&ctx, (i & 1) ? (char *)final : pw, 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()
612 static int mod_authn_file_crypt_cmp(const buffer * const password, const char * const pw) { in mod_authn_file_crypt_cmp() argument
639 size_t pwlen = strlen(pw) * 2; in mod_authn_file_crypt_cmp()
649 sample[i] = pw[(i >> 1)]; in mod_authn_file_crypt_cmp()
678 crypted = crypt_r(pw, password->ptr, &crypt_tmp_data); in mod_authn_file_crypt_cmp()
680 crypted = crypt(pw, password->ptr); in mod_authn_file_crypt_cmp()
694 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_file_htpasswd_basic() argument
708 SHA1_once(digest+SHA_DIGEST_LENGTH, pw, strlen(pw)); in mod_authn_file_htpasswd_basic()
719 rc = tblen == apr_md5_encode(pw, tb->ptr+6, sample, sizeof(sample)) in mod_authn_file_htpasswd_basic()
728 rc = mod_authn_file_crypt_cmp(tb, pw); in mod_authn_file_htpasswd_basic()