Security Scol plugin
Public Member Functions | List of all members
P1363_MGF1 Class Reference

P1363 mask generation function. More...

#include <pubkey.h>

Inheritance diagram for P1363_MGF1:
MaskGeneratingFunction

Public Member Functions

CRYPTOPP_STATIC_CONSTEXPR const char *CRYPTOPP_API StaticAlgorithmName ()
 The algorithm name.
 
void GenerateAndMask (HashTransformation &hash, byte *output, size_t outputLength, const byte *input, size_t inputLength, bool mask=true) const
 P1363 mask generation function.
 

Detailed Description

P1363 mask generation function.

See also
P1363_KDF2, MaskGeneratingFunction
Since
Crypto++ 2.0

Definition at line 718 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

P1363 mask generation function.

Parameters
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.

◆ StaticAlgorithmName()

CRYPTOPP_STATIC_CONSTEXPR const char *CRYPTOPP_API P1363_MGF1::StaticAlgorithmName ( )
inline

The algorithm name.

Returns
the algorithm name

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

Definition at line 725 of file pubkey.h.


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