27 virtual unsigned int DigestSize()
const =0;
37template <
class H,
class MGF=P1363_MGF1>
41 static std::string
CRYPTOPP_API StaticAlgorithmName() {
return std::string(
"OAEP-") + MGF::StaticAlgorithmName() +
"(" + H::StaticAlgorithmName() +
")";}
45 unsigned int DigestSize()
const {
return H::DIGESTSIZE;}
Mask generation function interface.
Interface for retrieving values given their names.
size_t MaxUnpaddedLength(size_t paddedLength) const
max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of ...
Message encoding method for public key encryption.
Interface for random number generators.
#define CRYPTOPP_API
Win32 calling convention.
#define CRYPTOPP_DLL_TEMPLATE_CLASS
Instantiate templates in a dynamic library.
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.
const char * EncodingParameters()
ConstByteArrayParameter.
This file contains helper classes/functions for implementing public key algorithms.
Classes for SHA-1 and SHA-2 family of message digests.
Returns a decoding results.
Base class for public key encryption standard classes.