Add offload support for SA_EALG_AES_GCM
authorTinku Mannan <tmannan@ti.com>
Tue, 17 Mar 2015 14:26:13 +0000 (10:26 -0400)
committerTinku Mannan <tmannan@ti.com>
Tue, 17 Mar 2015 14:26:13 +0000 (10:26 -0400)
ti/runtime/netapi/applications/ipsec_offload/ipsecmgr/src/netapilib_interface.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 415ffb2..0b3d1be
@@ -258,6 +258,8 @@ int netapilib_ifAddSA
         saInfo.cipherMode = NWAL_SA_EALG_3DES_CBC;
     else if (sa_info->enc.algo == SA_EALG_DES_CBC) 
         saInfo.cipherMode = NWAL_SA_EALG_DES_CBC;
+    else if (sa_info->enc.algo == SA_EALG_AES_GCM)
+        saInfo.cipherMode = NWAL_SA_EALG_AES_GCM;
     else
     {
         ipsecmgr_syslog_msg (SYSLOG_LEVEL_ERROR,