| Botan
    1.10.16
    | 
#include <wid_wake.h>
 
  
 | Public Member Functions | |
| void | cipher (const byte[], byte[], size_t) | 
| void | cipher1 (byte buf[], size_t len) | 
| void | clear () | 
| StreamCipher * | clone () const | 
| Key_Length_Specification | key_spec () const | 
| size_t | maximum_keylength () const | 
| size_t | minimum_keylength () const | 
| std::string | name () const | 
| void | set_iv (const byte[], size_t) | 
| void | set_key (const SymmetricKey &key) | 
| void | set_key (const byte key[], size_t length) | 
| bool | valid_iv_length (size_t iv_len) const | 
| bool | valid_keylength (size_t length) const | 
| WiderWake_41_BE () | |
WiderWake4+1-BE
Note: quite old and possibly not safe; use XSalsa20 or a block cipher in counter mode.
Definition at line 21 of file wid_wake.h.
| 
 | inline | 
Definition at line 39 of file wid_wake.h.
Encrypt or decrypt a message
| in | the plaintext | 
| out | the byte array to hold the output, i.e. the ciphertext | 
| len | the length of both in and out in bytes | 
Implements Botan::StreamCipher.
Definition at line 17 of file wid_wake.cpp.
References Botan::load_be< u32bit >(), R0, R1, R2, R3, R4, set_iv(), Botan::MemoryRegion< T >::size(), Botan::store_be(), and Botan::xor_buf().
| 
 | inlineinherited | 
Encrypt or decrypt a message
| buf | the plaintext / ciphertext | 
| len | the length of buf in bytes | 
Definition at line 34 of file stream_cipher.h.
Referenced by Botan::Lion::decrypt_n(), and Botan::Lion::encrypt_n().
| 
 | virtual | 
Zeroize internal state
Implements Botan::Algorithm.
Definition at line 143 of file wid_wake.cpp.
References Botan::zeroise().
| 
 | inlinevirtual | 
Get a new object representing the same algorithm as *this
Implements Botan::StreamCipher.
Definition at line 37 of file wid_wake.h.
| 
 | inlinevirtual | 
Implements Botan::SymmetricAlgorithm.
Definition at line 30 of file wid_wake.h.
| 
 | inlineinherited | 
Definition at line 33 of file sym_algo.h.
Referenced by Botan::Cascade_Cipher::decrypt_n(), and Botan::ANSI_X931_RNG::randomize().
| 
 | inlineinherited | 
Definition at line 41 of file sym_algo.h.
| 
 | inlinevirtual | 
Implements Botan::Algorithm.
Definition at line 36 of file wid_wake.h.
Referenced by set_iv().
| 
 | virtual | 
Resync the cipher using the IV
| iv | the initialization vector | 
| iv_len | the length of the IV in bytes | 
Reimplemented from Botan::StreamCipher.
Definition at line 124 of file wid_wake.cpp.
References Botan::load_be< u32bit >(), name(), Botan::MemoryRegion< T >::size(), and valid_iv_length().
Referenced by cipher().
| 
 | inlineinherited | 
Set the symmetric key of this object.
| key | the SymmetricKey to be set. | 
Definition at line 60 of file sym_algo.h.
References Botan::OctetString::begin(), and Botan::OctetString::length().
Referenced by Botan::aont_unpackage(), Botan::CTR_BE::clear(), Botan::OFB::clear(), Botan::DESX::decrypt_n(), Botan::Cascade_Cipher::decrypt_n(), Botan::Lion::decrypt_n(), Botan::PKCS5_PBKDF2::derive_key(), Botan::ECB_Decryption::ECB_Decryption(), Botan::ECB_Encryption::ECB_Encryption(), Botan::Lion::encrypt_n(), Botan::HMAC_RNG::HMAC_RNG(), Botan::MAC_Filter::MAC_Filter(), Botan::ANSI_X931_RNG::randomize(), Botan::Randpool::randomize(), Botan::HMAC_RNG::reseed(), Botan::EAX_Base::set_key(), Botan::XTS_Encryption::set_key(), Botan::XTS_Decryption::set_key(), Botan::Record_Writer::set_keys(), Botan::Record_Reader::set_keys(), Botan::StreamCipher_Filter::StreamCipher_Filter(), Botan::DLIES_Decryptor::~DLIES_Decryptor(), and Botan::DLIES_Encryptor::~DLIES_Encryptor().
| 
 | inlineinherited | 
Set the symmetric key of this object.
| key | the to be set as a byte array. | 
| length | in bytes of key param | 
Definition at line 68 of file sym_algo.h.
| 
 | inlinevirtual | 
| iv_len | the length of the IV in bytes | 
Reimplemented from Botan::StreamCipher.
Definition at line 27 of file wid_wake.h.
Referenced by set_iv().
| 
 | inlineinherited | 
Check whether a given key length is valid for this algorithm.
| length | the key length to be checked. | 
Definition at line 51 of file sym_algo.h.
Referenced by Botan::aont_unpackage(), Botan::HMAC_RNG::HMAC_RNG(), Botan::Lion::Lion(), and Botan::Randpool::Randpool().
 1.8.13
 1.8.13