1 #ifndef CRYPTOPP_PKCSPAD_H
2 #define CRYPTOPP_PKCSPAD_H
11 NAMESPACE_BEGIN(CryptoPP)
17 static const char * StaticAlgorithmName() {
return "EME-PKCS1-v1_5";}
19 size_t MaxUnpaddedLength(
size_t paddedLength)
const;
27 static const byte decoration[];
28 static const unsigned int length;
46 #ifdef CRYPTOPP_IS_DLL
58 static const char * CRYPTOPP_API StaticAlgorithmName() {
return "EMSA-PKCS1-v1_5";}
60 size_t MinRepresentativeBitLength(
size_t hashIdentifierSize,
size_t digestSize)
const
61 {
return 8 * (digestSize + hashIdentifierSize + 10);}
64 const byte *recoverableMessage,
size_t recoverableMessageLength,
66 byte *representative,
size_t representativeBitLength)
const;
72 static HashIdentifier Lookup()