Home
last modified time | relevance | path

Searched refs:skey (Results 1 – 25 of 25) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c539 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 …]
Drtw_security.c173 …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()
Drtw_xmit.c659 …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()
Drtw_recv.c303 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
307 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
Drtw_mlme.c1667 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()
Drtw_cmd.c648 …setstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey, 16); in rtw_setstakey_cmd()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c436 … 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/
Dioctl_cfg80211.c531 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/
Drtl871x_security.c188 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()
Drtl871x_ioctl_linux.c100 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()
Drtl871x_xmit.c375 [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()
Drtl871x_security.h78 u8 skey[16]; member
Drtl871x_recv.c180 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic()
184 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
Drtl871x_ioctl_set.c364 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
Drtl871x_mlme.c1262 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
1267 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
Drtl871x_cmd.c690 psecuritypriv->XGrpKeyid - 1]. skey, 16); in r8712_setstakey_cmd()
/drivers/staging/rtl8723au/core/
Drtw_security.c653 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()
Drtw_xmit.c679 …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()
Drtw_recv.c309 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
324 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
Drtw_cmd.c714 &psecuritypriv->dot118021XGrpKey[idx].skey, 16); in rtw_setstakey_cmd23a()
/drivers/net/ppp/
Dppp_mppe.c303 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/
Drtw_security.h93 u8 skey[16]; member
/drivers/staging/rtl8723au/include/
Drtw_security.h82 u8 skey[16]; member
/drivers/message/fusion/
Dmptscsih.c439 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/
Dmpt3sas_scsih.c164 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()