/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 539 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep() 547 psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep() 548 psecuritypriv->dot11DefKey[keyid].skey[1], in rtw_set_802_11_add_wep() 549 psecuritypriv->dot11DefKey[keyid].skey[2], in rtw_set_802_11_add_wep() 550 psecuritypriv->dot11DefKey[keyid].skey[3], in rtw_set_802_11_add_wep() 551 psecuritypriv->dot11DefKey[keyid].skey[4], in rtw_set_802_11_add_wep() 552 psecuritypriv->dot11DefKey[keyid].skey[5], in rtw_set_802_11_add_wep() 553 psecuritypriv->dot11DefKey[keyid].skey[6], in rtw_set_802_11_add_wep() 554 psecuritypriv->dot11DefKey[keyid].skey[7], in rtw_set_802_11_add_wep() 555 psecuritypriv->dot11DefKey[keyid].skey[8], in rtw_set_802_11_add_wep() [all …]
|
D | rtw_security.c | 173 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt() 220 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt() 598 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt() 600 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt() 673 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt() 676 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt() 1232 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt() 1234 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt() 1475 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt() 1483 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
|
D | rtw_xmit.c | 659 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic() 662 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic() 664 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { in xmitframe_addmic() 670 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
|
D | rtw_recv.c | 303 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic() 307 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
|
D | rtw_mlme.c | 1667 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key() 1671 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key()
|
D | rtw_cmd.c | 648 …setstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey, 16); in rtw_setstakey_cmd()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 436 … memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption() 460 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)… in wpa_set_encryption() 463 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption() 464 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption() 472 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, min_… in wpa_set_encryption() 473 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption() 474 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption() 1757 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc() 2307 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption() 2318 … memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption() [all …]
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 531 dot118021XGrpKey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 544 dot118021XGrpKey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 550 dot118021XGrptxmickey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 553 dot118021XGrprxmickey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 566 dot118021XGrpKey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 605 memcpy(psta->dot118021x_UncstKey.skey, in rtw_cfg80211_ap_set_encryption() 623 memcpy(psta->dot11tkiptxmickey.skey, in rtw_cfg80211_ap_set_encryption() 625 memcpy(psta->dot11tkiprxmickey.skey, in rtw_cfg80211_ap_set_encryption() 652 dot118021XGrpKey[key_index].skey, in rtw_cfg80211_ap_set_encryption() 662 dot118021XGrpKey[key_index].skey, in rtw_cfg80211_ap_set_encryption() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 188 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_encrypt() 242 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_decrypt() 600 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt() 683 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_tkip_decrypt() 687 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt() 1179 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_encrypt() 1386 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_aes_decrypt() 1391 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_decrypt()
|
D | rtl871x_ioctl_linux.c | 100 memcpy(psta->x_UncstKey.skey, param->u.crypt.key, in handle_pairwise_key() 103 memcpy(psta->tkiptxmickey. skey, &(param->u.crypt. in handle_pairwise_key() 105 memcpy(psta->tkiprxmickey. skey, &(param->u.crypt. in handle_pairwise_key() 121 idx - 1].skey, param->u.crypt.key, in handle_group_key() 125 u.crypt.idx - 1].skey, &(param->u.crypt.key[16]), 8); in handle_group_key() 127 u.crypt.idx - 1].skey, &(param->u.crypt.key[24]), 8); in handle_group_key() 437 skey[0]), pwep->KeyMaterial, in wpa_set_encryption() 1639 key].skey, padapter->securitypriv. in r8711_wx_get_enc()
|
D | rtl871x_xmit.c | 375 [psecuritypriv->XGrpKeyid].skey, in xmitframe_addmic() 382 XGrpKeyid].skey); in xmitframe_addmic() 384 if (!memcmp(&stainfo->tkiptxmickey.skey[0], in xmitframe_addmic() 389 &stainfo->tkiptxmickey.skey[0]); in xmitframe_addmic()
|
D | rtl871x_security.h | 78 u8 skey[16]; member
|
D | rtl871x_recv.c | 180 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic() 184 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
|
D | rtl871x_ioctl_set.c | 364 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
|
D | rtl871x_mlme.c | 1262 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key() 1267 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
|
D | rtl871x_cmd.c | 690 psecuritypriv->XGrpKeyid - 1]. skey, 16); in r8712_setstakey_cmd()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 653 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt23a() 655 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt23a() 747 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt23a() 751 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt23a() 1327 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt23a() 1329 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt23a() 1601 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt23a() 1610 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt23a()
|
D | rtw_xmit.c | 679 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic() 683 …csetkey23a(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic() 685 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], in xmitframe_addmic() 690 rtw_secmicsetkey23a(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
|
D | rtw_recv.c | 309 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic() 324 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
|
D | rtw_cmd.c | 714 &psecuritypriv->dot118021XGrpKey[idx].skey, 16); in rtw_setstakey_cmd23a()
|
/drivers/net/ppp/ |
D | ppp_mppe.c | 303 char skey[sizeof(state->session_key) * 2 + 1]; in mppe_init() local 312 sprintf(skey + i * 2, "%02x", state->session_key[i]); in mppe_init() 315 debugstr, unit, mkey, skey); in mppe_init()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_security.h | 93 u8 skey[16]; member
|
/drivers/staging/rtl8723au/include/ |
D | rtw_security.h | 82 u8 skey[16]; member
|
/drivers/message/fusion/ |
D | mptscsih.c | 439 u8 skey, asc, ascq; in mptscsih_info_scsiio() local 552 skey = sc->sense_buffer[2] & 0x0F; in mptscsih_info_scsiio() 557 "[0x%02x,0x%02x,0x%02x]\n", ioc->name, skey, asc, ascq); in mptscsih_info_scsiio()
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 164 u8 skey; member 4052 data->skey = sense_buffer[1] & 0x0F; in _scsih_normalize_sense() 4057 data->skey = sense_buffer[2] & 0x0F; in _scsih_normalize_sense() 4266 ioc->name, data.skey, in _scsih_scsi_ioc_info() 4591 mpt3sas_trigger_scsi(ioc, data.skey, data.asc, data.ascq); in _scsih_io_done()
|