Commit graph

4 commits

Author SHA1 Message Date
Sean Cross
5ae1e437ab sha512: fix length and 512/256 calculation
The length is now correctly calculated, and the engine properly
completes.

Additionally, a bulk 512/256 implementation has been written that works
well enough, but will fall over if asked to compute a large amount of
data.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 15:55:13 +08:00
Sean Cross
4864d6bae7 emulation: implement sha512
This implements the sha512 block.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-13 22:22:31 +08:00
Sean Cross
deb524e570 emulation: sha512: wire up done bit
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:37:42 +08:00
Sean Cross
96c3c59b72 emulation: add first draft of sha512 engine
This should be feature complete, but has not been tested.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:34:50 +08:00