diff options
author | lloyd <[email protected]> | 2008-09-28 17:11:26 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 17:11:26 +0000 |
commit | da412e1f1169d4b51bbef84eb2948b73416bd48a (patch) | |
tree | 6878b5a1201b009f3ee89e7e7d3514f4eeffa001 /include | |
parent | 1680c75cd7f583f213493731c50eeb6dd6fea74a (diff) |
Modularize CBC-MAC
Diffstat (limited to 'include')
-rw-r--r-- | include/cbc_mac.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/cbc_mac.h b/include/cbc_mac.h deleted file mode 100644 index a5646d07a..000000000 --- a/include/cbc_mac.h +++ /dev/null @@ -1,36 +0,0 @@ -/************************************************* -* CBC-MAC Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ - -#ifndef BOTAN_CBC_MAC__ -#define BOTAN_CBC_MAC__ - -#include <botan/base.h> - -namespace Botan { - -/************************************************* -* CBC-MAC * -*************************************************/ -class BOTAN_DLL CBC_MAC : public MessageAuthenticationCode - { - public: - void clear() throw(); - std::string name() const; - MessageAuthenticationCode* clone() const; - CBC_MAC(const std::string&); - ~CBC_MAC(); - private: - void add_data(const byte[], u32bit); - void final_result(byte[]); - void key(const byte[], u32bit); - - BlockCipher* e; - SecureVector<byte> state; - u32bit position; - }; - -} - -#endif |