Crypto++  8.8
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
 P1363 mask generation function. More...

Static Public Member Functions

static const char * StaticAlgorithmName ()
 The algorithm name. More...

Detailed Description

P1363 mask generation function.

See also
P1363_KDF2, MaskGeneratingFunction
Crypto++ 2.0

Definition at line 718 of file pubkey.h.

Member Function Documentation

◆ StaticAlgorithmName()

static const char* P1363_MGF1::StaticAlgorithmName ( )

The algorithm name.

the algorithm name

StaticAlgorithmName returns the algorithm's name as a static member function.

Definition at line 725 of file pubkey.h.

◆ GenerateAndMask()

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

P1363 mask generation function.

hashHashTransformation derived class
outputthe destination byte array
outputLengththe size of 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 734 of file pubkey.h.

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