Provides class member functions to access BlockCipher constants.
More...
|
static std::string | StaticAlgorithmName () |
|
template<class INFO, class BASE = BlockCipher>
class BlockCipherImpl< INFO, BASE >
Provides class member functions to access BlockCipher constants.
- Template Parameters
-
Definition at line 292 of file seckey.h.
template<class INFO, class BASE = BlockCipher>
Provides the block size of the cipher.
- Returns
- the block size of the cipher, in bytes
Definition at line 297 of file seckey.h.
size_t SimpleKeyingInterfaceImpl< TwoBases< BASE, INFO > , TwoBases< BASE, INFO > >::GetValidKeyLength |
( |
size_t |
keylength | ) |
const |
|
inlineinherited |
Provides a valid key length for the cipher.
- Parameters
-
keylength | the size of the key, in bytes |
keylength is provided in bytes, not bits. 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 If keylength is a multiple of KEYLENGTH_MULTIPLE, then keylength is returned. Otherwise, the function returns a lower multiple of KEYLENGTH_MULTIPLE.
Definition at line 273 of file seckey.h.
The default IV requirements for the cipher.
The default value is NOT_RESYNCHRONIZABLE. See IV_Requirement in cryptlib.h for allowed values.
Definition at line 278 of file seckey.h.
The default initialization vector length for the cipher.
IVSize is provided in bytes, not bits. The default implementation uses IV_LENGTH, which is 0.
Definition at line 283 of file seckey.h.
The documentation for this class was generated from the following file: