Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
MaskGeneratingFunction Class Referenceabstract

Mask generation function interface. More...

#include <pubkey.h>

Inheritance diagram for MaskGeneratingFunction:
[legend]

Public Member Functions

virtual ~MaskGeneratingFunction ()
 
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...
 

Detailed Description

Mask generation function interface.

P1363 key derivation function.

Template Parameters
Hhash function used in the derivation

Definition at line 666 of file pubkey.h.

Constructor & Destructor Documentation

virtual MaskGeneratingFunction::~MaskGeneratingFunction ( )
inlinevirtual

Definition at line 669 of file pubkey.h.

Here is the call graph for this function:

Member Function Documentation

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

Implemented in P1363_MGF1.

Here is the caller graph for this function:


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