aboutsummaryrefslogtreecommitdiffstats
path: root/include/mgf1.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-18 18:33:19 +0000
committerlloyd <[email protected]>2006-05-18 18:33:19 +0000
commita2c99d3270eb73ef2db5704fc54356c6b75096f8 (patch)
treead3d6c4fcc8dd0f403f8105598943616246fe172 /include/mgf1.h
Initial checkin1.5.6
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