Skip to content

Commit cb0714f

Browse files
authored
bake-kdf: fix spec references (#166)
1 parent 06484b5 commit cb0714f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bake-kdf/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use belt_hash::digest::FixedOutput;
1212
use belt_hash::{BeltHash, Digest, block_api::belt_compress};
1313

14-
/// `belt-keyexpand` key expansion algorithm described in STB 34.101.34-2020 8.1.2.
14+
/// `belt-keyexpand` key expansion algorithm described in STB 34.101.31-2020 8.1.2.
1515
///
1616
/// # Panics
1717
/// If `N` is not equal to 16, 24, or 32.
@@ -41,7 +41,7 @@ pub fn belt_keyexpand<const N: usize>(k: &[u8; N]) -> [u32; 8] {
4141
t
4242
}
4343

44-
/// `belt-keyrep` key repetition algorithm described in STB 34.101.34-2020 8.1.3.
44+
/// `belt-keyrep` key repetition algorithm described in STB 34.101.31-2020 8.1.3.
4545
///
4646
/// # Panics
4747
/// If `(N, M)` is not equal to `(16, 16)`, `(24, 16)`, `(24, 24)`,

0 commit comments

Comments
 (0)