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

/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec3_50.c246 dns_rdata_nsec3_t *nsec3 = source; local
251 REQUIRE(nsec3->common.rdtype == type);
252 REQUIRE(nsec3->common.rdclass == rdclass);
253 REQUIRE(nsec3->typebits != NULL || nsec3->len == 0);
254 REQUIRE(nsec3->hash == dns_hash_sha1);
259 RETERR(uint8_tobuffer(nsec3->hash, target));
260 RETERR(uint8_tobuffer(nsec3->flags, target));
261 RETERR(uint16_tobuffer(nsec3->iterations, target));
262 RETERR(uint8_tobuffer(nsec3
276 dns_rdata_nsec3_t *nsec3 = target; local
321 dns_rdata_nsec3_t *nsec3 = source; local
[all...]
/bind-9.11.3/lib/dns/
H A Dnsec3.c31 #include <dns/nsec3.h>
182 dns_rdata_nsec3_t nsec3; local
191 result = dns_rdata_tostruct(rdata, &nsec3, NULL);
195 for (i = 0; i < nsec3.len; i += len) {
196 INSIST(i + 2 <= nsec3.len);
197 window = nsec3.typebits[i];
198 len = nsec3.typebits[i + 1];
201 INSIST(i + len <= nsec3.len);
207 present = ISC_TF(dns_nsec_isset(&nsec3.typebits[i],
211 dns_rdata_freestruct(&nsec3);
362 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument
383 dns_rdata_nsec3_t nsec3; local
479 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument
514 dns_rdata_nsec3_t nsec3; local
1325 dns_rdata_nsec3_t nsec3; local
1850 dns_rdata_nsec3_t nsec3; local
[all...]
H A Dvalidator.c29 #include <dns/nsec3.h>
269 dns_rdata_nsec3_t nsec3; local
339 (void)dns_rdata_tostruct(&rdata, &nsec3, NULL);
340 if (nsec3.hash != 1)
342 length = isc_iterated_hash(hash, nsec3.hash,
343 nsec3.iterations, nsec3.salt,
344 nsec3.salt_length,
355 if ((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) == 0)
360 scope = memcmp(owner, nsec3
[all...]
H A Drbtdb.c54 #include <dns/nsec3.h>
113 isc_uint64_t nsec3; member in struct:rbtdb_file_header
712 dns_rbt_t * nsec3; member in struct:dns_rbtdb
1255 treep = &rbtdb->nsec3;
2058 result = dns_rbt_deletenode(rbtdb->nsec3, node, ISC_FALSE);
2553 * Cache the nsec3 parameters.
3022 INSIST(tree == rbtdb->tree || tree == rbtdb->nsec3);
3062 if (tree == rbtdb->nsec3)
3070 if (tree == rbtdb->nsec3)
3129 return (findnodeintree(rbtdb, rbtdb->nsec3, nam
3795 dns_rdata_nsec3_t nsec3; local
7540 dns_rbt_t *tree = NULL, *nsec = NULL, *nsec3 = NULL; local
[all...]
H A Dzone.c53 #include <dns/nsec3.h>
3689 "nsec3 test \"unknown\" hash algorithm found: %u",
3695 "unsupported nsec3 hash algorithm"
3704 "unsupported nsec3 hash algorithm: %u",
3715 "no supported nsec3 hash algorithm");
7206 dns_rdata_nsec3_t nsec3; local
7223 CHECK(dns_rdata_tostruct(&rdata, &nsec3, NULL));
7224 if (nsec3.hash != param->hash ||
7225 nsec3.iterations != param->iterations ||
7226 nsec3
17635 isc_boolean_t nseconly = ISC_FALSE, nsec3 = ISC_FALSE; local
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.c45 #include <dns/nsec3.h>
754 record_nsec3(const unsigned char *rawhash, const dns_rdata_nsec3_t *nsec3, argument
762 len = sizeof(*element) + nsec3->next_length * 2 + nsec3->salt_length;
768 element->hash = nsec3->hash;
769 element->salt_length = nsec3->salt_length;
770 element->next_length = nsec3->next_length;
771 element->iterations = nsec3->iterations;
773 memmove(cp, nsec3->salt, nsec3
795 dns_rdata_nsec3_t nsec3; local
871 innsec3params(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *nsec3paramset) argument
900 dns_rdata_nsec3_t nsec3; local
956 dns_rdata_nsec3_t nsec3; local
[all...]
H A Ddnssec-signzone.c65 #include <dns/nsec3.h>
1980 dns_rdata_nsec3_t nsec3; local
2033 result = dns_rdata_tostruct(&rdata, &nsec3, NULL);
2035 if (exists && nsec3.hash == hashalg &&
2036 nsec3.iterations == iterations &&
2037 nsec3.salt_length == salt_len &&
2038 isc_safe_memequal(nsec3.salt, salt, salt_len))
2334 * Generate the nsec3 records.
2707 dns_rdata_nsec3_t nsec3; local
2769 result = dns_rdata_tostruct(&rdata, &nsec3, NUL
[all...]
/bind-9.11.3/bin/named/
H A Dupdate.c31 #include <dns/nsec3.h>
1927 isc_boolean_t nseconly = ISC_FALSE, nsec3 = ISC_FALSE; local
1948 nsec3 = ISC_TRUE;
1969 if (!nsec3)
1971 privatetype, &nsec3));
1974 if (nseconly && nsec3) {
H A Dquery.c35 #include <dns/nsec3.h>
6075 dns_rdata_nsec3_t nsec3; local
6119 dns_rdata_tostruct(&rdata, &nsec3, NULL);
6121 optout = ISC_TF((nsec3.flags & DNS_NSEC3FLAG_OPTOUT) != 0);

Completed in 117 milliseconds