]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
sha512.c: Grammar Fixes and Spell Checks in Implementation Notes
authorMerreck <40280583+AndrewNic@users.noreply.github.com>
Mon, 22 Apr 2024 19:29:57 +0000 (15:29 -0400)
committerTomas Mraz <tomas@openssl.org>
Thu, 25 Apr 2024 08:44:01 +0000 (10:44 +0200)
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)

crypto/sha/sha512.c

index bc547d7cdc26b9c3bfd3828c7214053e8e45e31f..cd8fc25eef40dee62d89b9709410abd44b648b1e 100644 (file)
 /*-
  * 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,