1 #ifndef CRYPTOPP_OAEP_H
2 #define CRYPTOPP_OAEP_H
7 NAMESPACE_BEGIN(CryptoPP)
14 size_t MaxUnpaddedLength(
size_t paddedLength)
const;
19 virtual unsigned int DigestSize()
const =0;
25 template <
class H,
class MGF=P1363_MGF1>
29 static std::string CRYPTOPP_API StaticAlgorithmName() {
return std::string(
"OAEP-") + MGF::StaticAlgorithmName() +
"(" + H::StaticAlgorithmName() +
")";}
33 unsigned int DigestSize()
const {
return H::DIGESTSIZE;}
This file contains helper classes/functions for implementing public key algorithms.
message encoding method for public key encryption
interface for random number generators
used to return decoding results
const char * EncodingParameters()
ConstByteArrayParameter.
Base class for public key encryption standard classes. These classes are used to select from variants...
EME-OAEP, for use with classes derived from TF_ES
interface for retrieving values given their names