Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/vt6655/
Dkey.c138 PSKeyItem *pKey in KeybGetKey() argument
145 *pKey = NULL; in KeybGetKey()
151 *pKey = &(pTable->KeyTable[i].PairwiseKey); in KeybGetKey()
159 *pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex]); in KeybGetKey()
206 PSKeyItem pKey; in KeybSetKey() local
223 pKey = &(pTable->KeyTable[i].PairwiseKey); in KeybSetKey()
231 pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex & 0x000000FF]); in KeybSetKey()
244 pKey->bKeyValid = true; in KeybSetKey()
245 pKey->uKeyLength = uKeyLength; in KeybSetKey()
246 pKey->dwKeyIndex = dwKeyIndex; in KeybSetKey()
[all …]
Ddpc.c128 PSKeyItem pKey,
352 PSKeyItem pKey = NULL; in device_receive_frame() local
485 pKey = &STempKey; in device_receive_frame()
486 pKey->byCipherSuite = pMgmt->sNodeDBTable[iSANodeIndex].byCipherSuite; in device_receive_frame()
487 pKey->dwKeyIndex = pMgmt->sNodeDBTable[iSANodeIndex].dwKeyIndex; in device_receive_frame()
488 pKey->uKeyLength = pMgmt->sNodeDBTable[iSANodeIndex].uWepKeyLength; in device_receive_frame()
489 pKey->dwTSC47_16 = pMgmt->sNodeDBTable[iSANodeIndex].dwTSC47_16; in device_receive_frame()
490 pKey->wTSC15_0 = pMgmt->sNodeDBTable[iSANodeIndex].wTSC15_0; in device_receive_frame()
491 memcpy(pKey->abyKey, in device_receive_frame()
493 pKey->uKeyLength in device_receive_frame()
[all …]
Dkey.h110 PSKeyItem *pKey
147 PSKeyItem *pKey
152 PSKeyItem *pKey
Diwctl.c1576 PSKeyItem pKey = NULL; in iwctl_giwencode() local
1608 if (KeybGetKey(&(pDevice->sKey),pMgmt->abyCurrBSSID, 0xffffffff, &pKey)){ in iwctl_giwencode()
1609 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1610 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()
1613 }else if (KeybGetKey(&(pDevice->sKey), pDevice->abyBroadcastAddr, (unsigned char)index , &pKey)){ in iwctl_giwencode()
1614 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1615 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()
/linux-3.4.99/drivers/staging/vt6656/
Dkey.c168 PSKeyItem *pKey) in KeybGetKey() argument
174 *pKey = NULL; in KeybGetKey()
180 *pKey = &(pTable->KeyTable[i].PairwiseKey); in KeybGetKey()
188 *pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex]); in KeybGetKey()
235 PSKeyItem pKey; in KeybSetKey() local
253 pKey = &(pTable->KeyTable[i].PairwiseKey); in KeybSetKey()
261 pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex & 0x000000FF]); in KeybSetKey()
276 pKey->bKeyValid = TRUE; in KeybSetKey()
277 pKey->uKeyLength = uKeyLength; in KeybSetKey()
278 pKey->dwKeyIndex = dwKeyIndex; in KeybSetKey()
[all …]
Ddpc.c135 PSKeyItem pKey,
346 PSKeyItem pKey = NULL; in RXbBulkInProcessData() local
499 pKey = &STempKey; in RXbBulkInProcessData()
500 pKey->byCipherSuite = pMgmt->sNodeDBTable[iSANodeIndex].byCipherSuite; in RXbBulkInProcessData()
501 pKey->dwKeyIndex = pMgmt->sNodeDBTable[iSANodeIndex].dwKeyIndex; in RXbBulkInProcessData()
502 pKey->uKeyLength = pMgmt->sNodeDBTable[iSANodeIndex].uWepKeyLength; in RXbBulkInProcessData()
503 pKey->dwTSC47_16 = pMgmt->sNodeDBTable[iSANodeIndex].dwTSC47_16; in RXbBulkInProcessData()
504 pKey->wTSC15_0 = pMgmt->sNodeDBTable[iSANodeIndex].wTSC15_0; in RXbBulkInProcessData()
505 memcpy(pKey->abyKey, in RXbBulkInProcessData()
507 pKey->uKeyLength in RXbBulkInProcessData()
[all …]
Dkey.h103 PSKeyItem *pKey);
141 PSKeyItem *pKey);
143 BOOL KeybCheckPairewiseKey(PSKeyManagement pTable, PSKeyItem *pKey);
Diwctl.c1285 PSKeyItem pKey = NULL; in iwctl_giwencode() local
1317 if (KeybGetKey(&(pDevice->sKey),pMgmt->abyCurrBSSID, 0xffffffff, &pKey)){ in iwctl_giwencode()
1318 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1319 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()
1322 }else if (KeybGetKey(&(pDevice->sKey), pDevice->abyBroadcastAddr, (BYTE)index , &pKey)){ in iwctl_giwencode()
1323 wrq->length = pKey->uKeyLength; in iwctl_giwencode()
1324 memcpy(abyKey, pKey->abyKey, pKey->uKeyLength); in iwctl_giwencode()