diff options
Diffstat (limited to 'src/lib/stream/ctr/ctr.h')
-rw-r--r-- | src/lib/stream/ctr/ctr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/stream/ctr/ctr.h b/src/lib/stream/ctr/ctr.h index 345c4f6e8..a914cd41f 100644 --- a/src/lib/stream/ctr/ctr.h +++ b/src/lib/stream/ctr/ctr.h @@ -49,9 +49,11 @@ class BOTAN_DLL CTR_BE final : public StreamCipher private: void key_schedule(const uint8_t key[], size_t key_len) override; void increment_counter(); + void add_counter(const uint64_t counter); std::unique_ptr<BlockCipher> m_cipher; secure_vector<uint8_t> m_counter, m_pad; + std::vector<uint8_t> m_iv; size_t m_ctr_size; size_t m_pad_pos; }; |