Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c526 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep()
534 psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep()
535 psecuritypriv->dot11DefKey[keyid].skey[1], in rtw_set_802_11_add_wep()
536 psecuritypriv->dot11DefKey[keyid].skey[2], in rtw_set_802_11_add_wep()
537 psecuritypriv->dot11DefKey[keyid].skey[3], in rtw_set_802_11_add_wep()
538 psecuritypriv->dot11DefKey[keyid].skey[4], in rtw_set_802_11_add_wep()
539 psecuritypriv->dot11DefKey[keyid].skey[5], in rtw_set_802_11_add_wep()
540 psecuritypriv->dot11DefKey[keyid].skey[6], in rtw_set_802_11_add_wep()
541 psecuritypriv->dot11DefKey[keyid].skey[7], in rtw_set_802_11_add_wep()
542 psecuritypriv->dot11DefKey[keyid].skey[8], in rtw_set_802_11_add_wep()
[all …]
Drtw_security.c168 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
215 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
592 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
594 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
667 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
670 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
1226 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt()
1228 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt()
1469 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt()
1477 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
Drtw_xmit.c643 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
646 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
648 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { in xmitframe_addmic()
654 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
Drtw_recv.c289 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
293 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
Drtw_mlme.c1638 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key()
1642 memcpy(&(psetkeyparm->key[0]), &(psecuritypriv->dot11DefKey[keyid].skey[0]), keylen); in rtw_set_key()
Drtw_cmd.c603 …setstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey, 16); in rtw_setstakey_cmd()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c434 … memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
458 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)… in wpa_set_encryption()
461 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption()
462 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption()
470 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, min_… in wpa_set_encryption()
471 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
472 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
1753 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()
2303 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption()
2314 … memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in rtw_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()
434 skey[0]), pwep->KeyMaterial, in wpa_set_encryption()
1636 key].skey, padapter->securitypriv. in r8711_wx_get_enc()
Drtl871x_xmit.c380 [psecuritypriv->XGrpKeyid].skey, in xmitframe_addmic()
387 XGrpKeyid].skey); in xmitframe_addmic()
389 if (!memcmp(&stainfo->tkiptxmickey.skey[0], in xmitframe_addmic()
394 &stainfo->tkiptxmickey.skey[0]); in xmitframe_addmic()
Drtl871x_security.h78 u8 skey[16]; member
Drtl871x_recv.c174 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic()
178 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
Drtl871x_ioctl_set.c362 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
Drtl871x_mlme.c1257 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
1262 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
Drtl871x_cmd.c666 psecuritypriv->XGrpKeyid - 1]. skey, 16); in r8712_setstakey_cmd()
/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/s390/char/
Dsclp_early.c157 sclp.has_skey = cpue->skey; in sclp_facilities_detect()
/drivers/staging/rtl8188eu/include/
Drtw_security.h88 u8 skey[16]; member
/drivers/message/fusion/
Dmptscsih.c441 u8 skey, asc, ascq; in mptscsih_info_scsiio() local
554 skey = sc->sense_buffer[2] & 0x0F; in mptscsih_info_scsiio()
559 "[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
4197 data->skey = sense_buffer[1] & 0x0F; in _scsih_normalize_sense()
4202 data->skey = sense_buffer[2] & 0x0F; in _scsih_normalize_sense()
4414 ioc->name, data.skey, in _scsih_scsi_ioc_info()
4739 mpt3sas_trigger_scsi(ioc, data.skey, data.asc, data.ascq); in _scsih_io_done()