#include <pk_ops_impl.h>
Definition at line 20 of file pk_ops_impl.h.
Botan::PK_Ops::Encryption_with_EME::~Encryption_with_EME |
( |
| ) |
|
|
default |
Botan::PK_Ops::Encryption_with_EME::Encryption_with_EME |
( |
const std::string & |
eme | ) |
|
|
explicitprotected |
Definition at line 13 of file pk_ops.cpp.
References Botan::get_eme().
17 throw Algorithm_Not_Found(eme);
EME * get_eme(const std::string &algo_spec)
Implements Botan::PK_Ops::Encryption.
Definition at line 25 of file pk_ops.cpp.
References Botan::unlock().
28 const size_t max_raw = max_raw_input_bits();
29 const std::vector<uint8_t> encoded =
unlock(m_eme->encode(msg, msg_len, max_raw, rng));
30 return raw_encrypt(encoded.data(), encoded.size(), rng);
std::vector< T > unlock(const secure_vector< T > &in)
size_t Botan::PK_Ops::Encryption_with_EME::max_input_bits |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: