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