Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/util/storage/
H A Dlookup3.c356 uint32_t hashlittle( const void *key, size_t length, uint32_t initval) in hashlittle() function
999 h = hashlittle(&buf[0],1,h); in driver1()
1040 c[0] = hashlittle(a, hlen, m); in driver2()
1043 d[0] = hashlittle(b, hlen, m); in driver2()
1101 hashlittle(p, sizeof(q)-1, 13), hashlittle(p, sizeof(q)-2, 13), in driver3()
1102 hashlittle(p, sizeof(q)-3, 13), hashlittle(p, sizeof(q)-4, 13), in driver3()
1103 hashlittle(p, sizeof(q)-5, 13), hashlittle(p, sizeof(q)-6, 13), in driver3()
1104 hashlittle(p, sizeof(q)-7, 13), hashlittle(p, sizeof(q)-8, 13), in driver3()
1105 hashlittle(p, sizeof(q)-9, 13), hashlittle(p, sizeof(q)-10, 13), in driver3()
1106 hashlittle(p, sizeof(q)-11, 13), hashlittle(p, sizeof(q)-12, 13)); in driver3()
[all …]
H A Dlookup3.h62 uint32_t hashlittle(const void *k, size_t length, uint32_t initval);
/freebsd/contrib/unbound/util/data/
H A Dpacked_rrset.c171 h = hashlittle(&t, sizeof(t), h); in rrset_key_hash()
172 h = hashlittle(&key->rrset_class, sizeof(uint16_t), h); in rrset_key_hash()
173 h = hashlittle(&key->flags, sizeof(uint32_t), h); in rrset_key_hash()
H A Dmsgparse.c179 h = hashlittle(&type, sizeof(type), h); /* host order */ in pkt_hash_rrset()
180 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset()
181 h = hashlittle(&rrset_flags, sizeof(uint32_t), h); in pkt_hash_rrset()
205 h = hashlittle(&type, sizeof(type), dname_h); /* host order */ in pkt_hash_rrset_rest()
206 h = hashlittle(&dclass, sizeof(dclass), h); /* netw order */ in pkt_hash_rrset_rest()
207 h = hashlittle(&rrset_flags, sizeof(uint32_t), h); in pkt_hash_rrset_rest()
H A Ddname.c303 h = hashlittle(labuf, labuf[0] + 1, h); in dname_query_hash()
339 h = hashlittle(labuf, labuf[0] + 1, h); in dname_pkt_hash()
H A Dmsgreply.c726 h = hashlittle(&q->qtype, sizeof(q->qtype), h); in query_info_hash()
729 h = hashlittle(&q->qclass, sizeof(q->qclass), h); in query_info_hash()
/freebsd/contrib/unbound/dnscrypt/
H A Ddnscrypt.c94 return hashlittle(key, DNSCRYPT_SHARED_SECRET_KEY_LENGTH, 0); in dnsc_shared_secrets_cache_key()
164 h = hashlittle(nonce, crypto_box_HALF_NONCEBYTES, h); in dnsc_nonce_cache_key_hash()
165 h = hashlittle(magic_query, DNSCRYPT_MAGIC_HEADER_LEN, h); in dnsc_nonce_cache_key_hash()
166 return hashlittle(pk, crypto_box_PUBLICKEYBYTES, h); in dnsc_nonce_cache_key_hash()
/freebsd/contrib/unbound/services/cache/
H A Dinfra.c448 h = hashlittle(&in6->sin6_family, sizeof(in6->sin6_family), h); in hash_addr()
450 h = hashlittle(&in6->sin6_port, sizeof(in6->sin6_port), h); in hash_addr()
452 h = hashlittle(&in6->sin6_addr, INET6_SIZE, h); in hash_addr()
455 h = hashlittle(&in->sin_family, sizeof(in->sin_family), h); in hash_addr()
457 h = hashlittle(&in->sin_port, sizeof(in->sin_port), h); in hash_addr()
459 h = hashlittle(&in->sin_addr, INET_SIZE, h); in hash_addr()
/freebsd/contrib/unbound/validator/
H A Dval_kentry.c105 kk->entry.hash = hashlittle(&kk->key_class, sizeof(kk->key_class), in key_entry_hash()