Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A 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()
/linux/arch/s390/include/asm/
A Dpage.h108 unsigned char skey, int mapped) in page_set_storage_key() argument
112 : : "d" (skey), "a" (addr)); in page_set_storage_key()
114 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key()
119 unsigned char skey; in page_get_storage_key() local
121 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key()
122 return skey; in page_get_storage_key()
A Dsclp.h43 u8 skey : 1; member
/linux/net/tipc/
A Dcrypto.c376 skey->keylen); in tipc_aead_key_generate()
1224 kfree(rx->skey); in tipc_crypto_key_flush()
1225 rx->skey = NULL; in tipc_crypto_key_flush()
2262 skey->keylen); in tipc_crypto_key_xmit()
2318 if (unlikely(!skey)) { in tipc_crypto_key_rcv()
2327 skey->keylen); in tipc_crypto_key_rcv()
2331 rx->skey = skey; in tipc_crypto_key_rcv()
2382 if (rx->skey) { in tipc_crypto_work_rx()
2395 kfree(rx->skey); in tipc_crypto_work_rx()
2396 rx->skey = NULL; in tipc_crypto_work_rx()
[all …]
/linux/drivers/staging/rtl8723bs/os_dep/
A Dioctl_linux.c128 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
159 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption()
160 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption()
532 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_set_encryption()
533 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_set_encryption()
534 char *grpkey = psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_set_encryption()
612 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption()
621 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption()
650 …memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8… in rtw_set_encryption()
696 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_set_encryption()
[all …]
A Dioctl_cfg80211.c523 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
524 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
525 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption()
591 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption()
685 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_ap_set_encryption()
686 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_ap_set_encryption()
837 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_set_encryption()
874 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_set_encryption()
875 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_set_encryption()
888 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in rtw_cfg80211_set_encryption()
[all …]
/linux/arch/s390/mm/
A Dpgtable.c177 unsigned long address, bits, skey; in pgste_update_all() local
182 skey = (unsigned long) page_get_storage_key(address); in pgste_update_all()
183 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in pgste_update_all()
188 pgste_val(pgste) |= (skey & (_PAGE_ACC_BITS | _PAGE_FP_BIT)) << 56; in pgste_update_all()
835 unsigned long bits, skey; in set_guest_storage_key() local
838 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key()
839 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key()
840 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key()
842 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
A Dpageattr.c15 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() argument
18 : [addr] "+a" (addr) : [skey] "d" (skey)); in sske_frame()
/linux/drivers/staging/rtl8723bs/core/
A 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 …]
A Drtw_xmit.c481 memset(pattrib->dot118021x_UncstKey.skey, 0, 16); in update_attrib_sec_info()
482 memset(pattrib->dot11tkiptxmickey.skey, 0, 16); in update_attrib_sec_info()
539 memcpy(pattrib->dot11tkiptxmickey.skey, psta->dot11tkiptxmickey.skey, 16); in update_attrib_sec_info()
562 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in update_attrib_sec_info()
783 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
786 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
788 if (!memcmp(&pattrib->dot11tkiptxmickey.skey[0], null_key, 16)) in xmitframe_addmic()
791 rtw_secmicsetkey(&micdata, &pattrib->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
1217 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
1248 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in rtw_mgmt_xmitframe_coalesce()
A Drtw_ioctl_set.c449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
/linux/drivers/staging/r8188eu/core/
A Drtw_security.c47 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
92 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
476 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
478 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
551 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
553 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
1124 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt()
1126 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt()
1364 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt()
1372 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
A Drtw_xmit.c615 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
618 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
620 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { in xmitframe_addmic()
625 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
/linux/drivers/staging/rtl8712/
A 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()
A 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()
A Drtl871x_xmit.c371 [psecpriv->XGrpKeyid].skey, in xmitframe_addmic()
377 [psecpriv->XGrpKeyid].skey); in xmitframe_addmic()
379 if (!memcmp(&stainfo->tkiptxmickey.skey[0], in xmitframe_addmic()
384 &stainfo->tkiptxmickey.skey[0]); in xmitframe_addmic()
A Drtl871x_security.h66 u8 skey[16]; member
A Drtl871x_recv.c155 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic()
159 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
A Drtl871x_ioctl_set.c350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
/linux/arch/powerpc/include/asm/
A Dkvm_book3s_64.h480 unsigned long skey; in hpte_get_skey_perm() local
482 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
484 return (amr >> (62 - 2 * skey)) & 3; in hpte_get_skey_perm()
/linux/drivers/s390/char/
A Dsclp_early.c86 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
/linux/drivers/staging/rtl8723bs/include/
A Drtw_security.h83 u8 skey[16]; member
/linux/fs/sysfs/
A Dfile.c291 key = attr->key ?: (struct lock_class_key *)&attr->skey; in sysfs_add_file_mode_ns()
326 key = attr->key ?: (struct lock_class_key *)&attr->skey; in sysfs_add_bin_file_mode_ns()
/linux/drivers/staging/r8188eu/include/
A Drtw_security.h77 u8 skey[16]; member
/linux/drivers/staging/r8188eu/os_dep/
A Dioctl_linux.c449 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
473 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : pa… in wpa_set_encryption()
476 memcpy(psta->dot11tkiptxmickey.skey, &param->u.crypt.key[16], 8); in wpa_set_encryption()
477 memcpy(psta->dot11tkiprxmickey.skey, &param->u.crypt.key[24], 8); in wpa_set_encryption()
485 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (par… in wpa_set_encryption()
486 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
487 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
1758 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()

Completed in 73 milliseconds

12