Mask generation function interface.
More...
#include <pubkey.h>
|
| virtual void | GenerateAndMask (HashTransformation &hash, byte *output, size_t outputLength, const byte *input, size_t inputLength, bool mask=true) const =0 |
| | Generate and apply mask.
|
| |
Mask generation function interface.
Definition at line 685 of file pubkey.h.
◆ ~MaskGeneratingFunction()
| virtual MaskGeneratingFunction::~MaskGeneratingFunction |
( |
| ) |
|
|
inlinevirtual |
◆ GenerateAndMask()
| virtual void MaskGeneratingFunction::GenerateAndMask |
( |
HashTransformation & |
hash, |
|
|
byte * |
output, |
|
|
size_t |
outputLength, |
|
|
const byte * |
input, |
|
|
size_t |
inputLength, |
|
|
bool |
mask = true |
|
) |
| const |
|
pure virtual |
Generate and apply mask.
- Parameters
-
| hash | HashTransformation derived class |
| output | the destination byte array |
| outputLength | the size fo the the destination byte array |
| input | the message to hash |
| inputLength | the size of the message |
| mask | flag indicating whether to apply the mask |
Implemented in P1363_MGF1.
The documentation for this class was generated from the following file: