Searched defs:nsec3param (Results 1 - 10 of 10) sorted by relevance

/bind-9.11.3/lib/dns/tests/
H A Dnsec3_test.c65 dns_rdata_nsec3param_t nsec3param; local
79 result = dns_rdata_tostruct(&rdata, &nsec3param, NULL);
85 result = dns_nsec3param_salttotext(&nsec3param, salt, sizeof(salt));
102 result = dns_nsec3param_salttotext(&nsec3param, salt, length - 1);
108 result = dns_nsec3param_salttotext(&nsec3param, salt, length);
114 result = dns_nsec3param_salttotext(&nsec3param, salt, length + 1);
H A Dprivate_test.c74 dns_rdata_t nsec3param = DNS_RDATA_INIT; local
108 dns_rdata_fromstruct(&nsec3param, dns_rdataclass_in,
113 dns_nsec3param_toprivate(&nsec3param, private, privatetype,
/bind-9.11.3/lib/dns/
H A Dprivate.c300 dns_rdata_nsec3param_t nsec3param; local
308 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
310 del = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0);
311 init = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_INITIAL) != 0);
312 nonsec = ISC_TF((nsec3param.flags & DNS_NSEC3FLAG_NONSEC) != 0);
314 nsec3param.flags &= ~(DNS_NSEC3FLAG_CREATE|
330 &nsec3param, &b));
H A Dnsec3.c363 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,
362 match_nsec3param(const dns_rdata_nsec3_t *nsec3, const dns_rdata_nsec3param_t *nsec3param) argument
378 delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument
479 find_nsec3(dns_rdata_nsec3_t *nsec3, dns_rdataset_t *rdataset, const dns_rdata_nsec3param_t *nsec3param) argument
499 dns_nsec3_addnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl, isc_boolean_t unsecure, dns_diff_t *diff) argument
866 dns_rdata_nsec3param_t nsec3param; local
1011 dns_nsec3param_salttotext(dns_rdata_nsec3param_t *nsec3param, char *dst, size_t dstlen) argument
1178 dns_rdata_nsec3param_t nsec3param; local
1312 dns_nsec3_delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument
1584 dns_rdata_nsec3param_t nsec3param; local
1688 dns_rdata_nsec3param_t nsec3param; local
[all...]
H A Drbtdb.c2558 dns_rdata_nsec3param_t nsec3param; local
2613 &nsec3param,
2618 if (nsec3param.hash != DNS_NSEC3_UNKNOWNALG &&
2619 !dns_nsec3_supportedhash(nsec3param.hash))
2622 if (nsec3param.flags != 0)
2625 memmove(version->salt, nsec3param.salt,
2626 nsec3param.salt_length);
2627 version->hash = nsec3param.hash;
2628 version->salt_length = nsec3param.salt_length;
2629 version->iterations = nsec3param
[all...]
H A Dzone.c660 dns_rdata_nsec3param_t nsec3param; member in struct:dns_nsec3chain
674 * 'nsec3param' contains the parameters of the NSEC3 chain being created
677 * 'salt' is buffer space and is referenced via 'nsec3param.salt'.
857 typedef struct nsec3param nsec3param_t;
858 struct nsec3param { struct
3319 zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) { argument
3349 if (!nsec3ok && (nsec3param->flags & DNS_NSEC3FLAG_REMOVE) == 0) {
3369 nsec3chain->nsec3param.common.rdclass = nsec3param->common.rdclass;
3370 nsec3chain->nsec3param
3500 dns_rdata_nsec3param_t nsec3param; local
3639 dns_rdata_nsec3param_t nsec3param; local
7042 dns_rdata_nsec3param_t nsec3param; local
14393 nsec3param_t *nsec3param = NULL; local
17249 dns_zone_addnsec3chain(dns_zone_t *zone, dns_rdata_nsec3param_t *nsec3param) argument
18017 dns_rdata_nsec3param_t nsec3param; local
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec3param_51.c196 dns_rdata_nsec3param_t *nsec3param = source; local
200 REQUIRE(nsec3param->common.rdtype == type);
201 REQUIRE(nsec3param->common.rdclass == rdclass);
206 RETERR(uint8_tobuffer(nsec3param->hash, target));
207 RETERR(uint8_tobuffer(nsec3param->flags, target));
208 RETERR(uint16_tobuffer(nsec3param->iterations, target));
209 RETERR(uint8_tobuffer(nsec3param->salt_length, target));
210 RETERR(mem_tobuffer(target, nsec3param->salt,
211 nsec3param->salt_length));
218 dns_rdata_nsec3param_t *nsec3param local
247 dns_rdata_nsec3param_t *nsec3param = source; local
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.c789 dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset,
809 if (nsec3.hash == nsec3param->hash &&
811 nsec3.iterations == nsec3param->iterations &&
812 nsec3.salt_length == nsec3param->salt_length &&
813 memcmp(nsec3.salt, nsec3param->salt,
814 nsec3param->salt_length) == 0)
851 if (nsec3.hash == nsec3param->hash &&
852 nsec3.iterations == nsec3param->iterations &&
853 nsec3.salt_length == nsec3param->salt_length &&
854 memcmp(nsec3.salt, nsec3param
788 match_nsec3(dns_name_t *name, isc_mem_t *mctx, dns_rdata_nsec3param_t *nsec3param, dns_rdataset_t *rdataset, unsigned char types[8192], unsigned int maxtype, unsigned char *rawhash, size_t rhsize) argument
872 dns_rdata_nsec3param_t nsec3param; local
957 dns_rdata_nsec3param_t nsec3param; local
1012 dns_rdata_nsec3param_t nsec3param; local
[all...]
H A Ddnssec-signzone.c1765 "dns_db_deleterdataset(nsec3param/rrsig)");
1857 dns_rdata_nsec3param_t nsec3param; local
1867 nsec3param.common.rdclass = gclass;
1868 nsec3param.common.rdtype = dns_rdatatype_nsec3param;
1869 ISC_LINK_INIT(&nsec3param.common, link);
1870 nsec3param.mctx = NULL;
1871 nsec3param.flags = 0;
1872 nsec3param.hash = unknownalg ? DNS_NSEC3_UNKNOWNALG : dns_hash_sha1;
1873 nsec3param.iterations = iterations;
1874 nsec3param
[all...]
/bind-9.11.3/bin/named/
H A Dupdate.c1842 dns_rdata_nsec3param_t nsec3param; local
1864 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1865 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1867 if (nsec3param.iterations > iterations)
1868 iterations = nsec3param.iterations;
1897 CHECK(dns_rdata_tostruct(&rdata, &nsec3param, NULL));
1898 if ((nsec3param.flags & DNS_NSEC3FLAG_REMOVE) != 0)
1900 if (nsec3param.iterations > iterations)
1901 iterations = nsec3param.iterations;
3289 dns_rdata_nsec3param_t nsec3param; local
[all...]

Completed in 328 milliseconds