From 10e63afdf5435a4a9b77ca8d243660ada699abb7 Mon Sep 17 00:00:00 2001 From: Alexandr Kitaev Date: Sun, 23 Nov 2025 13:53:56 +0300 Subject: [PATCH] fix spec definition --- bake-kdf/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bake-kdf/src/lib.rs b/bake-kdf/src/lib.rs index 461a69f..0cf3354 100644 --- a/bake-kdf/src/lib.rs +++ b/bake-kdf/src/lib.rs @@ -11,7 +11,7 @@ use belt_hash::digest::FixedOutput; use belt_hash::{BeltHash, Digest, block_api::belt_compress}; -/// `belt-keyexpand` key expansion algorithm described in STB 34.101.34-2020 8.1.2. +/// `belt-keyexpand` key expansion algorithm described in STB 34.101.31-2020 8.1.2. /// /// # Panics /// If `N` is not equal to 16, 24, or 32. @@ -41,7 +41,7 @@ pub fn belt_keyexpand(k: &[u8; N]) -> [u32; 8] { t } -/// `belt-keyrep` key repetition algorithm described in STB 34.101.34-2020 8.1.3. +/// `belt-keyrep` key repetition algorithm described in STB 34.101.31-2020 8.1.3. /// /// # Panics /// If `(N, M)` is not equal to `(16, 16)`, `(24, 16)`, `(24, 24)`,