Home
last modified time | relevance | path

Searched refs:uKeyLength (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/vt6655/
Dkey.c184 unsigned long uKeyLength, in KeybSetKey() argument
233 pKey->uKeyLength = uKeyLength; in KeybSetKey()
236 memcpy(pKey->abyKey, pbyKey, uKeyLength); in KeybSetKey()
238 if (uKeyLength == WLAN_WEP40_KEYLEN) in KeybSetKey()
240 if (uKeyLength == WLAN_WEP104_KEYLEN) in KeybSetKey()
257 for (ii = 0; ii < pKey->uKeyLength; ii++) in KeybSetKey()
297 pKey->uKeyLength = uKeyLength; in KeybSetKey()
300 memcpy(pKey->abyKey, pbyKey, uKeyLength); in KeybSetKey()
302 if (uKeyLength == WLAN_WEP40_KEYLEN) in KeybSetKey()
304 if (uKeyLength == WLAN_WEP104_KEYLEN) in KeybSetKey()
[all …]
Dkey.h58 unsigned long uKeyLength; member
110 unsigned long uKeyLength,
121 unsigned long uKeyLength,
168 unsigned long uKeyLength,
Dwroute.c114 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in ROUTEbRelay()
119 pTransmitKey->uKeyLength); in ROUTEbRelay()
Ddpc.c427 pKey->uKeyLength = pMgmt->sNodeDBTable[iSANodeIndex].uWepKeyLength; in device_receive_frame()
432 pKey->uKeyLength in device_receive_frame()
1064 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHandleRxEncryption()
1065 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHandleRxEncryption()
1167 memcpy(pDevice->abyPRNG + 3, pKey->abyKey, pKey->uKeyLength); in s_bHostWepRxEncryption()
1168 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pKey->uKeyLength + 3); in s_bHostWepRxEncryption()
Diwctl.c1295 pDevice->uKeyLength = wrq->length; in iwctl_siwencode()
1309 if (pkeytab->GroupKey[(unsigned char)dwKeyIndex].uKeyLength == 0) { in iwctl_siwencode()
1390 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1391 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()
1395 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1396 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()
Drxtx.c214 if (pTransmitKey->uKeyLength == WLAN_WEP232_KEYLEN) { in s_vFillTxKey()
216 memcpy(pDevice->abyPRNG+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
219 memcpy(pbyBuf+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
220 if (pTransmitKey->uKeyLength == WLAN_WEP40_KEYLEN) { in s_vFillTxKey()
222 memcpy(pbyBuf+11, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
323 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength + 3); in s_vSWencryption()
1360 if (pTransmitKey->uKeyLength == WLAN_WEP232_KEYLEN) in s_cbFillTxBufHead()
2050 if (pTransmitKey->uKeyLength != WLAN_WEP232_KEYLEN) in vGenerateFIFOHeader()
2859 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in vDMA0_tx_80211()
2864 pTransmitKey->uKeyLength in vDMA0_tx_80211()
Ddevice.h550 unsigned int uKeyLength; member
Ddevice_main.c1615 pDevice->uKeyLength, in device_open()
1810 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in device_dma0_xmit()
1815 pTransmitKey->uKeyLength in device_dma0_xmit()
2003 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in device_xmit()
2008 pTransmitKey->uKeyLength in device_xmit()
2025 (pTransmitKey->uKeyLength == WLAN_WEP232_KEYLEN)) { in device_xmit()
Dwmgr.c1292 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength+3); in s_vMgrRxAuthenSequence_1()