From: Merreck <40280583+AndrewNic@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:29:57 +0000 (-0400) Subject: sha512.c: Grammar Fixes and Spell Checks in Implementation Notes X-Git-Tag: openssl-3.4.0-alpha1~634 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c305197658cb9a337d34f58ca43c0713bec2213;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24241) --- diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index bc547d7cdc2..cd8fc25eef4 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,