Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 167) 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 static int _ieee80211_set_tx_key(struct ieee80211_key *key, bool force) in _ieee80211_set_tx_key()
283 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key()
350 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
381 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
405 struct ieee80211_key *key = NULL; in __ieee80211_set_default_beacon_key() local
537 struct ieee80211_key *key; in ieee80211_key_alloc() local
700 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
723 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
[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.c32 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
410 struct ieee80211_key *key = tx->key; in ccmp_encrypt_skb() local
500 struct ieee80211_key *key = rx->key; in ieee80211_crypto_ccmp_decrypt() local
646 struct ieee80211_key *key = tx->key; in gcmp_encrypt_skb() local
733 struct ieee80211_key *key = rx->key; in ieee80211_crypto_gcmp_decrypt() local
811 struct ieee80211_key *key = tx->key; in ieee80211_crypto_cs_encrypt() local
852 struct ieee80211_key *key = rx->key; in ieee80211_crypto_cs_decrypt() local
[all …]
Ddebugfs_key.h20 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()
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()
/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 …]
/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()
179 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
216 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
230 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
256 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
Dflow.c243 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
342 static void clear_vlan(struct sw_flow_key *key) in clear_vlan()
350 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
410 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
484 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh()
538 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4()
770 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
826 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4()
831 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
857 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
[all …]
Dconntrack.h51 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()
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()
275 struct sw_flow_key *key, in ovs_ct_fill_key()
335 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
372 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
413 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels()
497 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
654 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()
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/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/xdp/
Dxskmap.c94 static int xsk_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in xsk_map_get_next_key()
131 static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem()
141 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem()
146 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only()
151 static int xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem()
212 static int xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem()
/net/core/
Dsock_map.c372 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) in __sock_map_lookup_elem()
383 static void *sock_map_lookup(struct bpf_map *map, void *key) in sock_map_lookup()
395 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) in sock_map_lookup_sys()
439 static int sock_map_delete_elem(struct bpf_map *map, void *key) in sock_map_delete_elem()
452 static int sock_map_get_next_key(struct bpf_map *map, void *key, void *next) in sock_map_get_next_key()
554 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys()
595 static int sock_map_update_elem(struct bpf_map *map, void *key, in sock_map_update_elem()
621 struct bpf_map *, map, void *, key, u64, flags) in BPF_CALL_4() argument
644 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
670 struct bpf_map *, map, u32, key, u64, flags) in BPF_CALL_4() argument
[all …]
/net/rxrpc/
Dkey.c414 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()
Dserver_key.c101 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
/net/sched/
Dcls_flower.c82 struct fl_flow_key key; member
117 struct fl_flow_key key; member
168 static void *fl_key_get_start(struct fl_flow_key *key, in fl_key_get_start()
174 static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, in fl_set_masked_key()
203 static void fl_clear_masked_range(struct fl_flow_key *key, in fl_clear_masked_range()
210 struct fl_flow_key *key, in fl_range_port_dst_cmp()
233 struct fl_flow_key *key, in fl_range_port_src_cmp()
264 struct fl_flow_key *key) in fl_lookup_range()
283 struct cls_fl_filter *fl_mask_lookup(struct fl_flow_mask *mask, struct fl_flow_key *key) in fl_mask_lookup()
770 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.c249 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()
/net/sunrpc/auth_gss/
Dgss_krb5_seqnum.c44 struct crypto_sync_skcipher *key, in krb5_make_seq_num()
79 struct crypto_sync_skcipher *key = kctx->seq; in krb5_get_seq_num() local
/net/ipv4/
Dfib_trie.c120 t_key key; member
217 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
219 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index()
352 static struct key_vector *leaf_new(t_key key, struct fib_alias *fa) in leaf_new()
375 static struct key_vector *tnode_new(t_key key, int pos, int bits) in tnode_new()
467 static inline void put_child_root(struct key_vector *tp, t_key key, in put_child_root()
935 struct key_vector **tp, u32 key) in fib_find_node()
1105 struct fib_alias *new, t_key key) in fib_insert_node()
1156 struct fib_alias *fa, t_key key) in fib_insert_alias()
1190 static bool fib_valid_key_len(u32 key, u8 plen, struct netlink_ext_ack *extack) in fib_valid_key_len()
[all …]
/net/mctp/
Droute.c71 static bool mctp_key_match(struct mctp_sk_key *key, mctp_eid_t local, in mctp_key_match()
89 struct mctp_sk_key *key, *ret; in mctp_lookup_key() local
114 struct mctp_sk_key *key; in mctp_key_alloc() local
129 static int mctp_key_add(struct mctp_sk_key *key, struct mctp_sock *msk) in mctp_key_add()
165 static void __mctp_key_unlock_drop(struct mctp_sk_key *key, struct net *net, in __mctp_key_unlock_drop()
186 static int mctp_frag_queue(struct mctp_sk_key *key, struct sk_buff *skb) in mctp_frag_queue()
226 struct mctp_sk_key *key; in mctp_route_input() local
456 static void mctp_reserve_tag(struct net *net, struct mctp_sk_key *key, in mctp_reserve_tag()
478 struct mctp_sk_key *key, *tmp; in mctp_alloc_local_tag() 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
822 struct sctp_auth_bytes *key; in sctp_auth_set_key() local
884 struct sctp_shared_key *key; in sctp_auth_set_active_key() local
927 struct sctp_shared_key *key; in sctp_auth_del_key_id() local
970 struct sctp_shared_key *key; in sctp_auth_deact_key_id() local

1234567