diff options
Diffstat (limited to 'src/modes/cts/cts.cpp')
-rw-r--r-- | src/modes/cts/cts.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/modes/cts/cts.cpp b/src/modes/cts/cts.cpp index 0bce248b5..12756eb58 100644 --- a/src/modes/cts/cts.cpp +++ b/src/modes/cts/cts.cpp @@ -11,28 +11,6 @@ namespace Botan { /************************************************* -* CTS Encryption Constructor * -*************************************************/ -CTS_Encryption::CTS_Encryption(const std::string& cipher_name) : - BlockCipherMode(get_block_cipher(cipher_name), - "CTS", block_size_of(cipher_name), 0, 2) - { - } - -/************************************************* -* CTS Encryption Constructor * -*************************************************/ -CTS_Encryption::CTS_Encryption(const std::string& cipher_name, - const SymmetricKey& key, - const InitializationVector& iv) : - BlockCipherMode(get_block_cipher(cipher_name), - "CTS", block_size_of(cipher_name), 0, 2) - { - set_key(key); - set_iv(iv); - } - -/************************************************* * Encrypt a block * *************************************************/ void CTS_Encryption::encrypt(const byte block[]) @@ -92,30 +70,6 @@ void CTS_Encryption::end_msg() } /************************************************* -* CTS Decryption Constructor * -*************************************************/ -CTS_Decryption::CTS_Decryption(const std::string& cipher_name) : - BlockCipherMode(get_block_cipher(cipher_name), - "CTS", block_size_of(cipher_name), 0, 2) - { - temp.create(BLOCK_SIZE); - } - -/************************************************* -* CTS Decryption Constructor * -*************************************************/ -CTS_Decryption::CTS_Decryption(const std::string& cipher_name, - const SymmetricKey& key, - const InitializationVector& iv) : - BlockCipherMode(get_block_cipher(cipher_name), - "CTS", block_size_of(cipher_name), 0, 2) - { - temp.create(BLOCK_SIZE); - set_key(key); - set_iv(iv); - } - -/************************************************* * Decrypt a block * *************************************************/ void CTS_Decryption::decrypt(const byte block[]) |