summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0dccbeb)
raw | patch | inline | side by side (parent: 0dccbeb)
Need to set replayWindow and macSize to 0 when authentication algorithm is NULL for... DEV.NETAPI.01.00.00.04.PATCH.1
author | Tinku Mannan <tmannan@ti.com> | |
Tue, 16 Oct 2012 20:38:03 +0000 (16:38 -0400) | ||
committer | Tinku Mannan <tmannan@ti.com> | |
Tue, 16 Oct 2012 20:38:03 +0000 (16:38 -0400) |
ti/runtime/netapi/src/netapi_sec.c | patch | blob | history |
index 6af56e562ac3d0660303e29130c0c58eb64745cc..9b7ba92f7bcc9c25efb6d4d722d4432c4ea03cb9 100755 (executable)
createParam.saIpSecParam.cipherMode = sa_info->cipherMode;
createParam.saIpSecParam.esnLo = sa_info->esnLo;
createParam.saIpSecParam.esnHi = sa_info->esnHi;
+ if (sa_info->authMode == NWAL_SA_AALG_NULL)
+ {
+ createParam.saIpSecParam.replayWindow = 0;
+ createParam.saIpSecParam.macSize = 0;
+ }
memcpy(&createParam.keyParam,key_params,sizeof(nwalSecKeyParams_t));
if (route != NULL)