/linux-6.1.9/lib/ |
D | test_objagg.c | 18 static int key_id_index(unsigned int key_id) in key_id_index() argument 20 if (key_id >= NUM_KEYS) { in key_id_index() 24 return key_id; in key_id_index() 48 unsigned int key_id) in world_obj_get() argument 54 key.id = key_id; in world_obj_get() 57 pr_err("Key %u: Failed to get object.\n", key_id); in world_obj_get() 60 if (!world->key_refs[key_id_index(key_id)]) { in world_obj_get() 61 world->objagg_objs[key_id_index(key_id)] = objagg_obj; in world_obj_get() 62 } else if (world->objagg_objs[key_id_index(key_id)] != objagg_obj) { in world_obj_get() 64 key_id); in world_obj_get() [all …]
|
/linux-6.1.9/net/sctp/ |
D | auth.c | 79 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp) in sctp_auth_shkey_create() argument 90 new->key_id = key_id; in sctp_auth_shkey_create() 363 new = sctp_auth_shkey_create(sh_key->key_id, gfp); in sctp_auth_asoc_copy_shkeys() 431 __u16 key_id) in sctp_auth_get_shkey() argument 437 if (key->key_id == key_id) { in sctp_auth_get_shkey() 713 __u16 key_id, hmac_id; in sctp_auth_calculate_hmac() local 722 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac() 725 if (key_id == asoc->active_key_id) in sctp_auth_calculate_hmac() 840 if (shkey->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key() 882 __u16 key_id) in sctp_auth_set_active_key() argument [all …]
|
/linux-6.1.9/include/net/sctp/ |
D | auth.h | 52 __u16 key_id; member 71 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp); 76 __u16 key_id); 105 struct sctp_association *asoc, __u16 key_id); 107 struct sctp_association *asoc, __u16 key_id); 109 struct sctp_association *asoc, __u16 key_id);
|
/linux-6.1.9/include/net/ |
D | flow_dissector.h | 342 enum flow_dissector_key_id key_id; member 406 enum flow_dissector_key_id key_id) in dissector_uses_key() argument 408 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key() 412 enum flow_dissector_key_id key_id, in skb_flow_dissector_target() argument 415 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_txrx.c | 25 u32 key_id, u32 resync_tcp_sn) in fill_static_params() argument 70 MLX5_SET(tls_static_params, ctx, dek_index, key_id); in fill_static_params() 77 u32 tis_tir_num, u32 key_id, u32 resync_tcp_sn, in mlx5e_ktls_build_static_params() argument 97 fill_static_params(&wqe->params, crypto_info, key_id, resync_tcp_sn); in mlx5e_ktls_build_static_params()
|
D | ktls.c | 43 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_ktls_destroy_key() argument 45 mlx5_destroy_encryption_key(mdev, key_id); in mlx5_ktls_destroy_key()
|
D | ktls_rx.c | 53 u32 key_id; member 151 priv_rx->key_id, priv_rx->resync.seq, false, in post_static_params() 624 err = mlx5_ktls_create_key(mdev, crypto_info, &priv_rx->key_id); in mlx5e_ktls_add_rx() 676 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_add_rx() 710 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_del_rx()
|
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | key.c | 47 msg->key_id = key->keyidx; in fill_wep_group() 76 msg->key_id = key->keyidx; in fill_tkip_group() 106 msg->key_id = key->keyidx; in fill_ccmp_group() 121 msg->key_id = key->keyidx; in fill_sms4_pair() 135 msg->key_id = key->keyidx; in fill_sms4_group() 146 msg->key_id = key->keyidx; in fill_aes_cmac_group()
|
D | hif_api_cmd.h | 439 u8 key_id; member 456 u8 key_id; member 469 u8 key_id; member 476 u8 key_id; member 485 u8 key_id; member 491 u8 key_id; member
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_lookup_key.c | 18 __u32 key_id; variable 38 bkey = bpf_lookup_system_key(key_id); in BPF_PROG()
|
/linux-6.1.9/net/core/ |
D | flow_dissector.c | 40 enum flow_dissector_key_id key_id) in dissector_set_key() argument 42 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key() 59 key->key_id)); in skb_flow_dissector_init() 61 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init() 62 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init() 1871 .key_id = FLOW_DISSECTOR_KEY_CONTROL, 1875 .key_id = FLOW_DISSECTOR_KEY_BASIC, 1879 .key_id = FLOW_DISSECTOR_KEY_IPV4_ADDRS, 1883 .key_id = FLOW_DISSECTOR_KEY_IPV6_ADDRS, 1887 .key_id = FLOW_DISSECTOR_KEY_TIPC, [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | verify_sig_setup.sh | 49 key_id=$(cat ${tmp_dir}/signing_key.der | keyctl padd asymmetric ebpf_testing_key @s) 52 keyctl link $key_id $keyring_id
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | lookup_key.c | 98 skel->bss->key_id = 1; in test_lookup_key() 104 skel->bss->key_id = UINT32_MAX; in test_lookup_key()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.c | 61 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_destroy_encryption_key() argument 70 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, key_id); in mlx5_destroy_encryption_key()
|
D | mlx5.h | 92 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id);
|
/linux-6.1.9/net/mac802154/ |
D | llsec.c | 411 if (!llsec_key_id_equal(key, &devkey->key_id)) in llsec_devkey_find() 433 if (llsec_devkey_find(dev, &key->key_id)) in mac802154_llsec_devkey_add() 457 devkey = llsec_devkey_find(dev, &key->key_id); in mac802154_llsec_devkey_del() 545 struct ieee802154_llsec_key_id *key_id) in llsec_lookup_key() argument 575 if (id->id != hdr->sec.key_id) in llsec_lookup_key() 591 if (key_id) in llsec_lookup_key() 592 *key_id = key_entry->id; in llsec_lookup_key() 921 next->devkey.key_id = *in_key; in llsec_update_devkey_record() 979 struct ieee802154_llsec_key_id key_id; in mac802154_llsec_decrypt() local 1002 key = llsec_lookup_key(sec, &hdr, &hdr.source, &key_id); in mac802154_llsec_decrypt() [all …]
|
D | rx.c | 169 pr_debug("key %02x\n", hdr->sec.key_id); in ieee802154_parse_frame_start() 176 hdr->sec.key_id); in ieee802154_parse_frame_start() 182 hdr->sec.key_id); in ieee802154_parse_frame_start()
|
/linux-6.1.9/security/keys/ |
D | internal.h | 193 .key_id = key_serial(key), in notify_key() 198 n.key_id); in notify_key() 351 static inline long keyctl_watch_key(key_serial_t key_id, int watch_fd, int watch_id) in keyctl_watch_key() argument
|
/linux-6.1.9/net/sched/ |
D | act_tunnel_key.c | 370 __be64 key_id = 0; in tunnel_key_init() local 412 key_id = key32_to_tunnel_id(key32); in tunnel_key_init() 450 key_id, opts_len); in tunnel_key_init() 461 key_id, opts_len); in tunnel_key_init() 737 __be32 key_id = tunnel_id_to_key32(key->tun_id); in tunnel_key_dump() local 740 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_KEY_ID, key_id)) || in tunnel_key_dump()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 443 __le32 key_id; member 460 __le32 key_id; member
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | eap_packet.h | 48 unsigned char key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
|
/linux-6.1.9/include/uapi/linux/ |
D | watch_queue.h | 100 __u32 key_id; /* The key/keyring affected */ member
|
D | keyctl.h | 109 __s32 key_id; /* Serial no. of public key to use */ member
|
/linux-6.1.9/net/mac80211/ |
D | wpa.c | 394 static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) in ccmp_pn2hdr() argument 399 hdr[3] = 0x20 | (key_id << 6); in ccmp_pn2hdr() 597 static inline void gcmp_pn2hdr(u8 *hdr, const u8 *pn, int key_id) in gcmp_pn2hdr() argument 602 hdr[3] = 0x20 | (key_id << 6); in gcmp_pn2hdr() 847 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_encrypt() 894 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_256_encrypt() 1039 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_gmac_encrypt()
|
/linux-6.1.9/net/ieee802154/ |
D | header_ops.c | 72 buf[pos++] = hdr->key_id; in ieee802154_hdr_push_sechdr() 186 hdr->key_id = buf[pos++]; in ieee802154_hdr_get_sechdr()
|