aboutsummaryrefslogtreecommitdiffstats
path: root/include/mgf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgf1.h')
-rw-r--r--include/mgf1.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/mgf1.h b/include/mgf1.h
new file mode 100644
index 000000000..4f54bcf32
--- /dev/null
+++ b/include/mgf1.h
@@ -0,0 +1,27 @@
+/*************************************************
+* MGF1 Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_MGF1_H__
+#define BOTAN_MGF1_H__
+
+#include <botan/pk_util.h>
+
+namespace Botan {
+
+/*************************************************
+* MGF1 *
+*************************************************/
+class MGF1 : public MGF
+ {
+ public:
+ void mask(const byte[], u32bit, byte[], u32bit) const;
+ MGF1(const std::string&);
+ private:
+ const std::string hash_name;
+ };
+
+}
+
+#endif