|
Crypto++
8.9
Free C++ class library of cryptographic schemes
|
Mask generation function interface. More...
Inheritance diagram for MaskGeneratingFunction:Public Member Functions | |
| 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. More... | |
|
pure virtual |
Generate and apply mask.
| hash | HashTransformation derived class |
| output | the destination byte array |
| outputLength | the size of 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.