aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/chacha/chacha.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-05 13:29:06 -0400
committerJack Lloyd <[email protected]>2016-09-05 13:29:06 -0400
commitfd39528f76a03b1308afb99bb4f77f722e212246 (patch)
tree456908c3223777577e382350e8251f12c9cf3e4b /src/lib/stream/chacha/chacha.h
parent590365ee98bdbd10d1de990a5044cece45308208 (diff)
parent6b2e3aa24fa29bf7e449372f61a709ab94c0ced5 (diff)
Merge GH #613 NewHope R-LWE key exchange
Diffstat (limited to 'src/lib/stream/chacha/chacha.h')
-rw-r--r--src/lib/stream/chacha/chacha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/chacha/chacha.h b/src/lib/stream/chacha/chacha.h
index e4d4ae60e..9b4c5d76f 100644
--- a/src/lib/stream/chacha/chacha.h
+++ b/src/lib/stream/chacha/chacha.h
@@ -24,7 +24,7 @@ class BOTAN_DLL ChaCha final : public StreamCipher
* Currently only 8, 12 or 20 rounds are supported, all others
* will throw an exception
*/
- ChaCha(size_t rounds);
+ ChaCha(size_t rounds = 20);
void cipher(const byte in[], byte out[], size_t length) override;