#include <pwdbased.h>
Inheritance diagram for PKCS12_PBKDF< T >:
Definition at line 140 of file pwdbased.h.
Public Member Functions | |
unsigned int | MaxDerivedKeyLength () const |
bool | UsesPurposeByte () const |
unsigned int | DeriveKey (byte *derived, unsigned int derivedLen, byte purpose, const byte *password, unsigned int passwordLen, const byte *salt, unsigned int saltLen, unsigned int iterations, double timeInSeconds) const |
derive key from password |
|
derive key from password If timeInSeconds != 0, will iterate until time elapsed, as measured by ThreadUserTimer Returns actual iteration count, which is equal to iterations if timeInSeconds == 0, and not less than iterations otherwise. Implements PasswordBasedKeyDerivationFunction. Definition at line 149 of file pwdbased.h. References TimerBase::ElapsedTimeAsDouble(), Integer::Encode(), PKCS12_PBKDF< T >::MaxDerivedKeyLength(), SecBlock< T, A >::size(), and TimerBase::StartTimer(). |