aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/ofb/ofb.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-06-18 10:03:45 -0400
committerJack Lloyd <[email protected]>2016-06-18 10:03:45 -0400
commit924f2966a48c4dd94a45e1f58f0ef85c4f40c8d7 (patch)
treecb8f8a2017b53ba93caeaf89885af99a186ef03e /src/lib/stream/ofb/ofb.h
parent6ad180b5c55dfa68af5456ad45ac52c51584dcae (diff)
parent00337c4ea2af6b1727be0bdf9b719c98760a14fd (diff)
Merge GH #497 Add StreamCipher::seek and implementation for ChaCha
Also adds ChaCha8 support
Diffstat (limited to 'src/lib/stream/ofb/ofb.h')
-rw-r--r--src/lib/stream/ofb/ofb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/stream/ofb/ofb.h b/src/lib/stream/ofb/ofb.h
index fecd47d9d..127a06578 100644
--- a/src/lib/stream/ofb/ofb.h
+++ b/src/lib/stream/ofb/ofb.h
@@ -44,6 +44,8 @@ class BOTAN_DLL OFB final : public StreamCipher
* @param cipher the underlying block cipher to use
*/
explicit OFB(BlockCipher* cipher);
+
+ void seek(u64bit offset) override;
private:
void key_schedule(const byte key[], size_t key_len) override;