Crypto++
5.6.5
Free C++ class library of cryptographic schemes
|
PSSR Message Encoding Method. More...
Static Public Member Functions | |
static std::string | StaticAlgorithmName () |
Additional Inherited Members | |
![]() | |
size_t | MinRepresentativeBitLength (size_t hashIdentifierLength, size_t digestLength) const |
size_t | MaxRecoverableLength (size_t representativeBitLength, size_t hashIdentifierLength, size_t digestLength) const |
bool | IsProbabilistic () const |
bool | AllowNonrecoverablePart () const |
bool | RecoverablePartFirst () const |
void | ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const |
DecodingResult | RecoverMessageFromRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength, byte *recoverableMessage) const |
PSSR Message Encoding Method.
ALLOW_RECOVERY | flag indicating whether the scheme provides message recovery |
MGF | mask generation function |
SALT_LEN | length of the salt |
MIN_PAD_LEN | minimum length of the pad |
USE_HASH_ID | flag indicating whether the HashId is used |
If ALLOW_RECOVERY is true, the the signature scheme provides message recovery. If ALLOW_RECOVERY is false, the the signature scheme is appendix, and the message must be provided during verification.