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;
37 explicit RC4(
size_t skip = 0);
42 void key_schedule(std::span<const uint8_t> key)
override;
43 void cipher_bytes(
const uint8_t in[], uint8_t out[],
size_t length)
override;
44 void set_iv_bytes(
const uint8_t iv[],
size_t iv_len)
override;
52 size_t m_position = 0;
Key_Length_Specification key_spec() 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
bool has_keying_material() const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector