Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpage.h105 unsigned char skey, int mapped) in page_set_storage_key() argument
109 : : "d" (skey), "a" (addr)); in page_set_storage_key()
111 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key()
116 unsigned char skey; in page_get_storage_key() local
118 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key()
119 return skey; in page_get_storage_key()
Dsclp.h36 u8 skey : 1; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c502 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep()
511 psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep()
512 psecuritypriv->dot11DefKey[keyid].skey[1], in rtw_set_802_11_add_wep()
513 psecuritypriv->dot11DefKey[keyid].skey[2], in rtw_set_802_11_add_wep()
514 psecuritypriv->dot11DefKey[keyid].skey[3], in rtw_set_802_11_add_wep()
515 psecuritypriv->dot11DefKey[keyid].skey[4], in rtw_set_802_11_add_wep()
516 psecuritypriv->dot11DefKey[keyid].skey[5], in rtw_set_802_11_add_wep()
517 psecuritypriv->dot11DefKey[keyid].skey[6], in rtw_set_802_11_add_wep()
518 psecuritypriv->dot11DefKey[keyid].skey[7], in rtw_set_802_11_add_wep()
519 psecuritypriv->dot11DefKey[keyid].skey[8], in rtw_set_802_11_add_wep()
[all …]
Drtw_security.c165 if (crypto_ops->set_key(psecuritypriv->dot11DefKey[keyindex].skey, in rtw_wep_encrypt()
228 if (crypto_ops->set_key(psecuritypriv->dot11DefKey[keyindex].skey, in rtw_wep_decrypt()
609 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
611 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt()
682 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
685 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
767 key = psecuritypriv->dot118021XGrpKey[key_idx].skey; in rtw_aes_encrypt()
769 key = stainfo->dot118021x_UncstKey.skey; in rtw_aes_encrypt()
855 key = psecuritypriv->dot118021XGrpKey[key_idx].skey; in rtw_aes_decrypt()
858 key = stainfo->dot118021x_UncstKey.skey; in rtw_aes_decrypt()
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()
623 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c609 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep()
616 …curitypriv->dot11DefKey[keyid].skey[0], psecuritypriv->dot11DefKey[keyid].skey[1], psecuritypriv->… in rtw_set_802_11_add_wep()
617 …curitypriv->dot11DefKey[keyid].skey[3], psecuritypriv->dot11DefKey[keyid].skey[4], psecuritypriv->… in rtw_set_802_11_add_wep()
618 …curitypriv->dot11DefKey[keyid].skey[6], psecuritypriv->dot11DefKey[keyid].skey[7], psecuritypriv->… in rtw_set_802_11_add_wep()
619 …curitypriv->dot11DefKey[keyid].skey[9], psecuritypriv->dot11DefKey[keyid].skey[10], psecuritypriv-… in rtw_set_802_11_add_wep()
620 psecuritypriv->dot11DefKey[keyid].skey[12])); in rtw_set_802_11_add_wep()
Drtw_security.c242 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
293 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
685 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt()
687 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_tkip_encrypt()
790 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt()
792 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt()
1512 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt()
1514 prwskey = pattrib->dot118021x_UncstKey.skey; in rtw_aes_encrypt()
1872 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt()
1880 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
[all …]
Drtw_xmit.c487 memset(pattrib->dot118021x_UncstKey.skey, 0, 16); in update_attrib_sec_info()
488 memset(pattrib->dot11tkiptxmickey.skey, 0, 16); in update_attrib_sec_info()
554 memcpy(pattrib->dot11tkiptxmickey.skey, psta->dot11tkiptxmickey.skey, 16); in update_attrib_sec_info()
577 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in update_attrib_sec_info()
835 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic()
838 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic()
840 if (!memcmp(&pattrib->dot11tkiptxmickey.skey[0], null_key, 16)) in xmitframe_addmic()
843 rtw_secmicsetkey(&micdata, &pattrib->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
1309 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
1344 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in rtw_mgmt_xmitframe_coalesce()
/kernel/linux/linux-5.10/net/tipc/
Dcrypto.c207 struct tipc_aead_key *skey; member
299 static int tipc_crypto_key_xmit(struct net *net, struct tipc_aead_key *skey,
304 static int tipc_aead_key_generate(struct tipc_aead_key *skey);
362 static int tipc_aead_key_generate(struct tipc_aead_key *skey) in tipc_aead_key_generate() argument
369 rc = crypto_rng_get_bytes(crypto_default_rng, skey->key, in tipc_aead_key_generate()
370 skey->keylen); in tipc_aead_key_generate()
1217 kfree(rx->skey); in tipc_crypto_key_flush()
1218 rx->skey = NULL; in tipc_crypto_key_flush()
1873 rx->nokey = !(rx->skey || in tipc_crypto_rcv()
2232 static int tipc_crypto_key_xmit(struct net *net, struct tipc_aead_key *skey, in tipc_crypto_key_xmit() argument
[all …]
/kernel/linux/linux-5.10/arch/s390/mm/
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()
815 unsigned long bits, skey; in set_guest_storage_key() local
818 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key()
819 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key()
820 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key()
822 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
Dpageattr.c14 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() argument
17 : [addr] "+a" (addr) : [skey] "d" (skey)); in sske_frame()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c421 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
445 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16)); in wpa_set_encryption()
448 memcpy(psta->dot11tkiptxmickey.skey, &param->u.crypt.key[16], 8); in wpa_set_encryption()
449 memcpy(psta->dot11tkiprxmickey.skey, &param->u.crypt.key[24], 8); in wpa_set_encryption()
457 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, min_t… in wpa_set_encryption()
458 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
459 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &param->u.crypt.key[… in wpa_set_encryption()
1712 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()
2243 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption()
2254 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c649 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption()
668 …memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.cry… in rtw_cfg80211_ap_set_encryption()
683 …memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.cry… in rtw_cfg80211_ap_set_encryption()
687 …memcpy(psecuritypriv->dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[16]), 8… in rtw_cfg80211_ap_set_encryption()
688 …memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8… in rtw_cfg80211_ap_set_encryption()
699 …memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.cry… in rtw_cfg80211_ap_set_encryption()
735 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_ap_set_encryption()
755 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_ap_set_encryption()
756 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_ap_set_encryption()
786 …memcpy(psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.cry… in rtw_cfg80211_ap_set_encryption()
[all …]
Dioctl_linux.c515 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
542 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption()
546 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption()
547 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption()
559 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in wpa_set_encryption()
562 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
563 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption()
575 …memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u… in wpa_set_encryption()
1998 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()
3528 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in rtw_set_encryption()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h467 unsigned long skey; in hpte_get_skey_perm() local
469 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
471 return (amr >> (62 - 2 * skey)) & 3; in hpte_get_skey_perm()
/kernel/linux/linux-5.10/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_security.h66 u8 skey[16]; member
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()
Drtl871x_ioctl_linux.c83 memcpy(psta->x_UncstKey.skey, param->u.crypt.key, in handle_pairwise_key()
86 memcpy(psta->tkiptxmickey. skey, in handle_pairwise_key()
88 memcpy(psta->tkiprxmickey. skey, in handle_pairwise_key()
107 memcpy(gk[param->u.crypt.idx - 1].skey, in handle_group_key()
111 memcpy(gtk[param->u.crypt.idx - 1].skey, in handle_group_key()
113 memcpy(grk[param->u.crypt.idx - 1].skey, in handle_group_key()
429 memcpy(&psecuritypriv->DefKey[wep_key_idx].skey[0], in wpa_set_encryption()
1623 memcpy(keybuf, dk[key].skey, in r8711_wx_get_enc()
Drtl871x_ioctl_set.c350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
Drtl871x_recv.c154 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic()
158 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_early.c81 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtw_security.h79 u8 skey[16]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c116 esw_vport_tbl_lookup(struct mlx5_eswitch *esw, struct mlx5_vport_key *skey, u32 key) in esw_vport_tbl_lookup() argument
121 if (!memcmp(&e->key, skey, sizeof(*skey))) in esw_vport_tbl_lookup()
154 struct mlx5_vport_key skey; in esw_vport_tbl_get() local
158 hkey = flow_attr_to_vport_key(esw, attr, &skey); in esw_vport_tbl_get()
159 e = esw_vport_tbl_lookup(esw, &skey, hkey); in esw_vport_tbl_get()
184 e->key = skey; in esw_vport_tbl_get()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_security.h85 u8 skey[16]; member

12