Provides class member functions to key a block cipher. More...
Public Member Functions | |
BlockCipherFinal () | |
Construct a default BlockCipherFinal. | |
BlockCipherFinal (const byte *key) | |
Construct a BlockCipherFinal. | |
BlockCipherFinal (const byte *key, size_t length) | |
Construct a BlockCipherFinal. | |
BlockCipherFinal (const byte *key, size_t length, unsigned int rounds) | |
Construct a BlockCipherFinal. | |
bool | IsForwardTransformation () const |
Provides the direction of the cipher. | |
Clonable * | Clone () const |
Provides class member functions to key a block cipher.
DIR | a CipherDir | |
BASE | a BlockCipherImpl derived class |
Definition at line 305 of file seckey.h.
BlockCipherFinal< DIR, BASE >::BlockCipherFinal | ( | ) | [inline] |
Construct a default BlockCipherFinal.
The cipher is not keyed.
BlockCipherFinal< DIR, BASE >::BlockCipherFinal | ( | const byte * | key | ) | [inline] |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.
BlockCipherFinal< DIR, BASE >::BlockCipherFinal | ( | const byte * | key, | |
size_t | length | |||
) | [inline] |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher | |
length | the length of the byte array |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.
BlockCipherFinal< DIR, BASE >::BlockCipherFinal | ( | const byte * | key, | |
size_t | length, | |||
unsigned int | rounds | |||
) | [inline] |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher | |
length | the length of the byte array | |
rounds | the number of rounds |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKeyWithRounds.
bool BlockCipherFinal< DIR, BASE >::IsForwardTransformation | ( | ) | const [inline] |
Provides the direction of the cipher.