10 Commits

Author SHA1 Message Date
dd21e91ec1 Add 512-bit hash. Use SHA-3 padding. 2014-12-31 23:19:05 -08:00
58e2940852 Remove dead function. 2014-12-31 20:30:56 -08:00
56a2055f6e Use fewer XORs in Theta and eliminate Pi.
Go's common subexpression elimination is apparently not up to snuff.

Pi is now done implicitly.
2014-12-31 17:52:09 -08:00
64c5855490 Optimize loads and stores a bit. 2014-12-31 16:52:34 -08:00
df6edcd0bb Generate a faster round function. 2014-12-31 16:43:36 -08:00
c9dcfb85a1 Gofmt 2014-12-31 15:19:23 -08:00
e40b3562fb Perform keccak-f in-place. 2014-12-31 15:17:55 -08:00
5ee886a4b3 Swap x and y. 2014-12-31 15:15:49 -08:00
0ed98686b8 Combine keccakf steps. 2014-12-31 15:11:40 -08:00
ed04711f60 Initial commit. 2014-12-31 14:59:00 -08:00