aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/hmac/hmac_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-06-25 11:37:04 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-25 16:35:06 +0200
commitc4a3c9672a1739d9af3dc645a997cf6a76a63a90 (patch)
tree9becee231d059ce7416d9c0e717a8a923e6fb55c /src/libstrongswan/plugins/hmac/hmac_plugin.c
parent228d096e429da68e24a19fd0e89d2ac98a483091 (diff)
downloadstrongswan-c4a3c9672a1739d9af3dc645a997cf6a76a63a90.tar.bz2
strongswan-c4a3c9672a1739d9af3dc645a997cf6a76a63a90.tar.xz
Make the hmac_t interface a generic interface for message authentication codes
Diffstat (limited to 'src/libstrongswan/plugins/hmac/hmac_plugin.c')
-rw-r--r--src/libstrongswan/plugins/hmac/hmac_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/hmac/hmac_plugin.c b/src/libstrongswan/plugins/hmac/hmac_plugin.c
index fe30a4cbf..f9c0c484b 100644
--- a/src/libstrongswan/plugins/hmac/hmac_plugin.c
+++ b/src/libstrongswan/plugins/hmac/hmac_plugin.c
@@ -16,7 +16,7 @@
#include "hmac_plugin.h"
#include <library.h>
-#include "hmac_hmac.h"
+#include "hmac.h"
typedef struct private_hmac_plugin_t private_hmac_plugin_t;
@@ -41,7 +41,7 @@ METHOD(plugin_t, get_features, int,
private_hmac_plugin_t *this, plugin_feature_t *features[])
{
static plugin_feature_t f[] = {
- PLUGIN_REGISTER(PRF, hmac_hmac_prf_create),
+ PLUGIN_REGISTER(PRF, hmac_prf_create),
PLUGIN_PROVIDE(PRF, PRF_HMAC_SHA1),
PLUGIN_DEPENDS(HASHER, HASH_SHA1),
PLUGIN_PROVIDE(PRF, PRF_HMAC_MD5),
@@ -52,7 +52,7 @@ METHOD(plugin_t, get_features, int,
PLUGIN_DEPENDS(HASHER, HASH_SHA384),
PLUGIN_PROVIDE(PRF, PRF_HMAC_SHA2_512),
PLUGIN_DEPENDS(HASHER, HASH_SHA512),
- PLUGIN_REGISTER(SIGNER, hmac_hmac_signer_create),
+ PLUGIN_REGISTER(SIGNER, hmac_signer_create),
PLUGIN_PROVIDE(SIGNER, AUTH_HMAC_SHA1_96),
PLUGIN_DEPENDS(HASHER, HASH_SHA1),
PLUGIN_PROVIDE(SIGNER, AUTH_HMAC_SHA1_128),