template<unsigned int D, unsigned int N, unsigned int M, unsigned int Q = 1, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
The minimum key length used by the algorithm provided as a constant.
MIN_KEYLENGTH is provided in bytes, not bits The maximum key length used by the algorithm provided as a constant
MAX_KEYLENGTH is provided in bytes, not bits The default key length used by the algorithm provided as a constant
DEFAULT_KEYLENGTH is provided in bytes, not bits The key length multiple used by the algorithm provided as a constant
MAX_KEYLENGTH is provided in bytes, not bits The default IV requirements for the algorithm provided as a constant
The default value is NOT_RESYNCHRONIZABLE. See IV_Requirement in cryptlib.h for allowed values. The default initialization vector length for the algorithm provided as a constant
IV_LENGTH is provided in bytes, not bits. The default implementation uses 0. Provides a valid key length for the algorithm provided by a static function.
 Parameters

keylength  the size of the key, in bytes 
If keylength is less than MIN_KEYLENGTH, then the function returns MIN_KEYLENGTH. If keylength is greater than MAX_KEYLENGTH, then the function returns MAX_KEYLENGTH. If keylength is a multiple of KEYLENGTH_MULTIPLE, then keylength is returned. Otherwise, the function returns keylength rounded down to the next smaller multiple of KEYLENGTH_MULTIPLE.
keylength is provided in bytes, not bits.
Definition at line 207 of file seckey.h.