Skip to content

Commit

Permalink
sha512.c: Grammar Fixes and Spell Checks in Implementation Notes
Browse files Browse the repository at this point in the history
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 #24241)
  • Loading branch information
AndrewNic authored and t8m committed Apr 25, 2024
1 parent c81b7b0 commit 7c30519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crypto/sha/sha512.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7c30519

Please sign in to comment.