mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-25 19:02:12 -04:00
NSEC3 hashes are required to fit within a single DNS label. Since there
are 5 bits per label byte without pad characters, the maximum hash size
is floor(63*5/8) (39 bytes).
This patch enforces this maximum length for unknown algorithms, while
strictly enforcing the exact expected digest length for known algorithms
like SHA-1.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| ascii.c | ||
| compress.c | ||
| dns_name_fromwire.c | ||
| iterated_hash.c | ||
| load-names.c | ||
| Makefile.am | ||
| names.csv | ||
| qp-dump.c | ||
| qplookups.c | ||
| qpmulti.c | ||
| siphash.c | ||