edgar.iglesias@gmail.com writes:
diff --git a/sha3.c b/sha3.c index d7aec46..21e7beb 100644 --- a/sha3.c +++ b/sha3.c @@ -61,7 +61,7 @@ _sha3_update (struct sha3_state *state, if (pos > 0) { unsigned left = block_size - pos;
if (length < pos)
{ memcpy (block + pos, data, length); return pos + length;if (length < left)
Thanks, checked in now. Unfortunately, testutils.c:test_hash doesn't exercise this logic.
Regards, /Niels