Crypto++  8.0
Free C++ class library of cryptographic schemes
Public Member Functions | Static Public Member Functions | List of all members
P1363_MGF1 Class Reference

P1363 mask generation function. More...

+ Inheritance diagram for P1363_MGF1:

Public Member Functions

void GenerateAndMask (HashTransformation &hash, byte *output, size_t outputLength, const byte *input, size_t inputLength, bool mask=true) const
 Generate and apply mask. More...
 

Static Public Member Functions

static const char * StaticAlgorithmName ()
 

Detailed Description

P1363 mask generation function.

Definition at line 714 of file pubkey.h.

Member Function Documentation

◆ GenerateAndMask()

void P1363_MGF1::GenerateAndMask ( HashTransformation hash,
byte *  output,
size_t  outputLength,
const byte *  input,
size_t  inputLength,
bool  mask = true 
) const
inlinevirtual

Generate and apply mask.

Parameters
hashHashTransformation derived class
outputthe destination byte array
outputLengththe size fo the the destination byte array
inputthe message to hash
inputLengththe size of the message
maskflag indicating whether to apply the mask

Implements MaskGeneratingFunction.

Definition at line 718 of file pubkey.h.


The documentation for this class was generated from the following file: