|
| CRYPTOPP_CONSTANT (DEFAULT_ROUNDS=D) |
| The default number of rounds for the algorithm provided as a constant.
|
|
| CRYPTOPP_CONSTANT (MIN_ROUNDS=N) |
| The minimum number of rounds for the algorithm provided as a constant.
|
|
| CRYPTOPP_CONSTANT (MAX_ROUNDS=M) |
| The maximum number of rounds for the algorithm provided as a constant.
|
|
CRYPTOPP_STATIC_CONSTEXPR unsigned int | StaticGetDefaultRounds (size_t keylength) |
| The default number of rounds for the algorithm based on key length provided by a static function.
|
|
template<unsigned int D, unsigned int N = 1, unsigned int M = INT_MAX>
class VariableRounds< D, N, M >
Inherited by algorithms with variable number of rounds.
- Template Parameters
-
D | Default number of rounds |
N | Minimum number of rounds |
M | Maximum number of rounds |
Definition at line 64 of file seckey.h.
template<unsigned int D, unsigned int N = 1, unsigned int M = INT_MAX>
CRYPTOPP_STATIC_CONSTEXPR unsigned int VariableRounds< D, N, M >::StaticGetDefaultRounds |
( |
size_t |
keylength | ) |
|
|
inline |
The default number of rounds for the algorithm based on key length provided by a static function.
- Parameters
-
keylength | the size of the key, in bytes |
keylength is unused in the default implementation.
Definition at line 77 of file seckey.h.