/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | vporttbl.c | 61 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-6.3-rc2/arch/s390/include/asm/ |
A D | page.h | 129 unsigned char skey, int mapped) in page_set_storage_key() argument 133 : : "d" (skey), "a" (addr)); in page_set_storage_key() 135 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key() 140 unsigned char skey; in page_get_storage_key() local 142 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key() 143 return skey; in page_get_storage_key()
|
A D | sclp.h | 43 u8 skey : 1; member
|
/linux-6.3-rc2/net/tipc/ |
A D | crypto.c | 376 skey->keylen); in tipc_aead_key_generate() 1213 kfree(rx->skey); in tipc_crypto_key_flush() 1214 rx->skey = NULL; in tipc_crypto_key_flush() 2254 skey->keylen); in tipc_crypto_key_xmit() 2310 if (unlikely(!skey)) { in tipc_crypto_key_rcv() 2319 skey->keylen); in tipc_crypto_key_rcv() 2323 rx->skey = skey; in tipc_crypto_key_rcv() 2374 if (rx->skey) { in tipc_crypto_work_rx() 2387 kfree(rx->skey); in tipc_crypto_work_rx() 2388 rx->skey = NULL; in tipc_crypto_work_rx() [all …]
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/ |
A D | ioctl_linux.c | 130 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption() 161 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption() 162 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption() 534 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() 535 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() 536 char *grpkey = psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_set_encryption() 615 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption() 624 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption() 653 …memcpy(psecuritypriv->dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key[24]), 8… in rtw_set_encryption() 699 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_set_encryption() [all …]
|
A D | ioctl_cfg80211.c | 508 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() 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() 804 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_set_encryption() 805 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_set_encryption() 815 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in rtw_cfg80211_set_encryption() [all …]
|
/linux-6.3-rc2/drivers/nvme/common/ |
A D | auth.c | 305 static int nvme_auth_hash_skey(int hmac_id, u8 *skey, size_t skey_len, u8 *hkey) in nvme_auth_hash_skey() argument 321 ret = crypto_shash_tfm_digest(tfm, skey, skey_len, hkey); in nvme_auth_hash_skey() 330 int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len, in nvme_auth_augmented_challenge() argument 343 ret = nvme_auth_hash_skey(hmac_id, skey, in nvme_auth_augmented_challenge()
|
/linux-6.3-rc2/arch/s390/mm/ |
A D | pgtable.c | 177 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() 860 unsigned long bits, skey; in set_guest_storage_key() local 863 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key() 864 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key() 865 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key() 867 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
|
A D | pageattr.c | 15 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-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_security.c | 67 …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 D | rtw_xmit.c | 478 memset(pattrib->dot118021x_UncstKey.skey, 0, 16); in update_attrib_sec_info() 479 memset(pattrib->dot11tkiptxmickey.skey, 0, 16); in update_attrib_sec_info() 536 memcpy(pattrib->dot11tkiptxmickey.skey, psta->dot11tkiptxmickey.skey, 16); in update_attrib_sec_info() 559 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in update_attrib_sec_info() 780 …if (!memcmp(psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey, null_key… in xmitframe_addmic() 783 …cmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid].skey); in xmitframe_addmic() 785 if (!memcmp(&pattrib->dot11tkiptxmickey.skey[0], null_key, 16)) in xmitframe_addmic() 788 rtw_secmicsetkey(&micdata, &pattrib->dot11tkiptxmickey.skey[0]); in xmitframe_addmic() 1214 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce() 1245 memcpy(pattrib->dot118021x_UncstKey.skey, psta->dot118021x_UncstKey.skey, 16); in rtw_mgmt_xmitframe_coalesce()
|
A D | rtw_ioctl_set.c | 450 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
|
/linux-6.3-rc2/include/linux/ |
A D | nvme-auth.h | 32 int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len,
|
A D | sysfs.h | 36 struct lock_class_key skey; member
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | kvm_book3s_64.h | 468 unsigned long skey; in hpte_get_skey_perm() local 470 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm() 472 return (amr >> (62 - 2 * skey)) & 3; in hpte_get_skey_perm()
|
/linux-6.3-rc2/drivers/staging/rtl8712/ |
A D | rtl871x_security.c | 175 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_encrypt() 230 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_decrypt() 587 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt() 670 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_tkip_decrypt() 674 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt() 1158 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_encrypt() 1364 ((idx >> 6) & 0x3) - 1].skey[0]; in r8712_aes_decrypt() 1369 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_aes_decrypt()
|
A D | rtl871x_security.h | 66 u8 skey[16]; member
|
A D | rtl871x_xmit.c | 371 [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 D | rtl871x_ioctl_linux.c | 81 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 D | rtl871x_ioctl_set.c | 349 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
|
A D | rtl871x_recv.c | 157 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic() 161 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
|
/linux-6.3-rc2/drivers/s390/char/ |
A D | sclp_early.c | 94 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/ |
A D | rtw_security.h | 83 u8 skey[16]; member
|
/linux-6.3-rc2/fs/sysfs/ |
A D | file.c | 291 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-6.3-rc2/net/mac802154/ |
A D | llsec.c | 354 u32 skey = llsec_dev_hash_short(dev->short_addr, dev->pan_id); in mac802154_llsec_dev_add() local 373 hash_add_rcu(sec->devices_short, &entry->bucket_s, skey); in mac802154_llsec_dev_add()
|