Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 9 of 9) sorted by relevance

/lighttpd1.4/src/
H A Dalgo_md.h19 static inline uint32_t djbhash(const char *str, const uint32_t len, uint32_t hash);
20 static inline uint32_t djbhash(const char *str, const uint32_t len, uint32_t hash) in djbhash() argument
23 for (uint32_t i = 0; i < len; ++i) hash = ((hash << 5) + hash) ^ s[i]; in djbhash()
24 return hash; in djbhash()
34 static inline uint32_t dekhash (const char *str, const uint32_t len, uint32_t hash);
35 static inline uint32_t dekhash (const char *str, const uint32_t len, uint32_t hash) in dekhash() argument
38 for (uint32_t i = 0; i < len; ++i) hash = (hash << 5) ^ (hash >> 27) ^ s[i]; in dekhash()
39 return hash; in dekhash()
H A Drand.c230 struct sha256_ctx hash; in li_arcfour_init_random_key_hashed() local
234 sha256_init(&hash); in li_arcfour_init_random_key_hashed()
235 sha256_update(&hash, length, key); in li_arcfour_init_random_key_hashed()
236 sha256_digest(&hash, SHA256_DIGEST_SIZE, digest); in li_arcfour_init_random_key_hashed()
H A Dalgo_xxhash.h604 XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash);
744 XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash);
2286 if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash); in XXH32_canonicalFromHash()
2287 XXH_memcpy(dst, &hash, sizeof(*dst)); in XXH32_canonicalFromHash()
2686 if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap64(hash); in XXH64_canonicalFromHash()
2687 XXH_memcpy(dst, &hash, sizeof(*dst)); in XXH64_canonicalFromHash()
5565 XXH128_canonicalFromHash(XXH128_canonical_t* dst, XXH128_hash_t hash) in XXH128_canonicalFromHash() argument
5569 hash.high64 = XXH_swap64(hash.high64); in XXH128_canonicalFromHash()
5570 hash.low64 = XXH_swap64(hash.low64); in XXH128_canonicalFromHash()
5572 XXH_memcpy(dst, &hash.high64, sizeof(hash.high64)); in XXH128_canonicalFromHash()
[all …]
H A Dlemon.c4160 hash = 0; in print_stack_union()
4162 hash = hash*53 + stddt[j]; in print_stack_union()
4164 hash = (hash & 0x7fffffff)%arraysize; in print_stack_union()
4165 while( types[hash] ){ in print_stack_union()
4167 sp->dtnum = hash + 1; in print_stack_union()
4170 hash++; in print_stack_union()
4171 if( hash>=(unsigned)arraysize ) hash = 0; in print_stack_union()
4173 if( types[hash]==0 ){ in print_stack_union()
4174 sp->dtnum = hash + 1; in print_stack_union()
4176 if( types[hash]==0 ){ in print_stack_union()
[all …]
H A Dgw_backend.c807 gw_hash(const char *str, const uint32_t len, uint32_t hash) in gw_hash() argument
809 return djbhash(str, len, hash); in gw_hash()
/lighttpd1.4/doc/outdated/
H A Dproxy.txt39 might be one of 'hash', 'round-robin' or 'fair' (default).
41 'round-robin' choses another host for each request, 'hash'
42 is generating a hash over the request-uri and makes sure
89 proxy.balance = "hash"
H A Dauthentication.txt111 Using md5sum can also generate the password-hash: ::
118 hash=`echo -n "$user:$realm:$pass" | md5sum | cut -b -32`
120 echo "$user:$realm:$hash"
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c273 #define BUCKNO(n_bits, hash) ((hash) & (N_BUCKETS(n_bits) - 1)) argument
/lighttpd1.4/
H A DNEWS1928 * [stat_cache] FAM: use entry hash index as userdata
1931 * [stat_cache] FAM: check hash collision before add
1989 * [core] perf: incremental hash of pathname w/o copy
2259 * [core] fix incorrect hash algorithm impl
2320 * [mod_secdownload] new directives modify hash path (fixes #646, fixes #1904)
2917 * [mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679)
3810 * added hash-based and round-robin load balancing to mod_proxy