/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/include/net/ |
D | flow_dissector.h | 294 enum flow_dissector_key_id key_id; member 358 enum flow_dissector_key_id key_id) in dissector_uses_key() argument 360 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key() 364 enum flow_dissector_key_id key_id, in skb_flow_dissector_target() argument 367 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
|
/kernel/linux/linux-5.10/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 51 MLX5_SET(tls_static_params, ctx, dek_index, key_id); in fill_static_params() 58 u32 tis_tir_num, u32 key_id, u32 resync_tcp_sn, in mlx5e_ktls_build_static_params() argument 78 fill_static_params(&wqe->params, info, key_id, resync_tcp_sn); in mlx5e_ktls_build_static_params()
|
D | ktls_tx.c | 55 u32 key_id; member 97 err = mlx5_ktls_create_key(mdev, crypto_info, &priv_tx->key_id); in mlx5e_ktls_add_tx() 117 mlx5_ktls_destroy_key(mdev, priv_tx->key_id); in mlx5e_ktls_add_tx() 134 mlx5_ktls_destroy_key(mdev, priv_tx->key_id); in mlx5e_ktls_del_tx() 173 priv_tx->tisn, priv_tx->key_id, 0, fence, in post_static_params()
|
D | ktls_rx.c | 52 u32 key_id; member 150 priv_rx->tirn, priv_rx->key_id, in post_static_params() 600 err = mlx5_ktls_create_key(mdev, crypto_info, &priv_rx->key_id); in mlx5e_ktls_add_rx() 639 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_add_rx() 673 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_del_rx()
|
/kernel/linux/linux-5.10/net/core/ |
D | flow_dissector.c | 37 enum flow_dissector_key_id key_id) in dissector_set_key() argument 39 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key() 56 key->key_id)); in skb_flow_dissector_init() 58 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init() 59 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init() 1722 .key_id = FLOW_DISSECTOR_KEY_CONTROL, 1726 .key_id = FLOW_DISSECTOR_KEY_BASIC, 1730 .key_id = FLOW_DISSECTOR_KEY_IPV4_ADDRS, 1734 .key_id = FLOW_DISSECTOR_KEY_IPV6_ADDRS, 1738 .key_id = FLOW_DISSECTOR_KEY_TIPC, [all …]
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | key.c | 47 msg->key_id = key->keyidx; in fill_wep_group() 79 msg->key_id = key->keyidx; in fill_tkip_group() 112 msg->key_id = key->keyidx; in fill_ccmp_group() 127 msg->key_id = key->keyidx; in fill_sms4_pair() 141 msg->key_id = key->keyidx; in fill_sms4_group() 153 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | tls.c | 121 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_ktls_destroy_key() argument 123 mlx5_destroy_encryption_key(mdev, key_id); in mlx5_ktls_destroy_key()
|
D | tls.h | 44 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id); 92 mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) {} in mlx5_ktls_destroy_key() argument
|
/kernel/linux/linux-5.10/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 | 91 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/security/keys/ |
D | internal.h | 195 .key_id = key_serial(key), in notify_key() 200 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
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_tunnel_key.c | 371 __be64 key_id = 0; in tunnel_key_init() local 413 key_id = key32_to_tunnel_id(key32); in tunnel_key_init() 451 key_id, opts_len); in tunnel_key_init() 462 key_id, opts_len); in tunnel_key_init() 738 __be32 key_id = tunnel_id_to_key32(key->tun_id); in tunnel_key_dump() local 741 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_KEY_ID, key_id)) || in tunnel_key_dump()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 492 __le32 key_id; member 509 __le32 key_id; member
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
D | eap_packet.h | 48 unsigned char key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | watch_queue.h | 82 __u32 key_id; member
|
D | keyctl.h | 102 __s32 key_id; member
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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()
|