/linux-6.12.1/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.12.1/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.12.1/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.12.1/include/net/ |
D | flow_dissector.h | 389 enum flow_dissector_key_id key_id; member 456 enum flow_dissector_key_id key_id) in dissector_uses_key() argument 458 return flow_dissector->used_keys & (1ULL << key_id); in dissector_uses_key() 462 enum flow_dissector_key_id key_id, in skb_flow_dissector_target() argument 465 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
|
/linux-6.12.1/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()
|
/linux-6.12.1/fs/bcachefs/ |
D | checksum.c | 552 key_serial_t key_id; in __bch2_request_key() local 554 key_id = request_key("user", key_description, NULL, in __bch2_request_key() 556 if (key_id >= 0) in __bch2_request_key() 559 key_id = request_key("user", key_description, NULL, in __bch2_request_key() 561 if (key_id >= 0) in __bch2_request_key() 564 key_id = request_key("user", key_description, NULL, in __bch2_request_key() 566 if (key_id >= 0) in __bch2_request_key() 572 if (keyctl_read(key_id, (void *) key, sizeof(*key)) != sizeof(*key)) in __bch2_request_key() 611 key_serial_t key_id; in bch2_revoke_key() local 617 key_id = request_key("user", key_description.buf, NULL, KEY_SPEC_USER_KEYRING); in bch2_revoke_key() [all …]
|
/linux-6.12.1/drivers/nvme/common/ |
D | keyring.c | 29 struct key *nvme_tls_key_lookup(key_serial_t key_id) in nvme_tls_key_lookup() argument 31 struct key *key = key_lookup(key_id); in nvme_tls_key_lookup() 34 pr_err("key id %08x not found\n", key_id); in nvme_tls_key_lookup() 38 pr_err("key id %08x revoked\n", key_id); in nvme_tls_key_lookup()
|
/linux-6.12.1/include/linux/ |
D | nvme-keyring.h | 15 struct key *nvme_tls_key_lookup(key_serial_t key_id); 27 static inline struct key *nvme_tls_key_lookup(key_serial_t key_id) in nvme_tls_key_lookup() argument
|
/linux-6.12.1/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.12.1/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.12.1/net/core/ |
D | flow_dissector.c | 41 enum flow_dissector_key_id key_id) in dissector_set_key() argument 43 flow_dissector->used_keys |= (1ULL << key_id); in dissector_set_key() 60 key->key_id)); in skb_flow_dissector_init() 62 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init() 63 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init() 2001 .key_id = FLOW_DISSECTOR_KEY_CONTROL, 2005 .key_id = FLOW_DISSECTOR_KEY_BASIC, 2009 .key_id = FLOW_DISSECTOR_KEY_IPV4_ADDRS, 2013 .key_id = FLOW_DISSECTOR_KEY_IPV6_ADDRS, 2017 .key_id = FLOW_DISSECTOR_KEY_TIPC, [all …]
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | sample_filter.bpf.c | 224 __u64 *key_id; in perf_sample_filter() local 231 key_id = bpf_map_lookup_elem(&event_hash, &eid); in perf_sample_filter() 232 if (key_id == NULL) in perf_sample_filter() 235 key.evt_id = *key_id; in perf_sample_filter()
|
/linux-6.12.1/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.12.1/net/mac802154/ |
D | llsec.c | 419 if (!llsec_key_id_equal(key, &devkey->key_id)) in llsec_devkey_find() 441 if (llsec_devkey_find(dev, &key->key_id)) in mac802154_llsec_devkey_add() 465 devkey = llsec_devkey_find(dev, &key->key_id); in mac802154_llsec_devkey_del() 553 struct ieee802154_llsec_key_id *key_id) in llsec_lookup_key() argument 583 if (id->id != hdr->sec.key_id) in llsec_lookup_key() 599 if (key_id) in llsec_lookup_key() 600 *key_id = key_entry->id; in llsec_lookup_key() 932 next->devkey.key_id = *in_key; in llsec_update_devkey_record() 990 struct ieee802154_llsec_key_id key_id; in mac802154_llsec_decrypt() local 1013 key = llsec_lookup_key(sec, &hdr, &hdr.source, &key_id); in mac802154_llsec_decrypt() [all …]
|
/linux-6.12.1/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.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | datapath.h | 669 __le32 key_id; member 680 __le32 key_id; member 685 __le32 key_id; member
|
D | sta.h | 445 __le32 key_id; member 462 __le32 key_id; member
|
/linux-6.12.1/drivers/nvme/host/ |
D | fabrics.c | 659 static struct key *nvmf_parse_key(int key_id) in nvmf_parse_key() argument 668 key = nvme_tls_key_lookup(key_id); in nvmf_parse_key() 670 pr_err("key id %08x not found\n", key_id); in nvmf_parse_key() 672 pr_debug("Using key id %08x\n", key_id); in nvmf_parse_key() 720 int ctrl_loss_tmo = NVMF_DEF_CTRL_LOSS_TMO, key_id; in nvmf_parse_options() local 992 if (match_int(args, &key_id) || key_id <= 0) { in nvmf_parse_options() 996 key = nvmf_parse_key(key_id); in nvmf_parse_options() 1005 if (match_int(args, &key_id) || key_id <= 0) { in nvmf_parse_options() 1009 key = nvmf_parse_key(key_id); in nvmf_parse_options()
|
/linux-6.12.1/drivers/crypto/tegra/ |
D | tegra-se-aes.c | 47 u32 key_id; member 61 u32 key_id; member 69 u32 key_id; member 82 u32 key_id; member 718 SE_AES_KEY_INDEX(ctx->key_id); in tegra_gcm_do_gmac() 735 SE_AES_KEY_INDEX(ctx->key_id); in tegra_gcm_do_crypt() 758 SE_AES_KEY_INDEX(ctx->key_id); in tegra_gcm_do_final() 889 SE_AES_KEY_INDEX(ctx->key_id); in tegra_ccm_do_cbcmac() 1076 SE_AES_KEY_INDEX(ctx->key_id); in tegra_ccm_do_ctr() 1299 ctx->key_id = 0; in tegra_aead_cra_init() [all …]
|
D | tegra-se-hash.c | 28 u32 key_id; member 42 u32 key_id; member 261 if (rctx->key_id) { in tegra_sha_prep_cmd() 264 cpuvaddr[i++] = SE_AES_KEY_INDEX(rctx->key_id); in tegra_sha_prep_cmd() 474 ctx->key_id = 0; in tegra_sha_cra_init() 497 tegra_key_invalidate(ctx->se, ctx->key_id, ctx->alg); in tegra_sha_cra_exit() 513 rctx->key_id = ctx->key_id; in tegra_sha_init() 568 return tegra_key_submit(ctx->se, key, keylen, ctx->alg, &ctx->key_id); in tegra_hmac_setkey()
|
/linux-6.12.1/drivers/bluetooth/ |
D | btrtl.c | 101 u8 key_id; member 512 if (sec_hdr->key_id != btrtl_dev->key_id) in btrtl_parse_section() 538 u8 key_id; in rtlbt_parse_firmware_v2() local 555 key_id = reg_val[0]; in rtlbt_parse_firmware_v2() 557 rtl_dev_dbg(hdev, "%s: key id %u", __func__, key_id); in rtlbt_parse_firmware_v2() 559 btrtl_dev->key_id = key_id; in rtlbt_parse_firmware_v2() 591 if (!key_id) in rtlbt_parse_firmware_v2()
|
/linux-6.12.1/security/keys/ |
D | internal.h | 187 .key_id = key_serial(key), in notify_key() 192 n.key_id); in notify_key() 353 static inline long keyctl_watch_key(key_serial_t key_id, int watch_fd, int watch_id) in keyctl_watch_key() argument
|
/linux-6.12.1/net/sched/ |
D | act_tunnel_key.c | 373 __be64 key_id = 0; in tunnel_key_init() local 414 key_id = key32_to_tunnel_id(key32); in tunnel_key_init() 455 key_id, opts_len); in tunnel_key_init() 466 key_id, opts_len); in tunnel_key_init() 742 __be32 key_id = tunnel_id_to_key32(key->tun_id); in tunnel_key_dump() local 745 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_KEY_ID, key_id)) || in tunnel_key_dump()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.h | 18 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id);
|