8#ifndef BOTAN_PUBKEY_EME_ENCRYPTION_PAD_H_
9#define BOTAN_PUBKEY_EME_ENCRYPTION_PAD_H_
11#include <botan/secmem.h>
16class RandomNumberGenerator;
30 static std::unique_ptr<EME>
create(std::string_view algo_spec);
secure_vector< uint8_t > encode(const uint8_t in[], size_t in_length, size_t key_length, RandomNumberGenerator &rng) const
virtual size_t maximum_input_size(size_t keybits) const =0
virtual secure_vector< uint8_t > unpad(uint8_t &valid_mask, const uint8_t in[], size_t in_len) const =0
virtual secure_vector< uint8_t > pad(const uint8_t in[], size_t in_length, size_t key_length, RandomNumberGenerator &rng) const =0
static std::unique_ptr< EME > create(std::string_view algo_spec)
std::vector< T, secure_allocator< T > > secure_vector