#include <pk_ops_impl.h>
Definition at line 39 of file pk_ops_impl.h.
Botan::PK_Ops::Decryption_with_EME::~Decryption_with_EME |
( |
| ) |
|
|
default |
Botan::PK_Ops::Decryption_with_EME::Decryption_with_EME |
( |
const std::string & |
eme | ) |
|
|
explicitprotected |
Definition at line 34 of file pk_ops.cpp.
References Botan::get_eme().
38 throw Algorithm_Not_Found(eme);
EME * get_eme(const std::string &algo_spec)
secure_vector< uint8_t > Botan::PK_Ops::Decryption_with_EME::decrypt |
( |
uint8_t & |
valid_mask, |
|
|
const uint8_t |
msg[], |
|
|
size_t |
msg_len |
|
) |
| |
|
overridevirtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 42 of file pk_ops.cpp.
46 const secure_vector<uint8_t> raw = raw_decrypt(ciphertext, ciphertext_len);
47 return m_eme->unpad(valid_mask, raw.data(), raw.size());
virtual size_t Botan::PK_Ops::Decryption::plaintext_length |
( |
size_t |
ctext_len | ) |
const |
|
pure virtualinherited |
The documentation for this class was generated from the following files: