Searched defs:nsec3 (Results 1 - 9 of 9) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Drbt.h109 unsigned int nsec3 : 1; /*%< range is 0..1 */ member in struct:dns_rbtnode
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnsec3_50.c330 dns_rdata_nsec3_t *nsec3 = source; local
336 REQUIRE(nsec3->common.rdtype == type);
337 REQUIRE(nsec3->common.rdclass == rdclass);
338 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0);
339 REQUIRE(nsec3->hash == dns_hash_sha1);
344 RETERR(uint8_tobuffer(nsec3->hash, target));
345 RETERR(uint8_tobuffer(nsec3->flags, target));
346 RETERR(uint16_tobuffer(nsec3->iterations, target));
347 RETERR(uint8_tobuffer(nsec3
373 dns_rdata_nsec3_t *nsec3 = target; local
418 dns_rdata_nsec3_t *nsec3 = source; local
[all...]
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzconf.h82 # define NSEC3 0 /* by default nsec3 is off */
166 nsec3_t nsec3; /* 0 == off; 1 == on; 2 == on with optout */ member in struct:zconf
/bind-9.6-ESV-R11/lib/dns/
H A Dnsec3.c35 #include <dns/nsec3.h>
225 dns_rdata_nsec3_t nsec3; local
234 result = dns_rdata_tostruct(rdata, &nsec3, NULL);
238 for (i = 0; i < nsec3.len; i += len) {
239 INSIST(i + 2 <= nsec3.len);
240 window = nsec3.typebits[i];
241 len = nsec3.typebits[i + 1];
244 INSIST(i + len <= nsec3.len);
250 present = ISC_TF(bit_isset(&nsec3.typebits[i],
254 dns_rdata_freestruct(&nsec3);
402 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument
423 dns_rdata_nsec3_t nsec3; local
511 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument
546 dns_rdata_nsec3_t nsec3; local
1011 dns_rdata_nsec3_t nsec3; local
1445 dns_rdata_nsec3_t nsec3; local
[all...]
H A Dvalidator.c39 #include <dns/nsec3.h>
279 dns_rdata_nsec3_t nsec3; local
349 (void)dns_rdata_tostruct(&rdata, &nsec3, NULL);
350 if (nsec3.hash != 1)
352 length = isc_iterated_hash(hash, nsec3.hash,
353 nsec3.iterations, nsec3.salt,
354 nsec3.salt_length,
365 if ((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) == 0)
370 scope = memcmp(owner, nsec3
[all...]
H A Drbtdb.c54 #include <dns/nsec3.h>
453 dns_rbt_t * nsec3; member in struct:dns_rbtdb
902 if (rbtdb->nsec3 != NULL) {
904 result = dns_rbt_destroy2(&rbtdb->nsec3, rbtdb->quantum);
922 INSIST(result == ISC_R_SUCCESS && rbtdb->nsec3 == NULL);
1528 if (node->nsec3)
1529 result = dns_rbt_deletenode(rbtdb->nsec3, node,
1795 if (node->nsec3)
1796 result = dns_rbt_deletenode(rbtdb->nsec3, node,
2012 * Cache the nsec3 parameter
3225 dns_rdata_nsec3_t nsec3; local
[all...]
H A Dzone.c58 #include <dns/nsec3.h>
2534 "nsec3 test \"unknown\" hash algorithm found: %u",
2540 "unsupported nsec3 hash algorithm"
2549 "unsupported nsec3 hash algorithm: %u",
2560 "no supported nsec3 hash algorithm");
4714 dns_rdata_nsec3_t nsec3; local
4731 CHECK(dns_rdata_tostruct(&rdata, &nsec3, NULL));
4732 if (nsec3.hash != param->hash ||
4733 nsec3.iterations != param->iterations ||
4734 nsec3
[all...]
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-signzone.c74 #include <dns/nsec3.h>
2277 dns_rdata_nsec3_t nsec3; local
2330 result = dns_rdata_tostruct(&rdata, &nsec3, NULL);
2332 if (exists && nsec3.hash == hashalg &&
2333 nsec3.iterations == iterations &&
2334 nsec3.salt_length == salt_length &&
2335 !memcmp(nsec3.salt, salt, salt_length))
2507 * Generate the nsec3 records.
/bind-9.6-ESV-R11/bin/named/
H A Dquery.c41 #include <dns/nsec3.h>
3683 dns_rdata_nsec3_t nsec3; local
3723 dns_rdata_tostruct(&rdata, &nsec3, NULL);
3725 optout = ISC_TF((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) != 0);

Completed in 88 milliseconds