Crypto++
8.8
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
7 #ifndef CRYPTOPP_OAEP_H
8 #define CRYPTOPP_OAEP_H
21 bool ParameterSupported(
const char *name)
const {
return strcmp(name, Name::EncodingParameters()) == 0;}
22 size_t MaxUnpaddedLength(
size_t paddedLength)
const;
27 virtual unsigned int DigestSize()
const =0;
37 template <
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.
This file contains helper classes/functions for implementing public key algorithms.
Interface for random number generators.
Classes for SHA-1 and SHA-2 family of message digests.
Base class for public key encryption standard classes.
Returns a decoding results.
Message encoding method for public key encryption.
Crypto++ library namespace.
#define CRYPTOPP_API
Win32 calling convention.
#define CRYPTOPP_DLL_TEMPLATE_CLASS
Instantiate templates in a dynamic library.
Interface for retrieving values given their names.
Abstract base classes that provide a uniform interface to this library.