Skip to content

Commit 5b01555

Browse files
author
Palmer Cox
committed
Sha2: Rearrage traits / impls / structs.
The code was arranged so that the core Sha2 code came first, and then all of the various implementation of Digest followed along later. The problem is that the Sha512 compression function code is far away from the Sha512 Digest implementation, so, if you are trying to read over the code, you need to scroll all around the file for no good reason. The code was rearranged so that all of the Sha512 code is in one place and all of the Sha256 code is in another and so that all impls for a struct are near the definition of that struct.
1 parent a1bbd18 commit 5b01555

File tree

1 file changed

+257
-248
lines changed

1 file changed

+257
-248
lines changed

0 commit comments

Comments
 (0)