diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-17 00:42:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-17 00:42:07 +0200 |
commit | 938aa55a95fda70b403fa5cabb43c6cc37292ebf (patch) | |
tree | f77e74b2f02b38e35997182984ce2a05aeb146f3 /vala | |
parent | m + fix for python version (diff) | |
download | sha3sum-938aa55a95fda70b403fa5cabb43c6cc37292ebf.tar.gz sha3sum-938aa55a95fda70b403fa5cabb43c6cc37292ebf.tar.bz2 sha3sum-938aa55a95fda70b403fa5cabb43c6cc37292ebf.tar.xz |
change defaults (conflicts with Wikipedia but is based on official Keccak defaults; no defaults have yet been standardised)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'vala')
-rw-r--r-- | vala/sha3sum.vala | 4 |
1 files changed, 2 insertions, 2 deletions
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; |