aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/ofb
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/ofb
parent1091bd40435bd5e01cab27f488c03f0a7d2e38d7 (diff)
Support seeking in Salsa20
Add a test that StreamCipher::seek throws if not keyed.
Diffstat (limited to 'src/lib/stream/ofb')
-rw-r--r--src/lib/stream/ofb/ofb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/ofb/ofb.cpp b/src/lib/stream/ofb/ofb.cpp
index 5a2d63dd4..75b7048aa 100644
--- a/src/lib/stream/ofb/ofb.cpp
+++ b/src/lib/stream/ofb/ofb.cpp
@@ -66,6 +66,6 @@ void OFB::set_iv(const uint8_t iv[], size_t iv_len)
void OFB::seek(uint64_t)
{
- throw Exception("OFB does not support seeking");
+ throw Not_Implemented("OFB does not support seeking");
}
}