From 938aa55a95fda70b403fa5cabb43c6cc37292ebf Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Jun 2013 00:42:07 +0200 Subject: change defaults (conflicts with Wikipedia but is based on official Keccak defaults; no defaults have yet been standardised) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- vala/sha3sum.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vala') diff --git a/vala/sha3sum.vala b/vala/sha3sum.vala index 6339d6a..6aed7b0 100644 --- a/vala/sha3sum.vala +++ b/vala/sha3sum.vala @@ -635,8 +635,8 @@ static int main(string[] cmdargs) else if (cmd == "sha3-384sum") o = _o = 384; else if (cmd == "sha3-512sum") o = _o = 512; int _s, s = _s = 1600; /* --statesize */ - int _r, r = _r = s - (o << 1); /* --bitrate */ - int _c, c = _c = s - r; /* --capacity */ + int _c, c = _c = s - (o << 1); /* --capacity */ + int _r, r = _r = s - c; /* --bitrate */ int _w, w = _w = s / 25; /* --wordsize */ int _i, i = _i = 1; /* --iterations */ bool binary = false; -- cgit v1.2.3-70-g09d2