Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 154) sorted by relevance

1234567

/net/mac80211/
Dkey.c125 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
230 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
265 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key()
343 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
374 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
500 struct ieee80211_key *key; in ieee80211_key_alloc() local
661 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
684 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
705 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy()
720 void ieee80211_key_free_unused(struct ieee80211_key *key) in ieee80211_key_free_unused()
[all …]
Ddebugfs_key.c74 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 …]
Dwpa.c31 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local
96 u8 *data, *key = NULL; in ieee80211_rx_h_michael_mic_verify() local
196 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() local
268 struct ieee80211_key *key = rx->key; in ieee80211_crypto_tkip_decrypt() local
409 struct ieee80211_key *key = tx->key; in ccmp_encrypt_skb() local
499 struct ieee80211_key *key = rx->key; in ieee80211_crypto_ccmp_decrypt() local
640 struct ieee80211_key *key = tx->key; in gcmp_encrypt_skb() local
727 struct ieee80211_key *key = rx->key; in ieee80211_crypto_gcmp_decrypt() local
800 struct ieee80211_key *key = tx->key; in ieee80211_crypto_cs_encrypt() local
841 struct ieee80211_key *key = rx->key; in ieee80211_crypto_cs_decrypt() local
[all …]
Ddebugfs_key.h16 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
18 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
29 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key, in ieee80211_debugfs_key_sta_del()
Dtkip.c152 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()
Dmichael.c27 static void michael_mic_hdr(struct michael_mic_ctx *mctx, const u8 *key, in michael_mic_hdr()
53 void michael_mic(const u8 *key, struct ieee80211_hdr *hdr, in michael_mic()
Dwep.c96 struct ieee80211_key *key) in ieee80211_wep_remove_iv()
135 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt()
195 struct ieee80211_key *key) in ieee80211_wep_decrypt()
/net/mac802154/
Dllsec.c45 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()
269 const struct ieee802154_llsec_key_id *key) in mac802154_llsec_key_del()
309 u32 key = llsec_dev_hash_short(short_addr, pan_id); in llsec_dev_find_short() local
324 u64 key = llsec_dev_hash_long(hwaddr); in llsec_dev_find_long() local
406 const struct ieee802154_llsec_key_id *key) in llsec_devkey_find()
[all …]
Dmib.c73 const struct ieee802154_llsec_key *key) in mac802154_add_key()
133 const struct ieee802154_llsec_device_key *key) in mac802154_add_devkey()
149 const struct ieee802154_llsec_device_key *key) in mac802154_del_devkey()
/net/openvswitch/
Dactions.c71 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
85 struct sw_flow_key *key = NULL; in clone_key() local
124 const struct sw_flow_key *key, in add_deferred_actions()
143 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
148 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
163 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
178 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
209 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
223 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
249 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
Dflow.c242 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
337 static void clear_vlan(struct sw_flow_key *key) in clear_vlan()
345 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
405 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
479 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh()
532 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4()
756 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
812 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4()
817 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
843 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
[all …]
Dconntrack.h50 const struct sw_flow_key *key, in ovs_ct_copy_action()
63 struct sw_flow_key *key, in ovs_ct_execute()
71 struct sw_flow_key *key) in ovs_ct_clear()
77 struct sw_flow_key *key) in ovs_ct_fill_key()
Dconntrack.c105 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto()
175 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp()
189 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key()
235 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
274 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key) in ovs_ct_fill_key()
331 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
368 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
409 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels()
493 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
650 const struct sw_flow_key *key, in ovs_ct_executed()
[all …]
/net/ceph/
Dcrypto.c23 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()
107 int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *inkey) in ceph_crypto_key_unarmor()
134 void ceph_crypto_key_destroy(struct ceph_crypto_key *key) in ceph_crypto_key_destroy()
218 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
282 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
336 static void ceph_key_destroy(struct key *key) in ceph_key_destroy()
/net/core/
Dsock_map.c264 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
275 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
308 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
321 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
402 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
434 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
457 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
481 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
518 u8 key[0]; member
535 static inline u32 sock_hash_bucket_hash(const void *key, u32 len) in sock_hash_bucket_hash()
[all …]
/net/wireless/
Dlib80211_crypt_wep.c32 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()
Dlib80211_crypt_ccmp.c40 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/rxrpc/
Dkey.c872 static void rxrpc_destroy(struct key *key) in rxrpc_destroy()
880 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s()
891 static void rxrpc_describe(const struct key *key, struct seq_file *m) in rxrpc_describe()
901 struct key *key; in rxrpc_request_key() local
932 struct key *key; in rxrpc_server_keyring() local
966 struct key *key; in rxrpc_get_server_data_key() local
1020 struct key *key; in rxrpc_get_null_key() local
1044 static long rxrpc_read(const struct key *key, in rxrpc_read()
/net/sched/
Dcls_flower.c73 struct fl_flow_key key; member
108 struct fl_flow_key key; member
159 static void *fl_key_get_start(struct fl_flow_key *key, in fl_key_get_start()
165 static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, in fl_set_masked_key()
194 static void fl_clear_masked_range(struct fl_flow_key *key, in fl_clear_masked_range()
201 struct fl_flow_key *key, in fl_range_port_dst_cmp()
224 struct fl_flow_key *key, in fl_range_port_src_cmp()
255 struct fl_flow_key *key) in fl_lookup_range()
275 struct fl_flow_key *key) in fl_lookup()
720 static int fl_set_key_port_range(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_port_range()
[all …]
/net/rds/
Dbind.c56 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/
Ddns_key.c242 static bool dns_resolver_cmp(const struct key *key, in dns_resolver_cmp()
287 static void dns_resolver_describe(const struct key *key, struct seq_file *m) in dns_resolver_describe()
304 static long dns_resolver_read(const struct key *key, in dns_resolver_read()
/net/ipv4/
Dfib_trie.c121 t_key key; member
218 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
220 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index()
355 static struct key_vector *leaf_new(t_key key, struct fib_alias *fa) in leaf_new()
378 static struct key_vector *tnode_new(t_key key, int pos, int bits) in tnode_new()
470 static inline void put_child_root(struct key_vector *tp, t_key key, in put_child_root()
938 struct key_vector **tp, u32 key) in fib_find_node()
1015 struct fib_alias *new, t_key key) in fib_insert_node()
1069 struct fib_alias *fa, t_key key) in fib_insert_alias()
1103 static bool fib_valid_key_len(u32 key, u8 plen, struct netlink_ext_ack *extack) in fib_valid_key_len()
[all …]
Dtcp_diag.c39 const struct tcp_md5sig_key *key) in tcp_diag_md5sig_fill()
58 const struct tcp_md5sig_key *key; in tcp_diag_put_md5sig() local
152 const struct tcp_md5sig_key *key; in tcp_diag_get_aux_size() local
/net/sctp/
Dauth.c46 void sctp_auth_key_put(struct sctp_auth_bytes *key) in sctp_auth_key_put()
60 struct sctp_auth_bytes *key; in sctp_auth_create_key() local
433 struct sctp_shared_key *key; in sctp_auth_get_shkey() local
827 struct sctp_auth_bytes *key; in sctp_auth_set_key() local
878 struct sctp_shared_key *key; in sctp_auth_set_active_key() local
916 struct sctp_shared_key *key; in sctp_auth_del_key_id() local
959 struct sctp_shared_key *key; in sctp_auth_deact_key_id() local
/net/decnet/
Ddn_table.c62 #define dz_key_0(key) ((key).datum = 0) argument
76 #define DN_FIB_SCAN_KEY(f, fp, key) \ argument
87 static inline dn_fib_idx_t dn_hash(dn_fib_key_t key, struct dn_zone *dz) in dn_hash()
103 static inline struct dn_fib_node **dn_chain_p(dn_fib_key_t key, struct dn_zone *dz) in dn_chain_p()
108 static inline struct dn_fib_node *dz_chain(dn_fib_key_t key, struct dn_zone *dz) in dz_chain()
538 dn_fib_key_t key; in dn_fib_table_insert() local
673 dn_fib_key_t key; in dn_fib_table_delete() local

1234567