Commits

Author Commit Message Labels Comments Date
Eric Roshan Eisner
ignore unused part of buffer benchmark old ns/op new ns/op delta BenchmarkHash8Bytes 2143 2056 -4.06% BenchmarkHash1K 12299 12208 -0.74% BenchmarkHash8K 89690 89741 +0.06% benchmark old MB/s new MB/s speedup BenchmarkHash8Bytes 3.73 3.89 1.04x BenchmarkHash1K 83.25 83.87 1.01x BenchmarkHash8…
Eric Roshan Eisner
use variable-exchange syntax in block calculation benchmark old ns/op new ns/op delta BenchmarkHash8Bytes 1992 1964 -1.41% BenchmarkHash1K 10676 10615 -0.57% BenchmarkHash8K 76977 76597 -0.49%
Eric Roshan Eisner
benchmarks: update to match new stdlib style
Eric Roshan Eisner
unsafe branch: use direct copy on x86 machines benchmark old ns/op new ns/op delta BenchmarkHash1K 11441 10726 -6.25% BenchmarkHash8K 90885 85156 -6.30% BenchmarkShortHash 2138 2044 -4.40% benchmark old MB/s new MB/s speedup BenchmarkHash1K 89.50 95.46 1.07x BenchmarkHash8K 90.13 96.20 1.07x
Branches
unsafe
Eric Roshan Eisner
bench: short hash test
Eric Roshan Eisner
sha3sum: new command
Eric Roshan Eisner
README: add disclaimer
Eric Roshan Eisner
block: snazzier round looping
Eric Roshan Eisner
block: manually inline rotate Letting gc do the inlining was losing the rotate optimization. benchmark old MB/s new MB/s speedup BenchmarkHash1K 48.51 80.32 1.66x BenchmarkHash8K 48.72 80.74 1.66x
Eric Roshan Eisner
fix typo
Eric Roshan Eisner
completely unroll the round of block.go benchmark old MB/s new MB/s speedup BenchmarkHash1K 12.24 53.87 4.40x BenchmarkHash8K 12.26 53.99 4.40x
Eric Roshan Eisner
make Reset more blatant
Eric Roshan Eisner
add doc comments
Eric Roshan Eisner
stream: allow dst to be longer than src Meets the unwritten API that other streams meet.
Eric Roshan Eisner
use encoding/binary for serialization
Eric Roshan Eisner
add doc and headers
Eric Roshan Eisner
add stream cipher support
Eric Roshan Eisner
change apply and readState to fit the sponge metaphor
Eric Roshan Eisner
factor out pad and readState from Sum
Eric Roshan Eisner
s/_Block/block/
Eric Roshan Eisner
full testsuite
Eric Roshan Eisner
init: working version