diff options
author | lloyd <[email protected]> | 2008-11-08 18:48:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 18:48:46 +0000 |
commit | 90391ca3d85e6bc65da3a8951e1765692233e803 (patch) | |
tree | eee07d6fed75f5d0cac67a537f3150536c4fcead /src/core/base.h | |
parent | 75b427da41ece0a419f3f38dda187d89650de7ef (diff) |
Move declaration of MessageAuthenticationCode base class to mac.h (from base.h)
Diffstat (limited to 'src/core/base.h')
-rw-r--r-- | src/core/base.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/core/base.h b/src/core/base.h index b7b50c402..64186f903 100644 --- a/src/core/base.h +++ b/src/core/base.h @@ -298,41 +298,6 @@ class BOTAN_DLL BufferedComputation virtual void final_result(byte[]) = 0; }; -/** -* This class represents Message Authentication Code (MAC) objects. -*/ -class BOTAN_DLL MessageAuthenticationCode : public BufferedComputation, - public SymmetricAlgorithm - { - public: - /** - * Verify a MAC. - * @param in the MAC to verify as a byte array - * @param length the length of the byte array - * @return true if the MAC is valid, false otherwise - */ - virtual bool verify_mac(const byte[], u32bit); - - /** - * Get a new object representing the same algorithm as *this - */ - virtual MessageAuthenticationCode* clone() const = 0; - - /** - * Get the name of this algorithm. - * @return the name of this algorithm - */ - virtual std::string name() const = 0; - - /** - * Reset the internal state of this object. - */ - virtual void clear() throw() = 0; - - MessageAuthenticationCode(u32bit, u32bit, u32bit = 0, u32bit = 1); - virtual ~MessageAuthenticationCode() {} - }; - } #endif |