Searched refs:wPayloadSize (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/staging/vt6655/ |
D | aes_ccmp.c | 262 unsigned short wPayloadSize = wFrameSize - 8 - 8 - 4 - WLAN_HDR_ADDR3_LEN;//8 is IV, 8 is MIC, 4 is… in AESbGenCCMP() local 275 wPayloadSize -= 6; in AESbGenCCMP() 291 MIC_IV[14] = (unsigned char)(wPayloadSize >> 8); in AESbGenCCMP() 292 MIC_IV[15] = (unsigned char)(wPayloadSize & 0xff); in AESbGenCCMP() 338 for(jj=wPayloadSize; jj>16; jj=jj-16) { in AESbGenCCMP()
|
D | rxtx.c | 325 unsigned short wPayloadSize in s_vSWencryption() argument 338 dwICV = CRCdwGetCrc32Ex(pbyPayloadHead, wPayloadSize, dwICV);//ICV(Payload) in s_vSWencryption() 339 pdwICV = (unsigned long *)(pbyPayloadHead + wPayloadSize); in s_vSWencryption() 344 rc4_encrypt(&pDevice->SBox, pbyPayloadHead, pbyPayloadHead, wPayloadSize+cbICVlen); in s_vSWencryption() 349 dwICV = CRCdwGetCrc32Ex(pbyPayloadHead, wPayloadSize, dwICV);//ICV(Payload) in s_vSWencryption() 350 pdwICV = (unsigned long *)(pbyPayloadHead + wPayloadSize); in s_vSWencryption() 355 rc4_encrypt(&pDevice->SBox, pbyPayloadHead, pbyPayloadHead, wPayloadSize+cbICVlen); in s_vSWencryption()
|
/linux-3.4.99/drivers/staging/vt6656/ |
D | aes_ccmp.c | 251 WORD wPayloadSize = wFrameSize - 8 - 8 - 4 - WLAN_HDR_ADDR3_LEN; in AESbGenCCMP() local 263 wPayloadSize -= 6; in AESbGenCCMP() 279 MIC_IV[14] = (BYTE)(wPayloadSize >> 8); in AESbGenCCMP() 280 MIC_IV[15] = (BYTE)(wPayloadSize & 0xff); in AESbGenCCMP() 327 for (jj = wPayloadSize; jj > 16; jj = jj-16) { in AESbGenCCMP()
|
D | rxtx.c | 193 WORD wPayloadSize 441 WORD wPayloadSize in s_vSWencryption() argument 454 dwICV = CRCdwGetCrc32Ex(pbyPayloadHead, wPayloadSize, dwICV);//ICV(Payload) in s_vSWencryption() 455 pdwICV = (PDWORD)(pbyPayloadHead + wPayloadSize); in s_vSWencryption() 460 rc4_encrypt(&pDevice->SBox, pbyPayloadHead, pbyPayloadHead, wPayloadSize+cbICVlen); in s_vSWencryption() 465 dwICV = CRCdwGetCrc32Ex(pbyPayloadHead, wPayloadSize, dwICV);//ICV(Payload) in s_vSWencryption() 466 pdwICV = (PDWORD)(pbyPayloadHead + wPayloadSize); in s_vSWencryption() 471 rc4_encrypt(&pDevice->SBox, pbyPayloadHead, pbyPayloadHead, wPayloadSize+cbICVlen); in s_vSWencryption()
|