/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 118 static int chtls_set_tcb_keyid(struct sock *sk, int keyid) in chtls_set_tcb_keyid() argument 120 return chtls_set_tcb_field(sk, 31, 0xFFFFFFFFULL, keyid); in chtls_set_tcb_keyid() 184 int keyid; in get_new_keyid() local 190 keyid = find_first_zero_bit(cdev->kmap.addr, cdev->kmap.size); in get_new_keyid() 191 if (keyid < cdev->kmap.size) { in get_new_keyid() 192 __set_bit(keyid, cdev->kmap.addr); in get_new_keyid() 194 hws->rxkey = keyid; in get_new_keyid() 196 hws->txkey = keyid; in get_new_keyid() 199 keyid = -1; in get_new_keyid() 202 return keyid; in get_new_keyid() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 472 int keyid, res; in rtw_set_802_11_add_wep() local 476 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 478 if (keyid >= 4) { in rtw_set_802_11_add_wep() 500 wep->KeyLength, wep->KeyIndex, keyid)); in rtw_set_802_11_add_wep() 502 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], in rtw_set_802_11_add_wep() 505 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep() 507 psecuritypriv->dot11PrivacyKeyIndex = keyid; 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() [all …]
|
D | rtw_pwrctrl.c | 160 int keyid; in ips_leave() local 179 for (keyid = 0; keyid < 4; keyid++) { in ips_leave() 180 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave() 181 if (keyid == psecuritypriv->dot11PrivacyKeyIndex) in ips_leave() 182 result = rtw_set_key(padapter, psecuritypriv, keyid, 1); in ips_leave() 184 result = rtw_set_key(padapter, psecuritypriv, keyid, 0); in ips_leave()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 578 sint keyid, res; in rtw_set_802_11_add_wep() local 582 keyid = wep->KeyIndex & 0x3fffffff; in rtw_set_802_11_add_wep() 584 if (keyid >= 4) { in rtw_set_802_11_add_wep() 607 wep->KeyLength, wep->KeyIndex, keyid)); in rtw_set_802_11_add_wep() 609 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep() 611 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep() 613 psecuritypriv->dot11PrivacyKeyIndex = keyid; in rtw_set_802_11_add_wep() 616 …psecuritypriv->dot11DefKey[keyid].skey[0], psecuritypriv->dot11DefKey[keyid].skey[1], psecuritypri… in rtw_set_802_11_add_wep() 617 …psecuritypriv->dot11DefKey[keyid].skey[3], psecuritypriv->dot11DefKey[keyid].skey[4], psecuritypri… in rtw_set_802_11_add_wep() 618 …psecuritypriv->dot11DefKey[keyid].skey[6], psecuritypriv->dot11DefKey[keyid].skey[7], psecuritypri… in rtw_set_802_11_add_wep() [all …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/nvdimm/ |
D | security.rst | 29 disable <keyid> - disable enabled security and remove key. 31 erase <keyid> - delete existing user encryption key. 32 overwrite <keyid> - wipe the entire nvdimm. 33 master_update <keyid> <new_keyid> - enable or update master passphrase. 34 master_erase <keyid> - delete existing user encryption key. 74 keyid when doing the update operation. It is also expected that the new key 78 update <old keyid> <new keyid> 80 If there is no old keyid due to a security enabling, then a 0 should be 91 disable <keyid> 99 erase <keyid> [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 333 sint keyid; in r8712_set_802_11_add_wep() local 336 keyid = wep->KeyIndex & 0x3fffffff; in r8712_set_802_11_add_wep() 337 if (keyid >= WEP_KEYS) in r8712_set_802_11_add_wep() 350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() 352 psecuritypriv->DefKeylen[keyid] = wep->KeyLength; in r8712_set_802_11_add_wep() 353 psecuritypriv->PrivacyKeyIndex = keyid; in r8712_set_802_11_add_wep() 354 return r8712_set_key(padapter, psecuritypriv, keyid); in r8712_set_802_11_add_wep()
|
D | rtl871x_mlme.c | 1175 sint keyid) in r8712_set_key() argument 1198 psetkeyparm->keyid = (u8)keyid; in r8712_set_key() 1204 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key() 1209 psecuritypriv->DefKey[keyid].skey, keylen); in r8712_set_key() 1212 if (keyid < 1 || keyid > 2) { in r8712_set_key() 1218 &psecuritypriv->XGrpKey[keyid - 1], keylen); in r8712_set_key() 1222 if (keyid < 1 || keyid > 2) { in r8712_set_key() 1228 &psecuritypriv->XGrpKey[keyid - 1], keylen); in r8712_set_key()
|
/kernel/linux/linux-5.10/security/integrity/ |
D | digsig_asymmetric.c | 22 static struct key *request_asymmetric_key(struct key *keyring, uint32_t keyid) in request_asymmetric_key() argument 27 sprintf(name, "id:%08x", keyid); in request_asymmetric_key() 101 key = request_asymmetric_key(keyring, be32_to_cpu(hdr->keyid)); in asymmetric_verify()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | security.c | 242 static int security_disable(struct nvdimm *nvdimm, unsigned int keyid) in security_disable() argument 261 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_disable() 275 static int security_update(struct nvdimm *nvdimm, unsigned int keyid, in security_update() argument 296 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_update() 325 static int security_erase(struct nvdimm *nvdimm, unsigned int keyid, in security_erase() argument 352 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_erase() 367 static int security_overwrite(struct nvdimm *nvdimm, unsigned int keyid) in security_overwrite() argument 386 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_overwrite()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_vxlan.c | 122 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_vxlan() 137 be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_vxlan() 139 be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_vxlan()
|
D | tc_tun_gre.c | 78 gre_key.key, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_gretap() 80 gre_key.key, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_gretap()
|
D | tc_tun_geneve.c | 140 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_geneve_vni() 149 MLX5_SET(fte_match_set_misc, misc_c, geneve_vni, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_geneve_vni() 150 MLX5_SET(fte_match_set_misc, misc_v, geneve_vni, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_geneve_vni()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
D | rtw_ap.h | 25 int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid); 26 int rtw_ap_set_wep_key(struct adapter *padapter, u8 *key, u8 keylen, int keyid, u8 set_tx);
|
/kernel/linux/linux-5.10/Documentation/security/ |
D | digsig.rst | 42 uint8_t keyid[8]; 47 keyid equals to SHA1[12-19] over the total key content. 84 When the key is added to the kernel keyring, the keyid defines the name
|
/kernel/linux/linux-5.10/net/core/ |
D | flow_dissector.c | 341 struct flow_dissector_key_keyid *keyid; in skb_flow_dissect_tunnel_info() local 343 keyid = skb_flow_dissector_target(flow_dissector, in skb_flow_dissect_tunnel_info() 346 keyid->keyid = tunnel_id_to_key32(key->tun_id); in skb_flow_dissect_tunnel_info() 453 key_keyid->keyid = cpu_to_be32(label); in __skb_flow_dissect_mpls() 557 const __be32 *keyid; in __skb_flow_dissect_gre() local 560 keyid = __skb_header_pointer(skb, *p_nhoff + offset, in __skb_flow_dissect_gre() 563 if (!keyid) in __skb_flow_dissect_gre() 572 key_keyid->keyid = *keyid; in __skb_flow_dissect_gre() 574 key_keyid->keyid = *keyid & GRE_PPTP_KEY_MASK; in __skb_flow_dissect_gre() 1712 keys->keyid.keyid = fl6->fl6_gre_key; in __get_hash_from_flowi6() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | tkip.c | 247 u8 rc4key[16], keyid, *pos = payload; in ieee80211_tkip_decrypt_data() local 256 keyid = pos[3]; in ieee80211_tkip_decrypt_data() 260 if (!(keyid & (1 << 5))) in ieee80211_tkip_decrypt_data() 263 if ((keyid >> 6) != key->conf.keyidx) in ieee80211_tkip_decrypt_data()
|
/kernel/linux/linux-5.10/security/keys/ |
D | keyctl.c | 644 long keyctl_describe_key(key_serial_t keyid, in keyctl_describe_key() argument 654 key_ref = lookup_user_key(keyid, KEY_LOOKUP_PARTIAL, KEY_NEED_VIEW); in keyctl_describe_key() 659 instkey = key_get_instantiation_authkey(keyid); in keyctl_describe_key() 662 key_ref = lookup_user_key(keyid, in keyctl_describe_key() 825 long keyctl_read_key(key_serial_t keyid, char __user *buffer, size_t buflen) in keyctl_read_key() argument 834 key_ref = lookup_user_key(keyid, 0, KEY_DEFER_PERM_CHECK); in keyctl_read_key() 1561 long keyctl_get_security(key_serial_t keyid, in keyctl_get_security() argument 1570 key_ref = lookup_user_key(keyid, KEY_LOOKUP_PARTIAL, KEY_NEED_VIEW); in keyctl_get_security() 1577 instkey = key_get_instantiation_authkey(keyid); in keyctl_get_security() 1582 key_ref = lookup_user_key(keyid, KEY_LOOKUP_PARTIAL, in keyctl_get_security()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | intel_pconfig.h | 43 u16 keyid; member
|
/kernel/linux/linux-5.10/include/net/ |
D | flow_dissector.h | 101 __be32 keyid; member 316 struct flow_dissector_key_keyid keyid; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | digsig.h | 40 uint8_t keyid[8]; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
D | rtw_cmd.h | 155 u8 keyid; member 183 u8 keyid; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.h | 46 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid,
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_ccamisc.c | 317 struct keyid { in cca_genseckey() struct 321 } keyid[6]; in cca_genseckey() member 378 preqparm->lv2.keyid[i].len = sizeof(struct keyid); in cca_genseckey() 379 preqparm->lv2.keyid[i].attr = (i == 2 ? 0x30 : 0x10); in cca_genseckey() 457 struct keyid { in cca_clr2seckey() struct 461 } keyid; in cca_clr2seckey() member 517 plv2->keyid.len = sizeof(struct keyid); in cca_clr2seckey() 518 plv2->keyid.attr = 0x30; in cca_clr2seckey()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | atmel-i2c.c | 88 void atmel_i2c_init_genkey_cmd(struct atmel_i2c_cmd *cmd, u16 keyid) in atmel_i2c_init_genkey_cmd() argument 95 cmd->param2 = cpu_to_le16(keyid); in atmel_i2c_init_genkey_cmd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 386 vni = be32_to_cpu(match.key->keyid) << NFP_FL_TUN_VNI_OFFSET; in nfp_flower_compile_tun_udp_key() 388 vni = be32_to_cpu(match.mask->keyid) << NFP_FL_TUN_VNI_OFFSET; in nfp_flower_compile_tun_udp_key() 401 *key = match.key->keyid; in nfp_flower_compile_tun_gre_key() 402 *key_msk = match.mask->keyid; in nfp_flower_compile_tun_gre_key()
|