Home
last modified time | relevance | path

Searched refs:abyPRNG (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/staging/vt6655/
Ddpc.c1226 memcpy(pDevice->abyPRNG, pbyIV, 3); in s_bHandleRxEncryption()
1227 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHandleRxEncryption()
1228 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHandleRxEncryption()
1254 … TKIPvMixKey(pKey->abyKey, pMACHeader->abyAddr2, *pwRxTSC15_0, *pdwRxTSC47_16, pDevice->abyPRNG); in s_bHandleRxEncryption()
1255 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_bHandleRxEncryption()
1336 memcpy(pDevice->abyPRNG, pbyIV, 3); in s_bHostWepRxEncryption()
1337 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHostWepRxEncryption()
1338 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHostWepRxEncryption()
1368 … TKIPvMixKey(pKey->abyKey, pMACHeader->abyAddr2, *pwRxTSC15_0, *pdwRxTSC47_16, pDevice->abyPRNG); in s_bHostWepRxEncryption()
1369 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_bHostWepRxEncryption()
Drxtx.c232 memcpy(pDevice->abyPRNG, (unsigned char *)&(dwRevIVCounter), 3); in s_vFillTxKey()
233 memcpy(pDevice->abyPRNG+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
241 memcpy(pDevice->abyPRNG, pbyBuf, 16); in s_vFillTxKey()
257 pTransmitKey->wTSC15_0, pTransmitKey->dwTSC47_16, pDevice->abyPRNG); in s_vFillTxKey()
258 memcpy(pbyBuf, pDevice->abyPRNG, 16); in s_vFillTxKey()
260 memcpy(pdwIV, pDevice->abyPRNG, 3); in s_vFillTxKey()
343 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength + 3); in s_vSWencryption()
354 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_vSWencryption()
Ddevice.h635 unsigned char abyPRNG[WLAN_WEPMAX_KEYLEN+3]; member
Dwmgr.c1398 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength+3); in s_vMgrRxAuthenSequence_1()
/linux-3.4.99/drivers/staging/vt6656/
Ddpc.c1226 memcpy(pDevice->abyPRNG, pbyIV, 3); in s_bHandleRxEncryption()
1227 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHandleRxEncryption()
1228 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHandleRxEncryption()
1254 … TKIPvMixKey(pKey->abyKey, pMACHeader->abyAddr2, *pwRxTSC15_0, *pdwRxTSC47_16, pDevice->abyPRNG); in s_bHandleRxEncryption()
1255 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_bHandleRxEncryption()
1337 memcpy(pDevice->abyPRNG, pbyIV, 3); in s_bHostWepRxEncryption()
1338 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHostWepRxEncryption()
1339 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHostWepRxEncryption()
1369 … TKIPvMixKey(pKey->abyKey, pMACHeader->abyAddr2, *pwRxTSC15_0, *pdwRxTSC47_16, pDevice->abyPRNG); in s_bHostWepRxEncryption()
1370 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_bHostWepRxEncryption()
Drxtx.c347 memcpy(pDevice->abyPRNG, (PBYTE)&(dwRevIVCounter), 3); in s_vFillTxKey()
348 memcpy(pDevice->abyPRNG+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
356 memcpy(pDevice->abyPRNG, pbyBuf, 16); in s_vFillTxKey()
372 pTransmitKey->wTSC15_0, pTransmitKey->dwTSC47_16, pDevice->abyPRNG); in s_vFillTxKey()
373 memcpy(pbyBuf, pDevice->abyPRNG, 16); in s_vFillTxKey()
375 memcpy(pdwIV, pDevice->abyPRNG, 3); in s_vFillTxKey()
459 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength + 3); in s_vSWencryption()
470 rc4_init(&pDevice->SBox, pDevice->abyPRNG, TKIP_KEY_LEN); in s_vSWencryption()
Ddevice.h737 BYTE abyPRNG[WLAN_WEPMAX_KEYLEN+3]; member
Dwmgr.c1318 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength+3); in s_vMgrRxAuthenSequence_1()