diff options
author | SimCog <[email protected]> | 2016-06-14 18:21:10 +0200 |
---|---|---|
committer | SimCog <[email protected]> | 2016-06-18 01:06:21 +0200 |
commit | 00337c4ea2af6b1727be0bdf9b719c98760a14fd (patch) | |
tree | adc8b6f68311b2c9649bdb84766f22f99d2424db /src/lib/stream/rc4/rc4.h | |
parent | 6816c9e71e01432792a997ad9a5d561b9cd94a48 (diff) |
Adding StreamCipher::seek interface, supporting seek in ChaCha, and also adding ChaCha8 support
Diffstat (limited to 'src/lib/stream/rc4/rc4.h')
-rw-r--r-- | src/lib/stream/rc4/rc4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/stream/rc4/rc4.h b/src/lib/stream/rc4/rc4.h index f166a2772..88798fae6 100644 --- a/src/lib/stream/rc4/rc4.h +++ b/src/lib/stream/rc4/rc4.h @@ -39,6 +39,8 @@ class BOTAN_DLL RC4 final : public StreamCipher explicit RC4(size_t skip = 0); ~RC4() { clear(); } + + void seek(u64bit offset) override; private: void key_schedule(const byte[], size_t) override; void generate(); |