summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerreck <40280583+AndrewNic@users.noreply.github.com>2024-04-22 15:29:57 -0400
committerTomas Mraz <tomas@openssl.org>2024-04-25 10:44:01 +0200
commit7c305197658cb9a337d34f58ca43c0713bec2213 (patch)
treee3ce3b6c0da29277c9c35356667df94e25bda52f
parentc81b7b059f614a6c43ad6a6907b1a740b783fbfd (diff)
sha512.c: Grammar Fixes and Spell Checks in Implementation Notes
Added commas for sentence openers in Implementation Notes. Fixed spelling of "reasons" section of the notes. CLA: trivial Co-authored-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24241)
-rw-r--r--crypto/sha/sha512.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c
index bc547d7cdc..cd8fc25eef 100644
--- a/crypto/sha/sha512.c
+++ b/crypto/sha/sha512.c
@@ -18,16 +18,16 @@
/*-
* IMPLEMENTATION NOTES.
*
- * As you might have noticed 32-bit hash algorithms:
+ * As you might have noticed, 32-bit hash algorithms:
*
* - permit SHA_LONG to be wider than 32-bit
* - optimized versions implement two transform functions: one operating
- * on [aligned] data in host byte order and one - on data in input
+ * on [aligned] data in host byte order, and one operating on data in input
* stream byte order;
* - share common byte-order neutral collector and padding function
* implementations, crypto/md32_common.h;
*
- * Neither of the above applies to this SHA-512 implementations. Reasons
+ * Neither of the above applies to this SHA-512 implementation. Reasons
* [in reverse order] are:
*
* - it's the only 64-bit hash algorithm for the moment of this writing,