8#ifndef BOTAN_OUTPUT_FEEDBACK_MODE_H_
9#define BOTAN_OUTPUT_FEEDBACK_MODE_H_
11#include <botan/block_cipher.h>
12#include <botan/stream_cipher.h>
27 std::string
name()
const override;
29 std::unique_ptr<StreamCipher>
new_object()
const override;
31 void clear()
override;
40 explicit OFB(std::unique_ptr<BlockCipher>
cipher);
42 void seek(uint64_t offset)
override;
45 void key_schedule(std::span<const uint8_t> key)
override;
46 void cipher_bytes(
const uint8_t in[], uint8_t out[],
size_t length)
override;
47 void set_iv_bytes(
const uint8_t iv[],
size_t iv_len)
override;
49 std::unique_ptr<BlockCipher> m_cipher;
size_t default_iv_length() const override
std::string name() const override
bool valid_iv_length(size_t iv_len) const override
size_t buffer_size() const override
bool has_keying_material() const override
OFB(std::unique_ptr< BlockCipher > cipher)
void seek(uint64_t offset) override
Key_Length_Specification key_spec() const override
std::unique_ptr< StreamCipher > new_object() const override
void cipher(const uint8_t in[], uint8_t out[], size_t len)
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector