aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/rc4/rc4.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-14 09:57:58 -0500
committerJack Lloyd <[email protected]>2017-11-14 09:57:58 -0500
commit72a5d030625341cc372b5a7ced454dd6d309f3e5 (patch)
tree1ae06b31b2e9e760915a186ace3cee169be1b9fd /src/lib/stream/rc4/rc4.cpp
parent1091bd40435bd5e01cab27f488c03f0a7d2e38d7 (diff)
Support seeking in Salsa20
Add a test that StreamCipher::seek throws if not keyed.
Diffstat (limited to 'src/lib/stream/rc4/rc4.cpp')
-rw-r--r--src/lib/stream/rc4/rc4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/rc4/rc4.cpp b/src/lib/stream/rc4/rc4.cpp
index 60565d445..cce09d183 100644
--- a/src/lib/stream/rc4/rc4.cpp
+++ b/src/lib/stream/rc4/rc4.cpp
@@ -115,6 +115,6 @@ RC4::RC4(size_t s) : m_SKIP(s) {}
void RC4::seek(uint64_t)
{
- throw Exception("RC4 does not support seeking");
+ throw Not_Implemented("RC4 does not support seeking");
}
}