Fabcoin Core
0.16.2
P2P Digital Currency

Inherited by algorithms with variable number of rounds. More...
#include <seckey.h>
Public Member Functions  
CRYPTOPP_STATIC_CONSTEXPR unsigned int  StaticGetDefaultRounds (size_t keylength) 
The default number of rounds for the algorithm provided as a constant. More...  
Protected Member Functions  
void  ThrowIfInvalidRounds (int rounds, const Algorithm *alg) 
Validates the number of rounds for an algorithm. More...  
unsigned int  GetRoundsAndThrowIfInvalid (const NameValuePairs ¶m, const Algorithm *alg) 
Validates the number of rounds for an algorithm. More...  
Inherited by algorithms with variable number of rounds.
D  Default number of rounds 
N  Minimum number of rounds 
M  Maximum number of rounds 

inlineprotected 
Validates the number of rounds for an algorithm.
param  the candidate number of rounds 
alg  an Algorithm object used if the number of rounds are invalid 
InvalidRounds  if the number of rounds are invalid 
GetRoundsAndThrowIfInvalid() validates the number of rounds and throws if invalid.

inline 
The default number of rounds for the algorithm provided as a constant.
The minimum number of rounds for the algorithm provided as a constant. The maximum number of rounds for the algorithm provided as a constant. The default number of rounds for the algorithm based on key length provided by a static function.
keylength  the size of the key, in bytes 
keylength is unused in the default implementation.

inlineprotected 
Validates the number of rounds for an algorithm.
rounds  the candidate number of rounds 
alg  an Algorithm object used if the number of rounds are invalid 
InvalidRounds  if the number of rounds are invalid 
ThrowIfInvalidRounds() validates the number of rounds and throws if invalid.