Home
last modified time | relevance | path

Searched refs:keyid (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/crypto/tegra/
H A Dtegra-se-key.c27 u16 keyid; in tegra_keyslot_alloc() local
36 keyid = ffz(tegra_se_keyslots); in tegra_keyslot_alloc()
37 tegra_se_keyslots |= BIT(keyid); in tegra_keyslot_alloc()
41 return keyid; in tegra_keyslot_alloc()
99 static bool tegra_key_in_kslt(u32 keyid) in tegra_key_in_kslt() argument
103 if (keyid > SE_MAX_KEYSLOT) in tegra_key_in_kslt()
107 ret = ((BIT(keyid) & SE_KEY_VALID_MASK) && in tegra_key_in_kslt()
108 (BIT(keyid) & tegra_se_keyslots)); in tegra_key_in_kslt()
125 void tegra_key_invalidate(struct tegra_se *se, u32 keyid, u32 alg) in tegra_key_invalidate() argument
129 if (!keyid) in tegra_key_invalidate()
[all …]
/linux/Documentation/driver-api/nvdimm/
H A Dsecurity.rst29 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 …]
/linux/include/trace/events/
H A Dtcp.h513 const __u8 keyid, const __u8 rnext, const __u8 maclen),
515 TP_ARGS(sk, skb, keyid, rnext, maclen),
538 __field(__u8, keyid)
567 __entry->keyid = keyid;
583 __entry->keyid, __entry->rnext, __entry->maclen)
588 const __u8 keyid, const __u8 rnext, const __u8 maclen),
589 TP_ARGS(sk, skb, keyid, rnext, maclen)
594 const __u8 keyid, const __u8 rnext, const __u8 maclen),
595 TP_ARGS(sk, skb, keyid, rnext, maclen)
600 const __u8 keyid, const __u8 rnext, const __u8 maclen),
[all …]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace-tcp.c44 int keyid; member
61 int keyid, int rnext, int maclen, int sne) in __trace_event_expect() argument
76 .keyid = keyid, in __trace_event_expect()
131 unsigned int keyid; member
177 if (p->keyid >= 0 && p->keyid != e->keyid) in lookup_expected_event()
321 &out->keyid, &out->rnext, &out->maclen); in tracer_scan_event()
330 &src, &dst, &out->keyid, &out->rnext); in tracer_scan_event()
435 e->keyid, e->rnext, e->maclen, e->sne, e->matched); in dump_trace_event()
H A Daolib.h702 int keyid, int rnext, int maclen, int sne);
723 int keyid, int rnext, int maclen) in trace_ao_event_expect() argument
730 keyid, rnext, maclen, -1); in trace_ao_event_expect()
738 int keyid, int rnext) in trace_ao_event_sk_expect() argument
745 keyid, rnext, -1, -1); in trace_ao_event_sk_expect()
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ioctl_set.c426 signed int keyid, res; in rtw_set_802_11_add_wep() local
430 keyid = wep->key_index & 0x3fffffff; in rtw_set_802_11_add_wep()
432 if (keyid >= 4) { in rtw_set_802_11_add_wep()
449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
451 psecuritypriv->dot11DefKeylen[keyid] = wep->key_length; in rtw_set_802_11_add_wep()
453 psecuritypriv->dot11PrivacyKeyIndex = keyid; in rtw_set_802_11_add_wep()
455 res = rtw_set_key(padapter, psecuritypriv, keyid, 1, true); in rtw_set_802_11_add_wep()
H A Drtw_security.c1400 u16 keyid = 0; in rtw_BIP_verify() local
1411 keyid = le16_to_cpu(le_tmp); in rtw_BIP_verify()
1412 if (keyid != padapter->securitypriv.dot11wBIPKeyid) in rtw_BIP_verify()
1554 signed int keyid; in rtw_sec_restore_wep_key() local
1557 for (keyid = 0; keyid < 4; keyid++) { in rtw_sec_restore_wep_key()
1558 if (securitypriv->key_mask & BIT(keyid)) { in rtw_sec_restore_wep_key()
1559 if (keyid == securitypriv->dot11PrivacyKeyIndex) in rtw_sec_restore_wep_key()
1560 rtw_set_key(adapter, securitypriv, keyid, 1, false); in rtw_sec_restore_wep_key()
1562 rtw_set_key(adapter, securitypriv, keyid, 0, false); in rtw_sec_restore_wep_key()
/linux/security/integrity/
H A Ddigsig_asymmetric.c22 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()
102 key = request_asymmetric_key(keyring, be32_to_cpu(hdr->keyid)); in asymmetric_verify()
/linux/drivers/nvdimm/
H A Dsecurity.c248 static int security_disable(struct nvdimm *nvdimm, unsigned int keyid, in security_disable() argument
273 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_disable()
296 static int security_update(struct nvdimm *nvdimm, unsigned int keyid, in security_update() argument
317 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_update()
346 static int security_erase(struct nvdimm *nvdimm, unsigned int keyid, in security_erase() argument
373 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_erase()
390 static int security_overwrite(struct nvdimm *nvdimm, unsigned int keyid) in security_overwrite() argument
409 data = nvdimm_get_user_key_payload(nvdimm, keyid, in security_overwrite()
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_ap.h25 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);
H A Drtw_cmd.h276 u8 keyid; member
294 u8 keyid; member
300 u8 keyid; member
/linux/Documentation/security/
H A Ddigsig.rst42 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
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c176 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_vxlan()
199 be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_vxlan()
201 be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_vxlan()
H A Dtc_tun_gre.c82 gre_key.key, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_gretap()
84 gre_key.key, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_gretap()
H A Dtc_tun_geneve.c141 if (!enc_keyid.mask->keyid) in mlx5e_tc_tun_parse_geneve_vni()
150 MLX5_SET(fte_match_set_misc, misc_c, geneve_vni, be32_to_cpu(enc_keyid.mask->keyid)); in mlx5e_tc_tun_parse_geneve_vni()
151 MLX5_SET(fte_match_set_misc, misc_v, geneve_vni, be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_geneve_vni()
/linux/net/core/
H A Dflow_dissector.c444 struct flow_dissector_key_keyid *keyid; in skb_flow_dissect_tunnel_info() local
446 keyid = skb_flow_dissector_target(flow_dissector, in skb_flow_dissect_tunnel_info()
449 keyid->keyid = tunnel_id_to_key32(key->tun_id); in skb_flow_dissect_tunnel_info()
564 key_keyid->keyid = cpu_to_be32(label); in __skb_flow_dissect_mpls()
693 const __be32 *keyid; in __skb_flow_dissect_gre() local
696 keyid = __skb_header_pointer(skb, *p_nhoff + offset, in __skb_flow_dissect_gre()
699 if (!keyid) in __skb_flow_dissect_gre()
708 key_keyid->keyid = *keyid; in __skb_flow_dissect_gre()
710 key_keyid->keyid = *keyid & GRE_PPTP_KEY_MASK; in __skb_flow_dissect_gre()
1991 keys->keyid.keyid = fl6->fl6_gre_key; in __get_hash_from_flowi6()
[all …]
/linux/security/keys/
H A Dkeyctl.c644 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()
H A Ddh.c18 static ssize_t dh_data_from_key(key_serial_t keyid, const void **data) in dh_data_from_key() argument
25 key_ref = lookup_user_key(keyid, 0, KEY_NEED_READ); in dh_data_from_key()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c462 vni = be32_to_cpu((match.key->keyid & match.mask->keyid)) << in nfp_flower_compile_tun_udp_key()
465 vni = be32_to_cpu(match.mask->keyid) << NFP_FL_TUN_VNI_OFFSET; in nfp_flower_compile_tun_udp_key()
478 *key |= match.key->keyid & match.mask->keyid; in nfp_flower_compile_tun_gre_key()
479 *key_msk |= match.mask->keyid; in nfp_flower_compile_tun_gre_key()
/linux/certs/
H A Ddefault_x509.genkey17 authorityKeyIdentifier=keyid
/linux/include/net/
H A Dflow_dissector.h117 __be32 keyid; member
412 struct flow_dissector_key_keyid keyid; member
/linux/include/linux/
H A Ddigsig.h40 uint8_t keyid[8]; member
/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.c312 struct keyid { in cca_genseckey() struct
316 } keyid[6]; in cca_genseckey() member
373 preqparm->lv2.keyid[i].len = sizeof(struct keyid); in cca_genseckey()
374 preqparm->lv2.keyid[i].attr = (i == 2 ? 0x30 : 0x10); in cca_genseckey()
454 struct keyid { in cca_clr2seckey() struct
458 } keyid; in cca_clr2seckey() member
512 plv2->keyid.len = sizeof(struct keyid); in cca_clr2seckey()
513 plv2->keyid.attr = 0x30; in cca_clr2seckey()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.h46 void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid,
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.h1016 u8 keyid; /* Unique per key identifier (0..3) */ member
1031 u8 keyid; /* Key ID */ member
1042 u8 keyid; /* Key ID */ member
1048 u8 keyid; /* Key ID */ member
1056 u8 keyid; /* Key ID */ member

123