Lines Matching defs:nsec3param

363 		 const dns_rdata_nsec3param_t *nsec3param)
365 if (nsec3->hash == nsec3param->hash &&
366 nsec3->iterations == nsec3param->iterations &&
367 nsec3->salt_length == nsec3param->salt_length &&
368 !memcmp(nsec3->salt, nsec3param->salt, nsec3->salt_length))
379 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff)
412 if (!match_nsec3param(&nsec3, nsec3param))
480 const dns_rdata_nsec3param_t *nsec3param)
491 if (match_nsec3param(nsec3, nsec3param))
500 dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param,
545 hash = nsec3param->hash;
546 iterations = nsec3param->iterations;
547 salt_length = nsec3param->salt_length;
548 salt = nsec3param->salt;
553 flags = nsec3param->flags & DNS_NSEC3FLAG_OPTOUT;
584 result = find_nsec3(&nsec3, &rdataset, nsec3param);
586 if (!CREATE(nsec3param->flags))
601 else if (CREATE(nsec3param->flags) && OPTOUT(flags)) {
603 nsec3param, diff);
634 result = find_nsec3(&nsec3, &rdataset, nsec3param);
651 nsec3param, diff);
672 CHECK(delnsec3(db, version, prev, nsec3param, diff));
688 if (!CREATE(nsec3param->flags))
708 CHECK(delnsec3(db, version, hashname, nsec3param, diff));
747 result = find_nsec3(&nsec3, &rdataset, nsec3param);
777 result = find_nsec3(&nsec3, &rdataset, nsec3param);
791 CHECK(delnsec3(db, version, prev, nsec3param, diff));
809 if (!CREATE(nsec3param->flags))
828 CHECK(delnsec3(db, version, hashname, nsec3param, diff));
866 dns_rdata_nsec3param_t nsec3param;
897 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
899 if (nsec3param.flags != 0)
904 CHECK(dns_nsec3_addnsec3(db, version, name, &nsec3param,
1011 dns_nsec3param_salttotext(dns_rdata_nsec3param_t *nsec3param, char *dst,
1018 REQUIRE(nsec3param != NULL);
1021 if (nsec3param->salt_length == 0) {
1029 r.base = nsec3param->salt;
1030 r.length = nsec3param->salt_length;
1178 dns_rdata_nsec3param_t nsec3param;
1215 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1217 if (nsec3param.flags != 0)
1223 CHECK(dns_nsec3_addnsec3(db, version, name, &nsec3param,
1248 CHECK(dns_rdata_tostruct(&rdata2, &nsec3param, NULL));
1250 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1258 CHECK(dns_nsec3_addnsec3(db, version, name, &nsec3param,
1313 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff)
1352 hash = nsec3param->hash;
1353 iterations = nsec3param->iterations;
1354 salt_length = nsec3param->salt_length;
1355 salt = nsec3param->salt;
1388 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1419 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1430 CHECK(delnsec3(db, version, prev, nsec3param, diff));
1437 if (CREATE(nsec3param->flags))
1438 nsec3.flags = nsec3param->flags & DNS_NSEC3FLAG_OPTOUT;
1454 CHECK(delnsec3(db, version, hashname, nsec3param, diff));
1491 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1519 result = find_nsec3(&nsec3, &rdataset, nsec3param);
1530 CHECK(delnsec3(db, version, prev, nsec3param, diff));
1556 CHECK(delnsec3(db, version, hashname, nsec3param, diff));
1584 dns_rdata_nsec3param_t nsec3param;
1614 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1616 if (nsec3param.flags != 0)
1621 CHECK(dns_nsec3_delnsec3(db, version, name, &nsec3param, diff));
1649 CHECK(dns_rdata_tostruct(&rdata2, &nsec3param, NULL));
1651 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1659 CHECK(dns_nsec3_delnsec3(db, version, name, &nsec3param, diff));
1688 dns_rdata_nsec3param_t nsec3param;
1716 result = dns_rdata_tostruct(&rdata, &nsec3param, NULL);
1719 if (nsec3param.flags == 0)
1758 result = dns_rdata_tostruct(&rdata2, &nsec3param, NULL);
1761 if (!complete && CREATE(nsec3param.flags))