Additional fix for SDOCM00107974: Add support for hmac-sha256 in netapi ipsecmgr...
authorTinku Mannan <tmannan@ti.com>
Mon, 28 Jul 2014 19:35:18 +0000 (15:35 -0400)
committerTinku Mannan <tmannan@ti.com>
Mon, 28 Jul 2014 19:35:18 +0000 (15:35 -0400)
ti/runtime/netapi/src/netapi_sec.c

index efcc884fab04c61b6842aa1d0d99d19226684efe..09ffe7e8795cd14b7d40be42ea1aa1a4e42a98c3 100755 (executable)
@@ -158,6 +158,7 @@ NETCP_CFG_SA_T netapi_secAddSA(NETAPI_T h,
         if ((sa_info->cipherMode == NWAL_SA_EALG_AES_GCM) ||
             (sa_info->cipherMode == NWAL_SA_EALG_AES_CCM) ||
             (sa_info->authMode == NWAL_SA_AALG_GMAC)      ||
+            (sa_info->authMode == NWAL_SA_AALG_HMAC_SHA2_256)      ||
             (sa_info->authMode == NWAL_SA_AALG_HMAC_SHA2_256_RFC4868))
         {
             createParam.saIpSecParam.macSize = 16;