summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/photuris/attributes.conf6
-rw-r--r--share/ipsec/attributes.conf4
2 files changed, 5 insertions, 5 deletions
diff --git a/etc/photuris/attributes.conf b/etc/photuris/attributes.conf
index a00a7d5acdc..bf8b88a0200 100644
--- a/etc/photuris/attributes.conf
+++ b/etc/photuris/attributes.conf
@@ -1,15 +1,15 @@
# Predefined keywords are AT_AH_ATTRIB, AT_ESP_ATTRIB
# This is the default list, for VPN you can comment out
# the AT_AH_ATTRIB section.
-AT_SHA1_IPMAC, 6, ident|auth, 48
-AT_MD5_IPMAC, 5, ident|auth, 48
+AT_SHA1_IPMAC, 6, ident|auth, 20
+AT_MD5_IPMAC, 5, ident|auth, 16
AT_ESP_ATTRIB
AT_HMAC_FLAG, 254, ,
AT_BLF_NEW, 16, enc, 56
AT_3DES_NEW, 18, enc, 24
AT_CAST_NEW, 17, enc, 16
# AT_DES_CBC, 8, enc, 8
-# AT_RIPEMD_IPMAC, 7, auth, 48
+# AT_RIPEMD_IPMAC, 7, auth, 20
AT_SHA1_IPMAC
AT_MD5_IPMAC
AT_AH_ATTRIB
diff --git a/share/ipsec/attributes.conf b/share/ipsec/attributes.conf
index 8d35b94ed92..b07671a528f 100644
--- a/share/ipsec/attributes.conf
+++ b/share/ipsec/attributes.conf
@@ -2,8 +2,8 @@
# Not yet defined keywords serve as definitions with the
# following syntax: name, photuris id, type, key length
# This is the default list
-AT_SHA1_IPMAC, 6, ident|auth, 48
-AT_MD5_IPMAC, 5, ident|auth, 48
+AT_SHA1_IPMAC, 6, ident|auth, 20
+AT_MD5_IPMAC, 5, ident|auth, 16
AT_ESP_ATTRIB
AT_HMAC_FLAG, 254, ,
AT_BLF_NEW, 16, enc, 56