sm86_table: say that the digest was recomputed (STRA-407)

This commit is contained in:
Pavlo Ratushnyi
2026-11-23 22:37:37 +01:00
parent bb8ff44667
commit 6c88bbc65e
+3 -2
View File
@@ -56,8 +56,9 @@ pub(crate) static COMPANIONS: &[Companion] = &JOINED;
mod tests {
use super::{COMPANIONS, ROWS};
/// SHA-256 over the per-row digests of (name NUL, key, len as u64 LE, sha, ptx) in table order: the value computed
/// from the single 934-line table that this layout replaced.
/// SHA-256 over the per-row digests of (name NUL, key, len as u64 LE, sha, ptx) in table order: first computed
/// from the single 934-line table that this layout replaced, recomputed when four companions changed their
/// header comments (STRA-407).
const FORMER_TABLE_DIGEST: &str = "c06e99e69866d603498f5e3792dbee45917e4dd80ff93153b592ce9ed5e8b30c";
fn hex(bytes: &[u8]) -> String {