diff options
author | lloyd <[email protected]> | 2008-09-28 18:15:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 18:15:52 +0000 |
commit | 983a8ecb42e844f89466d0ae52bba591d4fc4275 (patch) | |
tree | de01378ee9be0ba8bec28bc08d3bde6e422ff898 /include/cfb.h | |
parent | d59f6a2c9e797ee22c21b2d85c662e0fe8d1cf35 (diff) |
Modularize cipher modes
Diffstat (limited to 'include/cfb.h')
-rw-r--r-- | include/cfb.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/include/cfb.h b/include/cfb.h deleted file mode 100644 index e8133bcf4..000000000 --- a/include/cfb.h +++ /dev/null @@ -1,45 +0,0 @@ -/************************************************* -* CFB Mode Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ - -#ifndef BOTAN_CFB_H__ -#define BOTAN_CFB_H__ - -#include <botan/modebase.h> - -namespace Botan { - -/************************************************* -* CFB Encryption * -*************************************************/ -class BOTAN_DLL CFB_Encryption : public BlockCipherMode - { - public: - CFB_Encryption(const std::string&, u32bit = 0); - CFB_Encryption(const std::string&, const SymmetricKey&, - const InitializationVector&, u32bit = 0); - private: - void write(const byte[], u32bit); - void feedback(); - const u32bit FEEDBACK_SIZE; - }; - -/************************************************* -* CFB Decryption * -*************************************************/ -class BOTAN_DLL CFB_Decryption : public BlockCipherMode - { - public: - CFB_Decryption(const std::string&, u32bit = 0); - CFB_Decryption(const std::string&, const SymmetricKey&, - const InitializationVector&, u32bit = 0); - private: - void write(const byte[], u32bit); - void feedback(); - const u32bit FEEDBACK_SIZE; - }; - -} - -#endif |