| /net/mac80211/ |
| D | key.c | 120 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel() 228 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel() 267 static int _ieee80211_set_tx_key(struct ieee80211_key *key, bool force) in _ieee80211_set_tx_key() 285 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key() 351 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local 388 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local 414 struct ieee80211_key *key = NULL; in __ieee80211_set_default_beacon_key() local 591 struct ieee80211_key *key; in ieee80211_key_alloc() local 740 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common() 763 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy() [all …]
|
| D | debugfs_key.c | 74 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local 86 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() local 124 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local 160 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local 228 struct ieee80211_key *key = file->private_data; in key_replays_read() local 261 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local 286 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() local 302 struct ieee80211_key *key = file->private_data; in key_key_read() local 327 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add() 364 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove() [all …]
|
| D | wpa.c | 32 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local 97 u8 *data, *key = NULL; in ieee80211_rx_h_michael_mic_verify() local 197 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() local 269 struct ieee80211_key *key = rx->key; in ieee80211_crypto_tkip_decrypt() local 430 struct ieee80211_key *key = tx->key; in ccmp_encrypt_skb() local 520 struct ieee80211_key *key = rx->key; in ieee80211_crypto_ccmp_decrypt() local 633 struct ieee80211_key *key = tx->key; in gcmp_encrypt_skb() local 720 struct ieee80211_key *key = rx->key; in ieee80211_crypto_gcmp_decrypt() local 838 struct ieee80211_key *key = tx->key; in ieee80211_crypto_aes_cmac_encrypt() local 886 struct ieee80211_key *key = tx->key; in ieee80211_crypto_aes_cmac_256_encrypt() local [all …]
|
| D | debugfs_key.h | 20 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add() 22 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove() 39 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key, in ieee80211_debugfs_key_sta_del()
|
| D | tkip.c | 152 static void ieee80211_compute_tkip_p1k(struct ieee80211_key *key, u32 iv32) in ieee80211_compute_tkip_p1k() 174 struct ieee80211_key *key = (struct ieee80211_key *) in ieee80211_get_tkip_p1k_iv() local 199 struct ieee80211_key *key = (struct ieee80211_key *) in ieee80211_get_tkip_p2k() local 223 struct ieee80211_key *key, in ieee80211_tkip_encrypt_data() 240 struct ieee80211_key *key, in ieee80211_tkip_decrypt_data()
|
| /net/mac802154/ |
| D | llsec.c | 45 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local 117 struct mac802154_llsec_key *key; in llsec_key_alloc() local 164 struct mac802154_llsec_key *key; in llsec_key_release() local 177 llsec_key_get(struct mac802154_llsec_key *key) in llsec_key_get() 183 static void llsec_key_put(struct mac802154_llsec_key *key) in llsec_key_put() 214 const struct ieee802154_llsec_key *key) in mac802154_llsec_key_add() 281 const struct ieee802154_llsec_key_id *key) in mac802154_llsec_key_del() 317 u32 key = llsec_dev_hash_short(short_addr, pan_id); in llsec_dev_find_short() local 332 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long() local 414 const struct ieee802154_llsec_key_id *key) in llsec_devkey_find() [all …]
|
| /net/openvswitch/ |
| D | actions.c | 78 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member 92 struct sw_flow_key *key = NULL; in clone_key() local 131 const struct sw_flow_key *key, in add_deferred_actions() 150 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key() 155 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid() 170 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls() 186 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls() 223 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan() 237 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan() 267 const struct ovs_key_ethernet *key, in set_eth_addr() [all …]
|
| D | flow.c | 385 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr() 486 static void clear_vlan(struct sw_flow_key *key) in clear_vlan() 494 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan() 554 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6() 629 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh() 683 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4() 915 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract() 971 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4() 976 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update() 1002 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract() [all …]
|
| D | conntrack.h | 51 const struct sw_flow_key *key, in ovs_ct_copy_action() 64 struct sw_flow_key *key, in ovs_ct_execute() 72 struct sw_flow_key *key) in ovs_ct_clear() 78 struct sw_flow_key *key, in ovs_ct_fill_key()
|
| D | conntrack.c | 109 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto() 184 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp() 198 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key() 244 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key() 284 struct sw_flow_key *key, in ovs_ct_fill_key() 344 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark() 381 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels() 422 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels() 444 static int ovs_ct_handle_fragments(struct net *net, struct sw_flow_key *key, in ovs_ct_handle_fragments() 534 const struct sw_flow_key *key, in ovs_ct_executed() [all …]
|
| /net/ceph/ |
| D | crypto.c | 23 static int set_secret(struct ceph_crypto_key *key, void *buf) in set_secret() 77 int ceph_crypto_key_encode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_encode() 89 int ceph_crypto_key_decode(struct ceph_crypto_key *key, void **p, void *end) in ceph_crypto_key_decode() 108 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor() 135 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy() 219 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt() 283 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt() 337 static void ceph_key_destroy(struct key *key) in ceph_key_destroy()
|
| /net/ipv4/ |
| D | tcp_ao.c | 23 int tcp_ao_calc_traffic_key(struct tcp_ao_key *mkt, u8 *key, void *ctx, in tcp_ao_calc_traffic_key() 116 struct tcp_ao_key *key; in tcp_ao_established_key() local 141 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp() 177 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp() 198 struct tcp_ao_key *key; in __tcp_ao_do_lookup() local 245 struct tcp_ao_key *key) in tcp_ao_copy_key() 265 struct tcp_ao_key *key = container_of(head, struct tcp_ao_key, rcu); in tcp_ao_key_free_rcu() local 274 struct tcp_ao_key *key; in tcp_ao_info_free_rcu() local 289 struct tcp_ao_key *key; in tcp_ao_sk_omem_free() local 321 struct tcp_ao_key *key; in tcp_ao_time_wait() local [all …]
|
| /net/wireless/ |
| D | lib80211_crypt_wep.c | 32 u8 key[WEP_KEY_LEN + 1]; member 64 u8 *key, int keylen, void *priv) in lib80211_wep_build_iv() 110 u8 key[WEP_KEY_LEN + 3]; in lib80211_wep_encrypt() local 155 u8 key[WEP_KEY_LEN + 3]; in lib80211_wep_decrypt() local 198 static int lib80211_wep_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_wep_set_key() 211 static int lib80211_wep_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_wep_get_key()
|
| D | lib80211_crypt_ccmp.c | 40 u8 key[CCMP_TK_LEN]; member 156 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_hdr() local 192 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_encrypt() local 256 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_decrypt() local 347 static int lib80211_ccmp_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_set_key() 379 static int lib80211_ccmp_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_get_key()
|
| /net/xdp/ |
| D | xskmap.c | 104 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key() 141 static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem() 151 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem() 156 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only() 161 static long xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem() 222 static long xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
|
| /net/mctp/ |
| D | route.c | 110 static bool mctp_key_match(struct mctp_sk_key *key, unsigned int net, in mctp_key_match() 136 struct mctp_sk_key *key, *ret; in mctp_lookup_key() local 175 struct mctp_sk_key *key; in mctp_key_alloc() local 194 void mctp_key_unref(struct mctp_sk_key *key) in mctp_key_unref() 212 static int mctp_key_add(struct mctp_sk_key *key, struct mctp_sock *msk) in mctp_key_add() 259 static void __mctp_key_done_in(struct mctp_sk_key *key, struct net *net, in __mctp_key_done_in() 293 static void mctp_skb_set_flow(struct sk_buff *skb, struct mctp_sk_key *key) in mctp_skb_set_flow() 307 struct mctp_sk_key *key; in mctp_flow_prepare_output() local 324 static void mctp_skb_set_flow(struct sk_buff *skb, struct mctp_sk_key *key) {} in mctp_skb_set_flow() 329 static int mctp_frag_queue(struct mctp_sk_key *key, struct sk_buff *skb) in mctp_frag_queue() [all …]
|
| /net/rxrpc/ |
| D | key.c | 414 static void rxrpc_destroy(struct key *key) in rxrpc_destroy() 422 static void rxrpc_describe(const struct key *key, struct seq_file *m) in rxrpc_describe() 450 struct key *key; in rxrpc_request_key() local 484 struct key *key; in rxrpc_get_server_data_key() local 538 struct key *key; in rxrpc_get_null_key() local 562 static long rxrpc_read(const struct key *key, in rxrpc_read()
|
| D | server_key.c | 101 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s() 109 static void rxrpc_describe_s(const struct key *key, struct seq_file *m) in rxrpc_describe_s() 123 struct key *key; in rxrpc_server_keyring() local
|
| D | security.c | 72 struct key *key = call->key; in rxrpc_init_client_call_security() local 101 struct key *key = conn->key; in rxrpc_init_client_conn_security() local 164 struct key *key = ERR_PTR(-EKEYREJECTED); in rxrpc_look_up_server_security() local
|
| /net/core/ |
| D | sock_map.c | 377 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem() 388 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup() 400 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys() 442 static long sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem() 455 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key() 556 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys() 597 static long sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem() 623 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument 646 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument 674 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument [all …]
|
| /net/sched/ |
| D | cls_flower.c | 96 struct fl_flow_key key; member 131 struct fl_flow_key key; member 183 static void *fl_key_get_start(struct fl_flow_key *key, in fl_key_get_start() 189 static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, in fl_set_masked_key() 218 static void fl_clear_masked_range(struct fl_flow_key *key, in fl_clear_masked_range() 225 struct fl_flow_key *key, in fl_range_port_dst_cmp() 248 struct fl_flow_key *key, in fl_range_port_src_cmp() 279 struct fl_flow_key *key) in fl_lookup_range() 298 struct cls_fl_filter *fl_mask_lookup(struct fl_flow_mask *mask, struct fl_flow_key *key) in fl_mask_lookup() 826 static int fl_set_key_spi(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_spi() [all …]
|
| /net/ipv6/ |
| D | tcp_ao.c | 16 static int tcp_v6_ao_calc_key(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key() 52 int tcp_v6_ao_calc_key_skb(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_skb() 64 int tcp_v6_ao_calc_key_sk(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_sk() 78 int tcp_v6_ao_calc_key_rsk(struct tcp_ao_key *mkt, u8 *key, in tcp_v6_ao_calc_key_rsk() 134 int tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, in tcp_v6_ao_hash_skb()
|
| /net/netfilter/ |
| D | nf_flow_table_xdp.c | 29 unsigned long key = (unsigned long)dev; in nf_flowtable_by_dev() local 54 unsigned long key = (unsigned long)dev; in nf_flowtable_by_dev_insert() local 98 unsigned long key = (unsigned long)dev; in nf_flowtable_by_dev_remove() local
|
| /net/rds/ |
| D | bind.c | 56 static inline void __rds_create_bind_key(u8 *key, const struct in6_addr *addr, in __rds_create_bind_key() 75 u8 key[RDS_BOUND_KEY_LEN]; in rds_find_bound() local 99 u8 key[RDS_BOUND_KEY_LEN]; in rds_add_bound() local
|
| /net/dns_resolver/ |
| D | dns_key.c | 249 static bool dns_resolver_cmp(const struct key *key, in dns_resolver_cmp() 294 static void dns_resolver_describe(const struct key *key, struct seq_file *m) in dns_resolver_describe() 311 static long dns_resolver_read(const struct key *key, in dns_resolver_read()
|