diff options
author | Jack Lloyd <[email protected]> | 2016-09-21 11:12:11 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-09-21 11:12:11 -0400 |
commit | afe735aee31bfc7916305e285d7aa73df070de52 (patch) | |
tree | 8297697ddd82d80c019717796b976c74da6226d3 /src/lib/stream | |
parent | 12483c295d393ffb2e151187a45839ba9e1f489c (diff) |
Maintainer mode fixes.
Mostly unused args and missing override notations.
Fix DH - load_check calls were commented out for debugging.
Diffstat (limited to 'src/lib/stream')
-rw-r--r-- | src/lib/stream/chacha/chacha.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/chacha/chacha.cpp b/src/lib/stream/chacha/chacha.cpp index 6101281a0..c74f60f2d 100644 --- a/src/lib/stream/chacha/chacha.cpp +++ b/src/lib/stream/chacha/chacha.cpp @@ -57,7 +57,7 @@ void ChaCha::chacha_x4(byte output[64*4], u32bit input[16], size_t rounds) c += d; b ^= c; b = rotate_left(b, 7); \ } while(0) - for(size_t i = 0; i != rounds / 2; ++i) + for(size_t r = 0; r != rounds / 2; ++r) { CHACHA_QUARTER_ROUND(x00, x04, x08, x12); CHACHA_QUARTER_ROUND(x01, x05, x09, x13); |