Fabcoin Core
0.16.2
P2P Digital Currency
|
OAEP padding base class. More...
#include <oaep.h>
Public Member Functions | |
bool | ParameterSupported (const char *name) const |
size_t | MaxUnpaddedLength (size_t paddedLength) const |
max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus) More... | |
void | Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedLength, const NameValuePairs ¶meters) const |
DecodingResult | Unpad (const byte *padded, size_t paddedLength, byte *raw, const NameValuePairs ¶meters) const |
Protected Member Functions | |
virtual unsigned int | DigestSize () const =0 |
virtual HashTransformation * | NewHash () const =0 |
virtual MaskGeneratingFunction * | NewMGF () const =0 |
|
protectedpure virtual |
Implemented in OAEP< H, MGF >.
|
virtual |
max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus)
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 15 of file oaep.cpp.
|
protectedpure virtual |
|
protectedpure virtual |
|
virtual |
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 20 of file oaep.cpp.
|
inlinevirtual |
Reimplemented from PK_EncryptionMessageEncodingMethod.
Definition at line 14 of file oaep.h.
|
virtual |
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 53 of file oaep.cpp.