Skip to content

Commit

Permalink
crypto.blake2b: fix erroneous comment in unit tests (#20235)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimshrier committed Dec 21, 2023
1 parent 5306469 commit 062cc3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vlib/crypto/blake2b/blake2b_block_test.v
Expand Up @@ -79,7 +79,7 @@ fn test_mixing_function_g() {

// set up the message blocks with the value 'abc'
// the firet block will have the 3 bytes of the text to hash
// and the rest of the first block and the other 7 blocks
// and the rest of the first block and the other 15 blocks
// will be all zeros. d.m[1..16] should already be zero.
d.m[0] = 0x0000000000636261

Expand Down
2 changes: 1 addition & 1 deletion vlib/crypto/blake2s/blake2s_block_test.v
Expand Up @@ -56,7 +56,7 @@ fn test_mixing_function_g() {

// set up the message blocks with the value 'abc'
// the firet block will have the 3 bytes of the text to hash
// and the rest of the first block and the other 7 blocks
// and the rest of the first block and the other 15 blocks
// will be all zeros. d.m[1..16] should already be zero.
d.m[0] = 0x00636261

Expand Down

0 comments on commit 062cc3f

Please sign in to comment.