Commit Graph

3 Commits

Author SHA1 Message Date
fc1c70579e Remove superfluous final iteration in sha3-update.
The superfluous last iteration when start = end wasn't harmful, since the
iteration body winds up as a no-op in that case anyway, but wasn't
intended or needed.
2013-09-14 23:57:51 +02:00
9391b65603 Fix buffer handling for partial updates (fix #1).
Calls to sha3-update that did not completely fill an already partially
filled buffer were handled incorrectly, in that the buffer-index wasn't
properly updated. Thanks to Orivej Desh for the bug report.
2013-09-14 23:55:52 +02:00
618df43b2d Add initial version of project. 2012-11-02 20:47:39 +01:00