Lines Matching defs:hash
39 * o Server name and port can't be included in nonce-hash
466 /* we precompute the part of the nonce hash that is constant (well,
665 "The algorithm used for the hash calculation"),
683 * The clients are kept in a simple hash table, which consists of an
697 * and it keeps the hash table evenly balanced (i.e. same number of entries
1030 /* The hash part of the nonce is a SHA-1 hash of the time, realm, server host
1033 static void gen_nonce_hash(char *hash, const char *timestr, const char *opaque,
1054 ap_bin2hex(sha1, APR_SHA1_DIGESTSIZE, hash);
1058 /* The nonce has the format b64(time)+hash .
1088 * Opaque and hash-table management
1296 /* We expect the password to be md5 hash of user:realm:password */
1380 char tmp, hash[NONCE_HASH_LEN+1];
1393 gen_nonce_hash(hash, resp->nonce, resp->opaque, r->server, conf);
1397 if (strcmp(hash, resp->nonce+NONCE_TIME_LEN)) {
1399 "invalid nonce %s received - hash is not %s",
1400 resp->nonce, hash);
1626 * works out ok, since we can hash the header and get the same