diff --git a/src/pluto/constants.c b/src/pluto/constants.c index 57de1324e..0ca0f8b44 100644 --- a/src/pluto/constants.c +++ b/src/pluto/constants.c @@ -363,7 +363,7 @@ static const char *const ah_transform_name[] = { "HMAC_SHA2_384", "HMAC_SHA2_512", "HMAC_RIPEMD", - "AES_XCBC_MAC", + "AES_XCBC_96", "SIG_RSA" }; @@ -672,7 +672,7 @@ static const char *const auth_alg_name[] = { "HMAC_SHA2_384", "HMAC_SHA2_512", "HMAC_RIPEMD", - "AES_XCBC_MAC", + "AES_XCBC_96", "SIG_RSA" }; diff --git a/src/pluto/crypto.c b/src/pluto/crypto.c index e692ef17c..7daf2835c 100644 --- a/src/pluto/crypto.c +++ b/src/pluto/crypto.c @@ -376,6 +376,8 @@ int esp_from_integrity_algorithm(integrity_algorithm_t alg) return AUTH_ALGORITHM_HMAC_MD5; case AUTH_HMAC_SHA1_96: return AUTH_ALGORITHM_HMAC_SHA1; + case AUTH_AES_XCBC_96: + return AUTH_ALGORITHM_AES_XCBC_MAC; case AUTH_HMAC_SHA2_256_128: return AUTH_ALGORITHM_HMAC_SHA2_256; case AUTH_HMAC_SHA2_384_192: