diff options
author | Jack Lloyd <[email protected]> | 2017-11-14 09:57:58 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-11-14 09:57:58 -0500 |
commit | 72a5d030625341cc372b5a7ced454dd6d309f3e5 (patch) | |
tree | 1ae06b31b2e9e760915a186ace3cee169be1b9fd /src/lib/stream/ofb/ofb.cpp | |
parent | 1091bd40435bd5e01cab27f488c03f0a7d2e38d7 (diff) |
Support seeking in Salsa20
Add a test that StreamCipher::seek throws if not keyed.
Diffstat (limited to 'src/lib/stream/ofb/ofb.cpp')
-rw-r--r-- | src/lib/stream/ofb/ofb.cpp | 2 |
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"); } } |