From 8f6444cb01065a6df43bf3b9072a72df7ea5f7e5 Mon Sep 17 00:00:00 2001 From: Fabrice Benhamouda <1146316+fabrice102@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:12:45 -0500 Subject: [PATCH] Fixing typo in comment in md32_common.h Fixing a typo in the comment in md32_common.h The is 32 bytes (= 256 bits) for SHA-224 and SHA-256, and 64 bytes (= 512 bits) for SHA-384 and SHA-512. See also https://github.com/aws/aws-lc/blob/0a470e450c6f5492478319abefc6daa0e9999954/include/openssl/sha.h#L174 . --- crypto/fipsmodule/digest/md32_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/fipsmodule/digest/md32_common.h b/crypto/fipsmodule/digest/md32_common.h index 129ec48fd2..c6066e8dea 100644 --- a/crypto/fipsmodule/digest/md32_common.h +++ b/crypto/fipsmodule/digest/md32_common.h @@ -76,7 +76,7 @@ extern "C" { // } _CTX; // // is the output length of the hash in bytes, before -// any truncation (e.g. 64 for SHA-224 and SHA-256, 128 for SHA-384 and +// any truncation (e.g. 32 for SHA-224 and SHA-256, 64 for SHA-384 and // SHA-512). // // |h| is the hash state and is updated by a function of type