11#include <botan/stream_cipher.h>
12#include <botan/types.h>
21 void clear()
override;
22 std::string
name()
const override;
24 std::unique_ptr<StreamCipher>
new_object()
const override;
28 void seek(uint64_t offset)
override;
41 explicit RC4(
size_t skip = 0);
44 void key_schedule(std::span<const uint8_t> key)
override;
45 void cipher_bytes(
const uint8_t in[], uint8_t out[],
size_t length)
override;
46 void set_iv_bytes(
const uint8_t iv[],
size_t iv_len)
override;
54 size_t m_position = 0;
Key_Length_Specification key_spec() const override
bool supports_seek() const override
std::string name() const override
std::unique_ptr< StreamCipher > new_object() const override
size_t buffer_size() const override
void seek(uint64_t offset) override
std::optional< uint64_t > remaining_keystream_bytes() const override
bool has_keying_material() const override
std::vector< T, secure_allocator< T > > secure_vector