Use full algorithm name for SHA384/512 HMACs
authorMartin Willi <martin@strongswan.org>
Tue, 24 Nov 2009 14:21:16 +0000 (15:21 +0100)
committerMartin Willi <martin@strongswan.org>
Thu, 26 Nov 2009 09:39:26 +0000 (10:39 +0100)
src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.c

index f0dc1bc..cff5611 100644 (file)
@@ -196,8 +196,8 @@ static kernel_algorithm_t integrity_algs[] = {
        {AUTH_HMAC_MD5_96,                      "md5"                           },
        {AUTH_HMAC_SHA1_96,                     "sha1"                          },
        {AUTH_HMAC_SHA2_256_96,         "sha256"                        },
-       {AUTH_HMAC_SHA2_384_192,        "sha384"                        },
-       {AUTH_HMAC_SHA2_512_256,        "sha512"                        },
+       {AUTH_HMAC_SHA2_384_192,        "hmac(sha384)"          },
+       {AUTH_HMAC_SHA2_512_256,        "hmac(sha512)"          },
 /*     {AUTH_DES_MAC,                          "***"                           }, */
 /*     {AUTH_KPDK_MD5,                         "***"                           }, */
        {AUTH_AES_XCBC_96,                      "xcbc(aes)"                     },