#include <idea.h>
IDEA
Definition at line 18 of file idea.h.
◆ anonymous enum
◆ IDEA()
◆ block_size()
◆ clear()
| void Botan::IDEA::clear |
( |
| ) |
|
|
inlinevirtual |
◆ clone()
◆ decrypt() [1/2]
Decrypt a block.
- Parameters
-
| block | the ciphertext block to be decrypted Must be of length block_size(). Will hold the result when the function has finished. |
Definition at line 74 of file block_cipher.h.
◆ decrypt() [2/2]
Decrypt a block.
- Parameters
-
| in | The ciphertext block to be decypted as a byte array. Must be of length block_size(). |
| out | The byte array designated to hold the decrypted block. Must be of length block_size(). |
Definition at line 57 of file block_cipher.h.
◆ decrypt_n()
| void Botan::IDEA::decrypt_n |
( |
const byte | in[], |
|
|
byte | out[], |
|
|
size_t | blocks ) const |
|
virtual |
◆ encrypt() [1/2]
Encrypt a block.
- Parameters
-
| block | the plaintext block to be encrypted Must be of length block_size(). Will hold the result when the function has finished. |
Definition at line 66 of file block_cipher.h.
◆ encrypt() [2/2]
Encrypt a block.
- Parameters
-
| in | The plaintext block to be encrypted as a byte array. Must be of length block_size(). |
| out | The byte array designated to hold the encrypted block. Must be of length block_size(). |
Definition at line 47 of file block_cipher.h.
◆ encrypt_n()
| void Botan::IDEA::encrypt_n |
( |
const byte | in[], |
|
|
byte | out[], |
|
|
size_t | blocks ) const |
|
virtual |
◆ get_DK()
◆ get_EK()
◆ key_spec()
◆ maximum_keylength()
- Returns
- minimum allowed key length
Definition at line 33 of file sym_algo.h.
34 {
36 }
size_t maximum_keylength() const
◆ minimum_keylength()
- Returns
- maxmium allowed key length
Definition at line 41 of file sym_algo.h.
42 {
44 }
size_t minimum_keylength() const
◆ name()
| std::string Botan::IDEA::name |
( |
| ) |
const |
|
inlinevirtual |
◆ parallel_bytes()
- Returns
- prefererred parallelism of this cipher in bytes
Definition at line 35 of file block_cipher.h.
◆ parallelism()
- Returns
- native parallelism of this cipher in blocks
Definition at line 30 of file block_cipher.h.
◆ set_key() [1/2]
Set the symmetric key of this object.
- Parameters
-
| key | the to be set as a byte array. |
| length | in bytes of key param |
Definition at line 68 of file sym_algo.h.
69 {
73 }
Invalid_Key_Length(const std::string &name, size_t length)
◆ set_key() [2/2]
Set the symmetric key of this object.
- Parameters
-
Definition at line 60 of file sym_algo.h.
◆ valid_keylength()
Check whether a given key length is valid for this algorithm.
- Parameters
-
| length | the key length to be checked. |
- Returns
- true if the key length is valid.
Definition at line 51 of file sym_algo.h.
52 {
54 }
bool valid_keylength(size_t length) const
The documentation for this class was generated from the following files: