From 839d526780de3d431b0786296263c1ecf94751ca Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Sun, 19 Jan 2025 21:13:18 -0700 Subject: [PATCH] blake2s, blake2b: fix typo in new_digest description (#23531) --- vlib/crypto/blake2b/blake2b.v | 2 +- vlib/crypto/blake2s/blake2s.v | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/crypto/blake2b/blake2b.v b/vlib/crypto/blake2b/blake2b.v index 2a98617f7f..2176684cac 100644 --- a/vlib/crypto/blake2b/blake2b.v +++ b/vlib/crypto/blake2b/blake2b.v @@ -145,7 +145,7 @@ fn (err InputBufferSizeError) msg() string { // new_digest creates an initialized digest structure based on // the hash size and whether or not you specify a MAC key. // -// hash_size - the number if bytes in the generated hash. +// hash_size - the number of bytes in the generated hash. // Legal values are between 1 and 64. // // key - key used for generating a prefix MAC. A zero length diff --git a/vlib/crypto/blake2s/blake2s.v b/vlib/crypto/blake2s/blake2s.v index 124dd320c4..de5b7b424d 100644 --- a/vlib/crypto/blake2s/blake2s.v +++ b/vlib/crypto/blake2s/blake2s.v @@ -144,7 +144,7 @@ fn (err InputBufferSizeError) msg() string { // new_digest creates an initialized digest structure based on // the hash size and whether or not you specify a MAC key. // -// hash_size - the number if bytes in the generated hash. +// hash_size - the number of bytes in the generated hash. // Legal values are between 1 and 32. // // key - key used for generating a prefix MAC. A zero length