Searched refs:pSharedKey (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/staging/rt2860/sta/ |
D | wpa.c | 280 struct rt_cipher_key *pSharedKey; in WpaStaPairwiseKeySetting() local 286 pSharedKey = &pAd->SharedKey[BSS0][0]; in WpaStaPairwiseKeySetting() 291 NdisZeroMemory(pSharedKey, sizeof(struct rt_cipher_key)); in WpaStaPairwiseKeySetting() 292 pSharedKey->KeyLen = LEN_TKIP_EK; in WpaStaPairwiseKeySetting() 293 NdisMoveMemory(pSharedKey->Key, &pAd->StaCfg.PTK[32], LEN_TKIP_EK); in WpaStaPairwiseKeySetting() 294 NdisMoveMemory(pSharedKey->RxMic, &pAd->StaCfg.PTK[48], in WpaStaPairwiseKeySetting() 296 NdisMoveMemory(pSharedKey->TxMic, in WpaStaPairwiseKeySetting() 301 pSharedKey->CipherAlg = CIPHER_TKIP; in WpaStaPairwiseKeySetting() 303 pSharedKey->CipherAlg = CIPHER_AES; in WpaStaPairwiseKeySetting() 305 pSharedKey->CipherAlg = CIPHER_NONE; in WpaStaPairwiseKeySetting() [all …]
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | cmm_cfg.c | 172 struct rt_cipher_key *pSharedKey, int keyIdx) in RT_CfgSetWepKey() argument 180 memset(pSharedKey, 0, sizeof(struct rt_cipher_key)); in RT_CfgSetWepKey() 186 pSharedKey->KeyLen = KeyLen; in RT_CfgSetWepKey() 187 NdisMoveMemory(pSharedKey->Key, keyString, KeyLen); in RT_CfgSetWepKey() 197 pSharedKey->KeyLen = KeyLen / 2; in RT_CfgSetWepKey() 198 AtoH(keyString, pSharedKey->Key, pSharedKey->KeyLen); in RT_CfgSetWepKey() 208 pSharedKey->CipherAlg = ((KeyLen % 5) ? CIPHER_WEP128 : CIPHER_WEP64); in RT_CfgSetWepKey()
|
D | cmm_wpa.c | 787 struct rt_cipher_key *pSharedKey; in PeerPairMsg3Action() local 789 pSharedKey = &pAd->SharedKey[BSS0][0]; in PeerPairMsg3Action() 794 NdisZeroMemory(pSharedKey, sizeof(struct rt_cipher_key)); in PeerPairMsg3Action() 795 pSharedKey->KeyLen = LEN_TKIP_EK; in PeerPairMsg3Action() 796 NdisMoveMemory(pSharedKey->Key, &pAd->StaCfg.PTK[32], in PeerPairMsg3Action() 798 NdisMoveMemory(pSharedKey->RxMic, &pAd->StaCfg.PTK[48], in PeerPairMsg3Action() 800 NdisMoveMemory(pSharedKey->TxMic, in PeerPairMsg3Action() 806 pSharedKey->CipherAlg = CIPHER_TKIP; in PeerPairMsg3Action() 808 pSharedKey->CipherAlg = CIPHER_AES; in PeerPairMsg3Action() 810 pSharedKey->CipherAlg = CIPHER_NONE; in PeerPairMsg3Action() [all …]
|
/linux-2.6.39/drivers/staging/rt2860/ |
D | rtmp.h | 3370 struct rt_cipher_key *pSharedKey, int keyIdx);
|