|
Security Scol plugin
|
Provides class member functions to key a block cipher. More...
#include <seckey.h>
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. | |
Public Member Functions inherited from ClonableImpl< BlockCipherFinal< DIR, BASE >, BASE > | |
| Clonable * | Clone () const |
| Create a copy of this object. | |
Provides class member functions to key a block cipher.
| DIR | a CipherDir |
| BASE | a BlockCipherImpl derived class |
|
inline |
Construct a default BlockCipherFinal.
The cipher is not keyed.
|
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.
|
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.
|
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.
|
inline |