Lines Matching refs:hash
222 unsigned char hash[NSEC3_MAX_HASH_LENGTH];
231 rethash = hash;
239 /* hash the node name */
249 /* convert the hash to base32hex non-padded */
262 dns_nsec3_hashlength(dns_hash_t hash) {
264 switch (hash) {
272 dns_nsec3_supportedhash(dns_hash_t hash) {
273 switch (hash) {
365 if (nsec3->hash == nsec3param->hash &&
509 dns_hash_t hash;
545 hash = nsec3param->hash;
561 name, origin, hash, iterations,
700 CHECK(dns_nsec3_buildrdata(db, version, node, hash, flags, iterations,
733 &empty, origin, hash, iterations,
821 CHECK(dns_nsec3_buildrdata(db, version, NULL, hash, flags,
1133 * <0(1), hash(1), flags(1), iterations(2), saltlen(1)>
1320 dns_hash_t hash;
1352 hash = nsec3param->hash;
1363 name, origin, hash, iterations,
1471 &empty, origin, hash, iterations,
1861 unsigned char hash[NSEC3_MAX_HASH_LENGTH];
1900 * Strip off the NSEC3 hash to get the zone.
1931 if (!dns_nsec3_supportedhash(nsec3.hash)) {
1938 * Recover the hash from the first label.
1948 * The hash lengths should match. If not ignore the record.
1969 length = isc_iterated_hash(hash, nsec3.hash, nsec3.iterations,
1973 * The computed hash length should match.
1982 order = isc_safe_memcompare(hash, owner, length);
2081 memcmp(hash, nsec3.next, length) < 0) ||
2083 memcmp(hash, nsec3.next, length) < 0)))