/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | vporttbl.c | 69 esw_vport_tbl_lookup(struct mlx5_eswitch *esw, struct mlx5_vport_key *skey, u32 key) in esw_vport_tbl_lookup() argument 74 if (!memcmp(&e->key, skey, sizeof(*skey))) in esw_vport_tbl_lookup() 87 struct mlx5_vport_key skey; in mlx5_esw_vporttbl_get() local 92 hkey = flow_attr_to_vport_key(esw, attr, &skey); in mlx5_esw_vporttbl_get() 93 e = esw_vport_tbl_lookup(esw, &skey, hkey); in mlx5_esw_vporttbl_get() 118 e->key = skey; in mlx5_esw_vporttbl_get()
|
/linux-6.6.21/arch/s390/include/asm/ |
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()
|
D | sclp.h | 43 u8 skey : 1; member
|
/linux-6.6.21/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() 2229 static int tipc_crypto_key_xmit(struct net *net, struct tipc_aead_key *skey, in tipc_crypto_key_xmit() argument [all …]
|
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 128 memcpy(&psecuritypriv->dot11DefKey[wep_key_idx].skey[0], pwep->key_material, pwep->key_length); in wpa_set_encryption() 155 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption() 159 memcpy(psta->dot11tkiptxmickey.skey, ¶m->u.crypt.key[16], 8); in wpa_set_encryption() 160 memcpy(psta->dot11tkiprxmickey.skey, ¶m->u.crypt.key[24], 8); in wpa_set_encryption() 169 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in wpa_set_encryption() 172 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, ¶m->u.crypt.key[… in wpa_set_encryption() 173 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, ¶m->u.crypt.key[… in wpa_set_encryption() 183 …memcpy(padapter->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u… in wpa_set_encryption() 523 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() 524 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_set_encryption() [all …]
|
D | ioctl_cfg80211.c | 503 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 504 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 505 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 560 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption() 621 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_ap_set_encryption() 632 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_ap_set_encryption() 633 memcpy(psta->dot11tkiprxmickey.skey, &(param->u.crypt.key[24]), 8); in rtw_cfg80211_ap_set_encryption() 759 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_set_encryption() 786 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in rtw_cfg80211_set_encryption() 790 memcpy(psta->dot11tkiptxmickey.skey, &(param->u.crypt.key[16]), 8); in rtw_cfg80211_set_encryption() [all …]
|
/linux-6.6.21/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.6.21/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() 862 unsigned long bits, skey; in set_guest_storage_key() local 865 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key() 866 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key() 867 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key() 869 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
|
D | pageattr.c | 17 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() argument 20 : [addr] "+a" (addr) : [skey] "d" (skey)); in sske_frame()
|
/linux-6.6.21/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()
|
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.6.21/include/linux/ |
D | nvme-auth.h | 32 int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len,
|
D | sysfs.h | 36 struct lock_class_key skey; member
|
/linux-6.6.21/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.6.21/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 | 396 [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()
|
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 | 157 6) & 0x3)) - 1].skey[0]; in r8712_recvframe_chkmic() 161 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
|
/linux-6.6.21/drivers/s390/char/ |
D | sclp_early.c | 95 sclp.has_skey = cpue->skey; in sclp_early_facilities_detect()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | rtw_security.h | 83 u8 skey[16]; member
|
/linux-6.6.21/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.6.21/net/mac802154/ |
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()
|