/* * OFB Mode * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #ifndef BOTAN_OUTPUT_FEEDBACK_MODE_H__ #define BOTAN_OUTPUT_FEEDBACK_MODE_H__ #include #include namespace Botan { /* * OFB Mode */ class BOTAN_DLL OFB : public BlockCipherMode { public: OFB(BlockCipher* cipher); OFB(BlockCipher* cipher, const SymmetricKey& key, const InitializationVector& iv); private: void write(const byte[], u32bit); }; } #endif