Security Scol plugin
|
Interface for password based key derivation functions. More...
#include <cryptlib.h>
Additional Inherited Members | |
Public Member Functions inherited from KeyDerivationFunction | |
virtual std::string | AlgorithmName () const =0 |
Provides the name of this algorithm. | |
virtual size_t | MinDerivedKeyLength () const |
Determine minimum number of bytes. | |
virtual size_t | MaxDerivedKeyLength () const |
Determine maximum number of bytes. | |
virtual size_t | GetValidDerivedLength (size_t keylength) const =0 |
Returns a valid key length for the derivation function. | |
virtual bool | IsValidDerivedLength (size_t keylength) const |
Returns whether keylength is a valid key length. | |
virtual size_t | DeriveKey (byte *derived, size_t derivedLen, const byte *secret, size_t secretLen, const NameValuePairs ¶ms=g_nullNameValuePairs) const =0 |
Derive a key from a seed. | |
virtual void | SetParameters (const NameValuePairs ¶ms) |
Set or change parameters. | |
Public Member Functions inherited from Algorithm | |
Algorithm (bool checkSelfTestStatus=true) | |
Interface for all crypto algorithms. | |
virtual std::string | AlgorithmProvider () const |
Retrieve the provider of this algorithm. | |
Public Member Functions inherited from Clonable | |
virtual Clonable * | Clone () const |
Copies this object. | |
Protected Member Functions inherited from KeyDerivationFunction | |
virtual const Algorithm & | GetAlgorithm () const =0 |
Returns the base class Algorithm. | |
void | ThrowIfInvalidDerivedKeyLength (size_t length) const |
Validates the derived key length. | |
Interface for password based key derivation functions.
Definition at line 1586 of file cryptlib.h.