From 4e0ea4634f06bfc7389a435b56366f71894a8d9f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 3 May 2013 02:57:34 +0200 Subject: apply change made to pure-java to other versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- c/sha3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c') diff --git a/c/sha3.c b/c/sha3.c index 72f3e83..a5e8f69 100644 --- a/c/sha3.c +++ b/c/sha3.c @@ -619,7 +619,7 @@ extern byte* digest(byte* msg, long msglen) byte* message; byte* rc; long rr = r >> 3, len; - long nn = n >> 3, olen; + long nn = (n + 7) >> 3, olen; long ww = w >> 3, ni; long i, j = 0, ptr = 0, _; -- cgit v1.2.3-70-g09d2