8 #ifndef CRYPTOPP_PKCSPAD_H 9 #define CRYPTOPP_PKCSPAD_H 15 #ifdef CRYPTOPP_IS_DLL 26 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "EME-PKCS1-v1_5";}
28 size_t MaxUnpaddedLength(
size_t paddedLength)
const;
37 static const byte decoration[];
38 static const unsigned int length;
45 #if defined(CRYPTOPP_IS_DLL) 59 #if defined(__clang__) 90 CRYPTOPP_STATIC_CONSTEXPR
const char* CRYPTOPP_API StaticAlgorithmName() {
return "EMSA-PKCS1-v1_5";}
92 size_t MinRepresentativeBitLength(
size_t hashIdentifierSize,
size_t digestSize)
const 93 {
return 8 * (digestSize + hashIdentifierSize + 10);}
96 const byte *recoverableMessage,
size_t recoverableMessageLength,
98 byte *representative,
size_t representativeBitLength)
const;
104 static HashIdentifier Lookup()
Forward declarations for hash functions used in signature encoding methods.
This file contains helper classes/functions for implementing public key algorithms.
Abstract base classes that provide a uniform interface to this library.
Message encoding method for public key encryption.
Interface for random number generators.
Base class for public key signature standard classes.
PKCS #1 v1.5 Encryption Padding Scheme.
Returns a decoding results.
Interface for message encoding method for public key signature schemes.
PKCS #1 version 1.5, for use with RSAES and RSASS .
Base class for public key encryption standard classes.
PKCS #1 v1.5 Signature Encoding Scheme.
Classes for SHA-1 and SHA-2 family of message digests.
PKCS #1 decoration data structure.
Crypto++ library namespace.
Interface for retrieving values given their names.