| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| nsec3param_51.c | 207 dns_rdata_nsec3param_t *nsec3param = source; local 210 REQUIRE(nsec3param != NULL); 211 REQUIRE(nsec3param->common.rdtype == type); 212 REQUIRE(nsec3param->common.rdclass == rdclass); 217 RETERR(uint8_tobuffer(nsec3param->hash, target)); 218 RETERR(uint8_tobuffer(nsec3param->flags, target)); 219 RETERR(uint16_tobuffer(nsec3param->iterations, target)); 220 RETERR(uint8_tobuffer(nsec3param->salt_length, target)); 221 RETERR(mem_tobuffer(target, nsec3param->salt, nsec3param->salt_length)) 228 dns_rdata_nsec3param_t *nsec3param = target; local 259 dns_rdata_nsec3param_t *nsec3param = source; local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/nsec3/ns3/ |
| named-common.conf.j2 | 37 // no need to change configuration: if no 'nsec3param' is set, 42 nsec3param; 46 nsec3param optout yes; 50 nsec3param iterations 0 optout yes salt-length 8;
|
| named-retransfer.conf.j2 | 31 nsec3param;
|
| /src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| nsec3param_51.c | 206 dns_rdata_nsec3param_t *nsec3param = source; local 209 REQUIRE(nsec3param != NULL); 210 REQUIRE(nsec3param->common.rdtype == type); 211 REQUIRE(nsec3param->common.rdclass == rdclass); 216 RETERR(uint8_tobuffer(nsec3param->hash, target)); 217 RETERR(uint8_tobuffer(nsec3param->flags, target)); 218 RETERR(uint16_tobuffer(nsec3param->iterations, target)); 219 RETERR(uint8_tobuffer(nsec3param->salt_length, target)); 220 RETERR(mem_tobuffer(target, nsec3param->salt, nsec3param->salt_length)) 227 dns_rdata_nsec3param_t *nsec3param = target; local 253 dns_rdata_nsec3param_t *nsec3param = source; local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/checkconf/ |
| kasp-bad-nsec3-iter.conf | 18 nsec3param iterations 0; 25 nsec3param iterations 1; 32 nsec3param iterations 0; 39 nsec3param iterations 1; 46 nsec3param iterations 0; 53 nsec3param iterations 1;
|
| kasp-bad-nsec3-iter-fips.conf | 18 nsec3param iterations 0; 25 nsec3param iterations 1; 32 nsec3param iterations 0; 39 nsec3param iterations 1;
|
| good-key-directory.conf | 20 nsec3param iterations 0 optout no salt-length 8; 28 nsec3param iterations 0 optout no salt-length 8; 36 nsec3param iterations 0 optout no salt-length 8;
|
| bad-kasp-nsec3-alg.conf | 18 nsec3param iterations 0 optout 0 salt-length 0;
|
| kasp-bad-nsec3-alg.conf | 18 nsec3param ;
|
| kasp-bad-nsec3-salt.conf | 15 nsec3param salt "pepper";
|
| /src/external/mpl/bind/dist/tests/dns/ |
| nsec3_test.c | 56 const char *nsec3param_text; /* NSEC3PARAM RDATA in text form */ 62 * NSEC3PARAM RDATA correctly: test whether the result of calling the former is 65 * Assumes supplied text form NSEC3PARAM RDATA is valid as testing handling of 66 * invalid NSEC3PARAM RDATA is out of scope of this unit test. 71 dns_rdata_nsec3param_t nsec3param; local 84 result = dns_rdata_tostruct(&rdata, &nsec3param, NULL); 90 result = dns_nsec3param_salttotext(&nsec3param, salt, sizeof(salt)); 103 result = dns_nsec3param_salttotext(&nsec3param, salt, length - 1); 106 result = dns_nsec3param_salttotext(&nsec3param, salt, length); 109 result = dns_nsec3param_salttotext(&nsec3param, salt, length + 1) [all...] |
| nsec3param_test.c | 94 nsec3param_rdata_test_params_t nsec3param; local 95 nsec3param.hash = hash; 96 nsec3param.flags = flags; 97 nsec3param.iterations = iter; 98 nsec3param.salt_length = saltlen; 99 nsec3param.salt = salt; 100 return nsec3param; 104 * Check whether zone_lookup_nsec3param() finds the correct NSEC3PARAM 123 zone, TESTS_DIR "/testdata/nsec3param/nsec3.db.signed",
|
| private_test.c | 103 dns_rdata_t nsec3param = DNS_RDATA_INIT; local 139 dns_rdata_fromstruct(&nsec3param, dns_rdataclass_in, 144 dns_nsec3param_toprivate(&nsec3param, private, privatetype, pbuf,
|
| /src/external/mpl/bind/dist/lib/dns/ |
| nsec3.c | 385 const dns_rdata_nsec3param_t *nsec3param) { 386 if (nsec3->hash == nsec3param->hash && 387 nsec3->iterations == nsec3param->iterations && 388 nsec3->salt_length == nsec3param->salt_length && 389 !memcmp(nsec3->salt, nsec3param->salt, nsec3->salt_length)) 402 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) { 436 if (!match_nsec3param(&nsec3, nsec3param)) { 508 const dns_rdata_nsec3param_t *nsec3param) { 518 if (match_nsec3param(nsec3, nsec3param)) { 529 const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl 930 dns_rdata_nsec3param_t nsec3param; local 1247 dns_rdata_nsec3param_t nsec3param; local 1668 dns_rdata_nsec3param_t nsec3param; local 1780 dns_rdata_nsec3param_t nsec3param; local [all...] |
| private.c | 28 * We need to build the relevant chain if there exists a NSEC/NSEC3PARAM 29 * at the apex; normally only one or the other of NSEC/NSEC3PARAM will exist. 31 * If a NSEC3PARAM RRset exists then we will need to build a NSEC chain 32 * if all the NSEC3PARAM records (and associated chains) are slated for 38 * If neither NSEC/NSEC3PARAM RRsets exist at the origin and the private 327 dns_rdata_nsec3param_t nsec3param; local 337 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL)); 339 del = ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0); 340 init = ((nsec3param.flags & DNS_NSEC3FLAG_INITIAL) != 0); 341 nonsec = ((nsec3param.flags & DNS_NSEC3FLAG_NONSEC) != 0) [all...] |
| zoneverify.c | 427 * 'nsec3param'. 430 find_nsec3_match(const dns_rdata_nsec3param_t *nsec3param, 445 if (nsec3_match->hash == nsec3param->hash && 447 nsec3_match->iterations == nsec3param->iterations && 448 nsec3_match->salt_length == nsec3param->salt_length && 449 memcmp(nsec3_match->salt, nsec3param->salt, 450 nsec3param->salt_length) == 0) 461 const dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset, 471 result = find_nsec3_match(nsec3param, rdataset, rhsize, &nsec3); 510 if (nsec3.hash == nsec3param->hash & 536 dns_rdata_nsec3param_t nsec3param; local 692 dns_rdata_nsec3param_t nsec3param; local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| nsec3.c | 394 const dns_rdata_nsec3param_t *nsec3param) { 395 if (nsec3->hash == nsec3param->hash && 396 nsec3->iterations == nsec3param->iterations && 397 nsec3->salt_length == nsec3param->salt_length && 398 !memcmp(nsec3->salt, nsec3param->salt, nsec3->salt_length)) 411 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) { 445 if (!match_nsec3param(&nsec3, nsec3param)) { 523 const dns_rdata_nsec3param_t *nsec3param) { 533 if (match_nsec3param(nsec3, nsec3param)) { 544 const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl 916 dns_rdata_nsec3param_t nsec3param; local 1244 dns_rdata_nsec3param_t nsec3param; local 1680 dns_rdata_nsec3param_t nsec3param; local 1795 dns_rdata_nsec3param_t nsec3param; local [all...] |
| private.c | 29 * We need to build the relevant chain if there exists a NSEC/NSEC3PARAM 30 * at the apex; normally only one or the other of NSEC/NSEC3PARAM will exist. 32 * If a NSEC3PARAM RRset exists then we will need to build a NSEC chain 33 * if all the NSEC3PARAM records (and associated chains) are slated for 39 * If neither NSEC/NSEC3PARAM RRsets exist at the origin and the private 351 dns_rdata_nsec3param_t nsec3param; local 361 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL)); 363 del = ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0); 364 init = ((nsec3param.flags & DNS_NSEC3FLAG_INITIAL) != 0); 365 nonsec = ((nsec3param.flags & DNS_NSEC3FLAG_NONSEC) != 0) [all...] |
| zoneverify.c | 427 * 'nsec3param'. 430 find_nsec3_match(const dns_rdata_nsec3param_t *nsec3param, 445 if (nsec3_match->hash == nsec3param->hash && 447 nsec3_match->iterations == nsec3param->iterations && 448 nsec3_match->salt_length == nsec3param->salt_length && 449 memcmp(nsec3_match->salt, nsec3param->salt, 450 nsec3param->salt_length) == 0) 461 const dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset, 471 result = find_nsec3_match(nsec3param, rdataset, rhsize, &nsec3); 510 if (nsec3.hash == nsec3param->hash & 536 dns_rdata_nsec3param_t nsec3param; local 692 dns_rdata_nsec3param_t nsec3param; local [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/nsupdate/ns3/ |
| sign.sh | 16 zone=nsec3param.test. 17 infile=nsec3param.test.db.in 18 zonefile=nsec3param.test.db
|
| /src/external/mpl/bind/dist/bin/tests/system/inline/ns7/ |
| named.conf.j2 | 60 nsec3param iterations 0 optout no salt-length 0;
|
| /src/external/mpl/bind/dist/bin/tests/system/nsec3/ns2/ |
| named.conf.j2 | 17 nsec3param;
|
| /src/external/mpl/bind/dist/bin/tests/system/optout/ns2/ |
| named.conf.j2 | 36 nsec3param iterations 0 optout yes salt-length 0;
|
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| nsec3.h | 114 const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl, 132 * 'nsec3param'. 137 * dns_nsec3_addnsec3s() will examine the NSEC3PARAM RRset to determine which 138 * chains to be updated. NSEC3PARAM records with the DNS_NSEC3FLAG_CREATE 139 * will be preferentially chosen over NSEC3PARAM records without 140 * DNS_NSEC3FLAG_CREATE set. NSEC3PARAM records with DNS_NSEC3FLAG_REMOVE 143 * NSEC3PARAM record otherwise OPTOUT will be inherited from the previous 148 * the nsec3param rdataset at the zone apex. 154 * 'nsec3param' to be valid. 161 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
| nsec3.h | 115 const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl, 133 * 'nsec3param'. 138 * dns_nsec3_addnsec3s() will examine the NSEC3PARAM RRset to determine which 139 * chains to be updated. NSEC3PARAM records with the DNS_NSEC3FLAG_CREATE 140 * will be preferentially chosen over NSEC3PARAM records without 141 * DNS_NSEC3FLAG_CREATE set. NSEC3PARAM records with DNS_NSEC3FLAG_REMOVE 144 * NSEC3PARAM record otherwise OPTOUT will be inherited from the previous 149 * the nsec3param rdataset at the zone apex. 155 * 'nsec3param' to be valid. 162 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) [all...] |