/Linux-v5.4/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-v5.4/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() 712 __u16 key_id, hmac_id; in sctp_auth_calculate_hmac() local 721 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac() 724 if (key_id == asoc->active_key_id) in sctp_auth_calculate_hmac() 845 if (shkey->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key() 876 __u16 key_id) in sctp_auth_set_active_key() argument [all …]
|
/Linux-v5.4/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);
|
D | ulpevent.h | 121 const struct sctp_association *asoc, __u16 key_id,
|
/Linux-v5.4/include/net/ |
D | flow_dissector.h | 262 enum flow_dissector_key_id key_id; member 321 enum flow_dissector_key_id key_id) in dissector_uses_key() argument 323 return flow_dissector->used_keys & (1 << key_id); in dissector_uses_key() 327 enum flow_dissector_key_id key_id, in skb_flow_dissector_target() argument 330 return ((char *)target_container) + flow_dissector->offset[key_id]; in skb_flow_dissector_target()
|
/Linux-v5.4/net/core/ |
D | flow_dissector.c | 38 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() 59 dissector_set_key(flow_dissector, key->key_id); in skb_flow_dissector_init() 60 flow_dissector->offset[key->key_id] = key->offset; in skb_flow_dissector_init() 1647 .key_id = FLOW_DISSECTOR_KEY_CONTROL, 1651 .key_id = FLOW_DISSECTOR_KEY_BASIC, 1655 .key_id = FLOW_DISSECTOR_KEY_IPV4_ADDRS, 1659 .key_id = FLOW_DISSECTOR_KEY_IPV6_ADDRS, 1663 .key_id = FLOW_DISSECTOR_KEY_TIPC, [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | tls.c | 119 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_ktls_destroy_key() argument 121 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); 75 mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) {} in mlx5_ktls_destroy_key() argument
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.c | 62 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_destroy_encryption_key() argument 71 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, key_id); in mlx5_destroy_encryption_key()
|
D | mlx5.h | 85 void mlx5_destroy_encryption_key(struct mlx5_core_dev *mdev, u32 key_id);
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls.c | 49 err = mlx5_ktls_create_key(mdev, crypto_info, &tx_priv->key_id); in mlx5e_ktls_add() 72 mlx5_ktls_destroy_key(priv->mdev, tx_priv->key_id); in mlx5e_ktls_del()
|
D | ktls.h | 50 u32 key_id; member
|
/Linux-v5.4/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-v5.4/net/sched/ |
D | act_tunnel_key.c | 227 __be64 key_id = 0; in tunnel_key_init() local 269 key_id = key32_to_tunnel_id(key32); in tunnel_key_init() 307 key_id, opts_len); in tunnel_key_init() 318 key_id, 0); in tunnel_key_init() 538 __be32 key_id = tunnel_id_to_key32(key->tun_id); in tunnel_key_dump() local 541 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_KEY_ID, key_id)) || in tunnel_key_dump()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 520 __le32 key_id; member 537 __le32 key_id; member
|
/Linux-v5.4/drivers/staging/ks7010/ |
D | eap_packet.h | 48 unsigned char key_id[8]; /* Reserved in IEEE 802.11i/RSN */ member
|
/Linux-v5.4/include/uapi/linux/ |
D | keyctl.h | 108 __s32 key_id; /* Serial no. of public key to use */ member
|
/Linux-v5.4/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()
|
/Linux-v5.4/net/mac80211/ |
D | wpa.c | 381 static inline void ccmp_pn2hdr(u8 *hdr, u8 *pn, int key_id) in ccmp_pn2hdr() argument 386 hdr[3] = 0x20 | (key_id << 6); in ccmp_pn2hdr() 615 static inline void gcmp_pn2hdr(u8 *hdr, const u8 *pn, int key_id) in gcmp_pn2hdr() argument 620 hdr[3] = 0x20 | (key_id << 6); in gcmp_pn2hdr() 959 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_encrypt() 1006 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_256_encrypt() 1151 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_gmac_encrypt()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cpp.h | 273 unsigned long long address, u32 key_id); 276 u32 key_id);
|
/Linux-v5.4/drivers/net/wireless/ti/wl1251/ |
D | acx.c | 62 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) in wl1251_acx_default_key() argument 67 wl1251_debug(DEBUG_ACX, "acx dot11_default_key (%d)", key_id); in wl1251_acx_default_key() 73 default_key->id = key_id; in wl1251_acx_default_key() 82 wl->default_key = key_id; in wl1251_acx_default_key()
|
/Linux-v5.4/net/wireless/ |
D | mlme.c | 194 enum nl80211_key_type key_type, int key_id, in cfg80211_michael_mic_failure() argument 205 "keyid=%d %scast addr=%pM)", key_id, in cfg80211_michael_mic_failure() 215 trace_cfg80211_michael_mic_failure(dev, addr, key_type, key_id, tsc); in cfg80211_michael_mic_failure() 216 nl80211_michael_mic_failure(rdev, dev, addr, key_type, key_id, tsc, gfp); in cfg80211_michael_mic_failure()
|
D | nl80211.h | 101 int key_id, const u8 *tsc, gfp_t gfp);
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 545 int cid, tid, key_id, mc; in wil_rx_crypto_check_edma() local 559 key_id = wil_rx_status_get_key_id(st); in wil_rx_crypto_check_edma() 563 cc = &c->key_id[key_id]; in wil_rx_crypto_check_edma() 569 cid, tid, mc, key_id); in wil_rx_crypto_check_edma() 576 cid, tid, mc, key_id, pn, cc->pn); in wil_rx_crypto_check_edma()
|