From eb8fd42d6aa3ed267c7444b114e02e64a567ca00 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 28 Sep 2008 20:03:58 +0000 Subject: Modularize MGF1. Make EME1 and EMSA4 depend on it --- include/mgf1.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 include/mgf1.h (limited to 'include') diff --git a/include/mgf1.h b/include/mgf1.h deleted file mode 100644 index c235821bf..000000000 --- a/include/mgf1.h +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************* -* MGF1 Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ - -#ifndef BOTAN_MGF1_H__ -#define BOTAN_MGF1_H__ - -#include - -namespace Botan { - -/************************************************* -* MGF1 (Mask Generation Function) * -*************************************************/ -class BOTAN_DLL MGF1 : public MGF - { - public: - void mask(const byte[], u32bit, byte[], u32bit) const; - - /** - MGF1 constructor: takes ownership of hash - */ - MGF1(HashFunction* hash); - - ~MGF1(); - private: - HashFunction* hash; - }; - -} - -#endif -- cgit v1.2.3