Botan 3.7.1
Crypto and TLS for C&
|
#include <pk_ops_impl.h>
Public Member Functions | |
virtual size_t | ciphertext_length (size_t ptext_len) const =0 |
std::vector< uint8_t > | encrypt (std::span< const uint8_t > ptext, RandomNumberGenerator &rng) override |
size_t | max_input_bits () const override |
~Encryption_with_EME () override | |
Protected Member Functions | |
Encryption_with_EME (std::string_view eme) | |
Definition at line 23 of file pk_ops_impl.h.
|
overridedefault |
|
explicitprotected |
Definition at line 29 of file pk_ops.cpp.
|
pure virtualinherited |
Given the plaintext length, return an upper bound of the ciphertext length for this key and padding.
|
overridevirtual |
Encrypt a message returning the ciphertext
Implements Botan::PK_Ops::Encryption.
Definition at line 37 of file pk_ops.cpp.
References BOTAN_ARG_CHECK.
|
overridevirtual |
Return the maximum input size for this key
Implements Botan::PK_Ops::Encryption.
Definition at line 33 of file pk_ops.cpp.