Inherited by keyed algorithms with fixed key length.
More...

static const int  KEYLENGTH =N 
 The default key length used by the algorithm provided as a constant. More...


static const int  MIN_KEYLENGTH =N 
 The minimum key length used by the algorithm provided as a constant. More...


static const int  MAX_KEYLENGTH =N 
 The maximum key length used by the algorithm provided as a constant. More...


static const int  DEFAULT_KEYLENGTH =N 
 The default key length used by the algorithm provided as a constant. More...


static const int  IV_REQUIREMENT = IV_REQ 
 The default IV requirements for the algorithm provided as a constant. More...


static const int  IV_LENGTH = IV_L 
 The default IV length used by the algorithm provided as a constant. More...


template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
class FixedKeyLength< N, IV_REQ, IV_L >
Inherited by keyed algorithms with fixed key length.
 Template Parameters

N  Default key length, in bytes 
IV_REQ  the IV requirements 
IV_L  default IV length, in bytes 
 See also
 SimpleKeyingInterface
Definition at line 146 of file seckey.h.
◆ StaticGetValidKeyLength()
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
static size_t FixedKeyLength< N, IV_REQ, IV_L >::StaticGetValidKeyLength 
( 
size_t 
keylength  ) 


inlinestatic 
The default key length for the algorithm provided by a static function.
 Parameters

keylength  the size of the key, in bytes 
The default implementation returns KEYLENGTH. keylength is unused in the default implementation.
Definition at line 172 of file seckey.h.
◆ KEYLENGTH
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
The default key length used by the algorithm provided as a constant.
KEYLENGTH is provided in bytes, not bits
Definition at line 151 of file seckey.h.
◆ MIN_KEYLENGTH
template<unsigned int N, 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
Definition at line 154 of file seckey.h.
◆ MAX_KEYLENGTH
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
The maximum key length used by the algorithm provided as a constant.
MAX_KEYLENGTH is provided in bytes, not bits
Definition at line 157 of file seckey.h.
◆ DEFAULT_KEYLENGTH
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
The default key length used by the algorithm provided as a constant.
DEFAULT_KEYLENGTH is provided in bytes, not bits
Definition at line 160 of file seckey.h.
◆ IV_REQUIREMENT
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
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.
Definition at line 164 of file seckey.h.
◆ IV_LENGTH
template<unsigned int N, unsigned int IV_REQ = SimpleKeyingInterface::NOT_RESYNCHRONIZABLE, unsigned int IV_L = 0>
The default IV length used by the algorithm provided as a constant.
IV_LENGTH is provided in bytes, not bits. The default implementation uses 0.
Definition at line 167 of file seckey.h.
The documentation for this class was generated from the following file: