The Keccak hash function (SHA-3)
Go to file
magical 4c06f23ff1 Merge branch 'shrink-buf' into shake
good example of how a merge can have no conflicts yet neverthless
require a bunch of adjustments to got something that actually works.

these two changes are conceptually independent but since shrink-buf
changes the internal representation of a digest, the shake code needs to
be adjusted to match. i wanted to capture the code both before and
after the shrink-buf change, thus this merge.

there's a bunch of code duplication that i will clean up later.
2024-10-06 22:41:30 -07:00
sha3sum sha3sum: remove dependency on fmt 2024-10-05 21:18:39 -07:00
const.go Add 512-bit hash. Use SHA-3 padding. 2014-12-31 23:19:05 -08:00
gen.go gen: use short declarations for c and d vars 2024-10-05 21:02:12 -07:00
keccak.go de-unroll Chi loop in roundGeneric 2024-10-05 20:54:51 -07:00
keccak_gen.go gen: use short declarations for c and d vars 2024-10-05 21:02:12 -07:00
keccak_test.go add a few more test vectors for SHA-256 2024-10-06 00:40:46 -07:00
shake.go Merge branch 'shrink-buf' into shake 2024-10-06 22:41:30 -07:00
shake_test.go add (c)SHAKE-128 and 256 2024-10-06 22:20:47 -07:00
sponge.go reduce buffer size to 8 bytes 2024-10-06 18:07:16 -07:00