aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/stream_cipher.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-04-04 23:30:13 -0400
committerJack Lloyd <[email protected]>2016-04-09 12:57:47 -0400
commit088e85ea774e9035c0b951c27a1a00d0793fa01e (patch)
tree9254702508469a6148c5c5ba28d78239cb1eb028 /src/lib/stream/stream_cipher.cpp
parent8dd6eb9252ad91f59630e2889fa6803f6e3bf554 (diff)
Add support for ChaCha(12)
Diffstat (limited to 'src/lib/stream/stream_cipher.cpp')
-rw-r--r--src/lib/stream/stream_cipher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/stream_cipher.cpp b/src/lib/stream/stream_cipher.cpp
index 03ef5e329..6f98df1fb 100644
--- a/src/lib/stream/stream_cipher.cpp
+++ b/src/lib/stream/stream_cipher.cpp
@@ -51,7 +51,7 @@ void StreamCipher::set_iv(const byte[], size_t iv_len)
}
#if defined(BOTAN_HAS_CHACHA)
-BOTAN_REGISTER_T_NOARGS(StreamCipher, ChaCha);
+BOTAN_REGISTER_T_1LEN(StreamCipher, ChaCha, 20);
#endif
#if defined(BOTAN_HAS_SALSA20)