Home
last modified time | relevance | path

Searched refs:key_id (Results 1 – 25 of 92) sorted by relevance

1234

/linux/lib/
A Dtest_objagg.c24 return key_id; in key_id_index()
54 key.id = key_id; in world_obj_get()
64 key_id); in world_obj_get()
177 key_id); in test_nodelta_obj_get()
191 key_id); in test_nodelta_obj_get()
219 key_id); in test_nodelta_obj_put()
566 unsigned int key_id = action_item->key_id; in check_expect() local
572 key_id); in check_expect()
581 key_id); in check_expect()
637 return key_id; in obj_to_key_id()
[all …]
/linux/net/sctp/
A Dauth.c90 new->key_id = key_id; in sctp_auth_shkey_create()
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
877 __u16 key_id) in sctp_auth_set_active_key() argument
895 if (key->key_id == key_id) { in sctp_auth_set_active_key()
905 asoc->active_key_id = key_id; in sctp_auth_set_active_key()
908 ep->active_key_id = key_id; in sctp_auth_set_active_key()
915 __u16 key_id) in sctp_auth_del_key_id() argument
941 if (key->key_id == key_id) { in sctp_auth_del_key_id()
[all …]
/linux/include/net/sctp/
A Dauth.h52 __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/include/net/
A Dflow_dissector.h293 enum flow_dissector_key_id key_id; member
357 enum flow_dissector_key_id key_id) in dissector_uses_key() argument
359 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key()
363 enum flow_dissector_key_id key_id, in skb_flow_dissector_target() argument
366 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_txrx.c25 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()
A Dktls_tx.c60 u32 key_id; member
103 err = mlx5_ktls_create_key(mdev, crypto_info, &priv_tx->key_id); in mlx5e_ktls_add_tx()
125 mlx5_ktls_destroy_key(mdev, priv_tx->key_id); in mlx5e_ktls_add_tx()
143 mlx5_ktls_destroy_key(mdev, priv_tx->key_id); in mlx5e_ktls_del_tx()
182 priv_tx->tisn, priv_tx->key_id, 0, fence, in post_static_params()
A Dktls_rx.c53 u32 key_id; member
151 priv_rx->key_id, priv_rx->resync.seq, false, in post_static_params()
601 err = mlx5_ktls_create_key(mdev, crypto_info, &priv_rx->key_id); in mlx5e_ktls_add_rx()
641 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_add_rx()
675 mlx5_ktls_destroy_key(mdev, priv_rx->key_id); in mlx5e_ktls_del_rx()
/linux/net/core/
A Dflow_dissector.c38 enum flow_dissector_key_id key_id) in dissector_set_key() argument
40 flow_dissector->used_keys |= (1 << key_id); in dissector_set_key()
57 key->key_id)); in skb_flow_dissector_init()
1761 .key_id = FLOW_DISSECTOR_KEY_CONTROL,
1765 .key_id = FLOW_DISSECTOR_KEY_BASIC,
1777 .key_id = FLOW_DISSECTOR_KEY_TIPC,
1781 .key_id = FLOW_DISSECTOR_KEY_PORTS,
1785 .key_id = FLOW_DISSECTOR_KEY_VLAN,
1804 .key_id = FLOW_DISSECTOR_KEY_BASIC,
1816 .key_id = FLOW_DISSECTOR_KEY_PORTS,
[all …]
/linux/drivers/staging/wfx/
A Dkey.c47 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()
A Dhif_api_cmd.h441 u8 key_id; member
458 u8 key_id; member
471 u8 key_id; member
478 u8 key_id; member
487 u8 key_id; member
493 u8 key_id; member
/linux/net/mac802154/
A Dllsec.c411 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 …]
A Drx.c169 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/drivers/net/ethernet/mellanox/mlx5/core/accel/
A Dtls.c121 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()
A Dtls.h44 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
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dcrypto.c61 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()
A Dmlx5.h91 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id);
/linux/net/sched/
A Dact_tunnel_key.c371 __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()
/linux/security/keys/
A Dinternal.h195 .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
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dsta.h443 __le32 key_id; member
460 __le32 key_id; member
/linux/drivers/staging/ks7010/
A Deap_packet.h48 unsigned char key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
/linux/include/uapi/linux/
A Dwatch_queue.h100 __u32 key_id; /* The key/keyring affected */ member
A Dkeyctl.h109 __s32 key_id; /* Serial no. of public key to use */ member
/linux/net/mac80211/
A Dwpa.c382 static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) in ccmp_pn2hdr() argument
387 hdr[3] = 0x20 | (key_id << 6); in ccmp_pn2hdr()
621 static inline void gcmp_pn2hdr(u8 *hdr, const u8 *pn, int key_id) in gcmp_pn2hdr() argument
626 hdr[3] = 0x20 | (key_id << 6); in gcmp_pn2hdr()
970 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_encrypt()
1017 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_256_encrypt()
1162 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_gmac_encrypt()
/linux/net/ieee802154/
A Dheader_ops.c72 buf[pos++] = hdr->key_id; in ieee802154_hdr_push_sechdr()
186 hdr->key_id = buf[pos++]; in ieee802154_hdr_get_sechdr()
/linux/fs/crypto/
A Dkeyring.c574 static int get_keyring_key(u32 key_id, u32 type, in get_keyring_key() argument
582 ref = lookup_user_key(key_id, 0, KEY_NEED_SEARCH); in get_keyring_key()
658 if (arg.key_id) { in fscrypt_ioctl_add_key()
661 err = get_keyring_key(arg.key_id, arg.key_spec.type, &secret); in fscrypt_ioctl_add_key()

Completed in 49 milliseconds

1234