aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/md4/md4_plugin.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-02-19 10:06:58 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-02-19 10:06:58 +0000
commit1e0d1ae213e276828e912b10b8c7cd7fa6600d36 (patch)
treed8c39c0c2dc3f061fd1bcc88314af74b23383b8a /src/libstrongswan/plugins/md4/md4_plugin.h
parenteca666d600dcf5961f763fc411c046ecd206641c (diff)
downloadstrongswan-1e0d1ae213e276828e912b10b8c7cd7fa6600d36.tar.bz2
strongswan-1e0d1ae213e276828e912b10b8c7cd7fa6600d36.tar.xz
support of MD4 hash
Diffstat (limited to 'src/libstrongswan/plugins/md4/md4_plugin.h')
-rw-r--r--src/libstrongswan/plugins/md4/md4_plugin.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/md4/md4_plugin.h b/src/libstrongswan/plugins/md4/md4_plugin.h
new file mode 100644
index 000000000..965bff261
--- /dev/null
+++ b/src/libstrongswan/plugins/md4/md4_plugin.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2008 Martin Willi
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+/**
+ * @defgroup md4_p md4
+ * @ingroup plugins
+ *
+ * @defgroup md4_plugin md4_plugin
+ * @{ @ingroup md4_p
+ */
+
+#ifndef MD4_PLUGIN_H_
+#define MD4_PLUGIN_H_
+
+#include <plugins/plugin.h>
+
+typedef struct md4_plugin_t md4_plugin_t;
+
+/**
+ * Plugin implementing the md4 hash algorithm in software.
+ */
+struct md4_plugin_t {
+
+ /**
+ * implements plugin interface
+ */
+ plugin_t plugin;
+};
+
+/**
+ * Create a md4_plugin instance.
+ */
+plugin_t *plugin_create();
+
+#endif /* MD4_PLUGIN_H_ @}*/