aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf1/kdf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdf/kdf1/kdf1.h')
-rw-r--r--src/kdf/kdf1/kdf1.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/kdf/kdf1/kdf1.h b/src/kdf/kdf1/kdf1.h
new file mode 100644
index 000000000..ebc1979fc
--- /dev/null
+++ b/src/kdf/kdf1/kdf1.h
@@ -0,0 +1,29 @@
+/*************************************************
+* KDF1 Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_KDF1_H__
+#define BOTAN_KDF1_H__
+
+#include <botan/pk_util.h>
+
+namespace Botan {
+
+/*************************************************
+* KDF1 *
+*************************************************/
+class BOTAN_DLL KDF1 : public KDF
+ {
+ public:
+ SecureVector<byte> derive(u32bit, const byte[], u32bit,
+ const byte[], u32bit) const;
+
+ KDF1(const std::string&);
+ private:
+ const std::string hash_name;
+ };
+
+}
+
+#endif