8 #ifndef BOTAN_BUFFERED_FILTER_H__
9 #define BOTAN_BUFFERED_FILTER_H__
11 #include <botan/secmem.h>
28 void write(
const uint8_t in[],
size_t length);
30 template<
typename Alloc>
31 void write(
const std::vector<uint8_t, Alloc>& in,
size_t length)
33 write(in.data(), length);
60 virtual void buffered_block(
const uint8_t input[],
size_t length) = 0;
68 virtual void buffered_final(
const uint8_t input[],
size_t length) = 0;
85 size_t m_main_block_mod, m_final_minimum;
std::vector< T, secure_allocator< T >> secure_vector
void write(const std::vector< uint8_t, Alloc > &in, size_t length)
size_t current_position() const
size_t buffered_block_size() const