aboutsummaryrefslogtreecommitdiff
path: root/src/test.rs
diff options
context:
space:
mode:
authorJoel Rosdahl <[email protected]>2023-05-23 21:47:15 +0200
committerJack O'Connor <[email protected]>2023-05-23 14:39:27 -0700
commit2dd4e57f68d85f3983b1880b66250fc7bdf0b7c8 (patch)
tree3bfbedaa7e893cca918aec1c5eb2f5994c3420f7 /src/test.rs
parent71a2646180c787e22f8681c5fec7655a0ad51e99 (diff)
Fix typos
Diffstat (limited to 'src/test.rs')
-rw-r--r--src/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.rs b/src/test.rs
index f5b3462..60bbe8c 100644
--- a/src/test.rs
+++ b/src/test.rs
@@ -52,7 +52,7 @@ pub const TEST_KEY_WORDS: CVWords = [
];
// Paint the input with a repeating byte pattern. We use a cycle length of 251,
-// because that's the largets prime number less than 256. This makes it
+// because that's the largest prime number less than 256. This makes it
// unlikely to swapping any two adjacent input blocks or chunks will give the
// same answer.
pub fn paint_test_input(buf: &mut [u8]) {
@@ -494,7 +494,7 @@ fn test_xof_seek() {
}
#[test]
-fn test_msg_schdule_permutation() {
+fn test_msg_schedule_permutation() {
let permutation = [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8];
let mut generated = [[0; 16]; 7];