/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
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.1.9/arch/s390/include/asm/ |
D | page.h | 130 unsigned char skey, int mapped) in page_set_storage_key() argument 134 : : "d" (skey), "a" (addr)); in page_set_storage_key() 136 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key() 141 unsigned char skey; in page_get_storage_key() local 143 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key() 144 return skey; in page_get_storage_key()
|
D | sclp.h | 43 u8 skey : 1; member
|
/linux-6.1.9/net/tipc/ |
D | crypto.c | 211 struct tipc_aead_key *skey; member 303 static int tipc_crypto_key_xmit(struct net *net, struct tipc_aead_key *skey, 308 static int tipc_aead_key_generate(struct tipc_aead_key *skey); 368 static int tipc_aead_key_generate(struct tipc_aead_key *skey) in tipc_aead_key_generate() argument 375 rc = crypto_rng_get_bytes(crypto_default_rng, skey->key, in tipc_aead_key_generate() 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() 1869 rx->nokey = !(rx->skey || in tipc_crypto_rcv() 2228 static int tipc_crypto_key_xmit(struct net *net, struct tipc_aead_key *skey, in tipc_crypto_key_xmit() argument [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 129 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption() 156 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption() 160 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in wpa_set_encryption() 161 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in wpa_set_encryption() 170 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in wpa_set_encryption() 173 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption() 174 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in wpa_set_encryption() 184 …memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u… in wpa_set_encryption() 533 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() 534 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() [all …]
|
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() 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() 768 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_set_encryption() 796 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_set_encryption() 800 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_set_encryption() [all …]
|
/linux-6.1.9/drivers/nvme/common/ |
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.1.9/arch/s390/mm/ |
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() 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()
|
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.1.9/drivers/staging/r8188eu/core/ |
D | rtw_security.c | 47 …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() 550 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_tkip_decrypt() 552 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt() 1123 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_aes_encrypt() 1125 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_encrypt() 1359 prwskey = psecuritypriv->dot118021XGrpKey[prxattrib->key_index].skey; in rtw_aes_decrypt() 1365 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
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 …]
|
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()
|
/linux-6.1.9/include/linux/ |
D | nvme-auth.h | 32 int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len,
|
/linux-6.1.9/arch/powerpc/include/asm/ |
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.1.9/drivers/staging/rtl8712/ |
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()
|
D | rtl871x_security.h | 66 u8 skey[16]; member
|
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()
|
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()
|
D | rtl871x_ioctl_set.c | 349 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
|
D | rtl871x_recv.c | 155 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic() 159 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtw_security.h | 70 u8 skey[16]; member
|
/linux-6.1.9/drivers/s390/char/ |
D | sclp_early.c | 92 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | rtw_security.h | 83 u8 skey[16]; member
|
/linux-6.1.9/fs/sysfs/ |
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.1.9/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 432 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption() 456 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : pa… in wpa_set_encryption() 459 memcpy(psta->dot11tkiptxmickey.skey, ¶m->u.crypt.key[16], 8); in wpa_set_encryption() 460 memcpy(psta->dot11tkiprxmickey.skey, ¶m->u.crypt.key[24], 8); in wpa_set_encryption() 466 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (par… in wpa_set_encryption() 467 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, ¶m->u.crypt.key[… in wpa_set_encryption() 468 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, ¶m->u.crypt.key[… in wpa_set_encryption() 1669 …memcpy(keybuf, padapter->securitypriv.dot11DefKey[key].skey, padapter->securitypriv.dot11DefKeylen… in rtw_wx_get_enc()
|