Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dvporttbl.c61 esw_vport_tbl_lookup(struct mlx5_eswitch *esw, struct mlx5_vport_key *skey, u32 key) in esw_vport_tbl_lookup() argument
66 if (!memcmp(&e->key, skey, sizeof(*skey))) in esw_vport_tbl_lookup()
79 struct mlx5_vport_key skey; in mlx5_esw_vporttbl_get() local
83 hkey = flow_attr_to_vport_key(esw, attr, &skey); in mlx5_esw_vporttbl_get()
84 e = esw_vport_tbl_lookup(esw, &skey, hkey); in mlx5_esw_vporttbl_get()
109 e->key = skey; in mlx5_esw_vporttbl_get()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c143 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
170 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption()
174 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption()
175 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption()
184 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in wpa_set_encryption()
187 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
188 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
198 …memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u… in wpa_set_encryption()
547 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_set_encryption()
548 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_set_encryption()
[all …]
Dioctl_cfg80211.c508 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
509 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
510 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
565 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption()
629 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_ap_set_encryption()
640 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_ap_set_encryption()
641 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_ap_set_encryption()
772 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_set_encryption()
800 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_set_encryption()
804 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_set_encryption()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_security.c67 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
116 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
490 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
492 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_tkip_encrypt()
599 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
601 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
1055 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt()
1057 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_aes_encrypt()
1351 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt()
1357 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
[all …]
Drtw_xmit.c470 memset(pattrib->dot118021x_UncstKey.skey, 0, 16); in update_attrib_sec_info()
471 memset(pattrib->dot11tkiptxmickey.skey, 0, 16); in update_attrib_sec_info()
528 memcpy(pattrib->dot11tkiptxmickey.skey, psta->dot11tkiptxmickey.skey, 16); in update_attrib_sec_info()
551 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in update_attrib_sec_info()
772 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
775 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
777 if (!memcmp(&pattrib->dot11tkiptxmickey.skey[0], null_key, 16)) in xmitframe_addmic()
780 rtw_secmicsetkey(&micdata, &pattrib->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
1206 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
1237 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in rtw_mgmt_xmitframe_coalesce()
Drtw_ioctl_set.c449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
Drtw_recv.c329 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
338 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
/drivers/staging/r8188eu/core/
Drtw_security.c113 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
158 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
542 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
544 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
617 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
619 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
1192 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt()
1194 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt()
1431 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt()
1439 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
Drtw_ioctl_set.c460 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], &wep->KeyMaterial, wep->KeyLength); in rtw_set_802_11_add_wep()
631 memcpy(&padapter->securitypriv.dot11DefKey[keyindex].skey[0], key->KeyMaterial, key->KeyLength); in rtw_set_802_11_add_key()
Drtw_xmit.c621 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
624 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
626 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { in xmitframe_addmic()
631 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
Drtw_recv.c331 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
339 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
Drtw_mlme.c1708 memcpy(&psetkeyparm->key[0], &psecuritypriv->dot11DefKey[keyid].skey[0], keylen); in rtw_set_key()
1712 memcpy(&psetkeyparm->key[0], &psecuritypriv->dot11DefKey[keyid].skey[0], keylen); in rtw_set_key()
/drivers/staging/rtl8712/
Drtl871x_security.c175 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_encrypt()
230 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_decrypt()
588 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt()
671 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_tkip_decrypt()
675 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt()
1159 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_encrypt()
1365 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_aes_decrypt()
1370 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_decrypt()
Drtl871x_ioctl_linux.c81 memcpy(psta->x_UncstKey.skey, param->u.crypt.key, in handle_pairwise_key()
84 memcpy(psta->tkiptxmickey. skey, in handle_pairwise_key()
86 memcpy(psta->tkiprxmickey. skey, in handle_pairwise_key()
105 memcpy(gk[param->u.crypt.idx - 1].skey, in handle_group_key()
109 memcpy(gtk[param->u.crypt.idx - 1].skey, in handle_group_key()
111 memcpy(grk[param->u.crypt.idx - 1].skey, in handle_group_key()
427 memcpy(&psecuritypriv->DefKey[wep_key_idx].skey[0], in wpa_set_encryption()
1621 memcpy(keybuf, dk[key].skey, in r8711_wx_get_enc()
Drtl871x_xmit.c396 [psecpriv->XGrpKeyid].skey, in xmitframe_addmic()
402 [psecpriv->XGrpKeyid].skey); in xmitframe_addmic()
404 if (!memcmp(&stainfo->tkiptxmickey.skey[0], in xmitframe_addmic()
409 &stainfo->tkiptxmickey.skey[0]); in xmitframe_addmic()
Drtl871x_security.h66 u8 skey[16]; member
Drtl871x_recv.c155 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic()
159 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
Drtl871x_ioctl_set.c350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
Drtl871x_mlme.c1202 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
1207 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key()
Drtl871x_cmd.c553 psecuritypriv->XGrpKeyid - 1]. skey, 16); in r8712_setstakey_cmd()
/drivers/s390/char/
Dsclp_early.c86 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
/drivers/staging/rtl8723bs/include/
Drtw_security.h83 u8 skey[16]; member
/drivers/staging/r8188eu/include/
Drtw_security.h76 u8 skey[16]; member
/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c496 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
520 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : pa… in wpa_set_encryption()
523 memcpy(psta->dot11tkiptxmickey.skey, &param->u.crypt.key[16], 8); in wpa_set_encryption()
524 memcpy(psta->dot11tkiprxmickey.skey, &param->u.crypt.key[24], 8); in wpa_set_encryption()
532 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (par… in wpa_set_encryption()
533 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
534 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
1840 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()
/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()

12