aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/xcbc
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-05-08 12:43:27 +0000
committerMartin Willi <martin@strongswan.org>2008-05-08 12:43:27 +0000
commit240e727fde37cd4062002bc9c7b981fc7fe173c3 (patch)
tree4770e55b51dce817bec66465767c89734dc87fb9 /src/libstrongswan/plugins/xcbc
parent5b7ec6d4e0878ac7cc5c19c31a37d5834936e0a2 (diff)
downloadstrongswan-240e727fde37cd4062002bc9c7b981fc7fe173c3.tar.bz2
strongswan-240e727fde37cd4062002bc9c7b981fc7fe173c3.tar.xz
renamed PRF_AES128_CBC to PRF_AES128_XCBC
Diffstat (limited to 'src/libstrongswan/plugins/xcbc')
-rw-r--r--src/libstrongswan/plugins/xcbc/xcbc_plugin.c2
-rw-r--r--src/libstrongswan/plugins/xcbc/xcbc_prf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/plugins/xcbc/xcbc_plugin.c b/src/libstrongswan/plugins/xcbc/xcbc_plugin.c
index bb2801fde..f1501476f 100644
--- a/src/libstrongswan/plugins/xcbc/xcbc_plugin.c
+++ b/src/libstrongswan/plugins/xcbc/xcbc_plugin.c
@@ -55,7 +55,7 @@ plugin_t *plugin_create()
this->public.plugin.destroy = (void(*)(plugin_t*))destroy;
- lib->crypto->add_prf(lib->crypto, PRF_AES128_CBC,
+ lib->crypto->add_prf(lib->crypto, PRF_AES128_XCBC,
(prf_constructor_t)xcbc_prf_create);
lib->crypto->add_signer(lib->crypto, AUTH_AES_XCBC_96,
(signer_constructor_t)xcbc_signer_create);
diff --git a/src/libstrongswan/plugins/xcbc/xcbc_prf.c b/src/libstrongswan/plugins/xcbc/xcbc_prf.c
index 0c480c455..03056594d 100644
--- a/src/libstrongswan/plugins/xcbc/xcbc_prf.c
+++ b/src/libstrongswan/plugins/xcbc/xcbc_prf.c
@@ -105,7 +105,7 @@ xcbc_prf_t *xcbc_prf_create(pseudo_random_function_t algo)
switch (algo)
{
- case PRF_AES128_CBC:
+ case PRF_AES128_XCBC:
xcbc = xcbc_create(ENCR_AES_CBC, 16);
break;
default: