Re:Show HN: Accelerating SHA256 by 100x in Golang on ARM
by tedunangst on Wednesday July 27, 2016 @09:42PM
(#12177806)
SHA512 eats data 512 bits at a time, while SHA256 eats it 256 bits at time. Both internally use 8 "registers", which are either 64 or 32 bits wide. Assuming you have the hardware registers to match, this would make SHA512 about twice as fast. But internally, it mixes data using 80 rounds, vs 64 for SHA256, so the speedup isn't quite 2x.
[ Parent
| on HN ]