aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-04 04:54:21 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-04 04:54:21 +0100
commite17831f7c2bebb9abdb136de23e7691c2e45c3f2 (patch)
tree8ef0b50c45beed8411a329ad64efa072d7c80ac6 /c/sha3.c
parentm (diff)
downloadsha3sum-e17831f7c2bebb9abdb136de23e7691c2e45c3f2.tar.gz
sha3sum-e17831f7c2bebb9abdb136de23e7691c2e45c3f2.tar.bz2
sha3sum-e17831f7c2bebb9abdb136de23e7691c2e45c3f2.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'c/sha3.c')
-rw-r--r--c/sha3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/sha3.c b/c/sha3.c
index 2de3b0b..b1c109d 100644
--- a/c/sha3.c
+++ b/c/sha3.c
@@ -850,7 +850,7 @@ void sha3_fastSqueeze(long times)
*/
byte* sha3_squeeze(void)
{
- long nn, ww, olen, i, j, ptr, ni;
+ long nn, ww, olen, i, j, _, ptr, ni;
byte* rc;
sha3_keccakF(S); /* Last squeeze did not do a ending squeeze */
@@ -866,7 +866,7 @@ byte* sha3_squeeze(void)
i = 0;
while ((i < ni) && (j < nn))
{
- long _, v = S[(i % 5) * 5 + i / 5];
+ llong v = S[(i % 5) * 5 + i / 5];
for (_ = 0; _ < ww; _++)
{
if (j < nn)