diff options
author | Jack Lloyd <[email protected]> | 2016-06-18 10:03:45 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-06-18 10:03:45 -0400 |
commit | 924f2966a48c4dd94a45e1f58f0ef85c4f40c8d7 (patch) | |
tree | cb8f8a2017b53ba93caeaf89885af99a186ef03e /src/lib/stream/ofb/ofb.h | |
parent | 6ad180b5c55dfa68af5456ad45ac52c51584dcae (diff) | |
parent | 00337c4ea2af6b1727be0bdf9b719c98760a14fd (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.h | 2 |
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; |