mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-22 18:17:05 -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. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| ascii.c | ||
| compress.c | ||
| dns_name_fromwire.c | ||
| iterated_hash.c | ||
| load-names.c | ||
| meson.build | ||
| names.csv | ||
| qp-dump.c | ||
| qplookups.c | ||
| qpmulti.c | ||
| siphash.c | ||