Home
last modified time | relevance | path

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

123456

/net/mac80211/
Dkey.c127 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel()
221 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel()
259 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local
290 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local
384 struct ieee80211_key *key; in ieee80211_key_alloc() local
545 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common()
568 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy()
592 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy()
607 void ieee80211_key_free_unused(struct ieee80211_key *key) in ieee80211_key_free_unused()
646 int ieee80211_key_link(struct ieee80211_key *key, in ieee80211_key_link()
[all …]
Ddebugfs_key.c77 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local
89 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() local
127 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local
163 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local
231 struct ieee80211_key *key = file->private_data; in key_replays_read() local
264 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local
289 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() local
305 struct ieee80211_key *key = file->private_data; in key_key_read() local
330 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add()
370 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove()
[all …]
Dwpa.c34 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local
91 u8 *data, *key = NULL; in ieee80211_rx_h_michael_mic_verify() local
191 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() local
263 struct ieee80211_key *key = rx->key; in ieee80211_crypto_tkip_decrypt() local
404 struct ieee80211_key *key = tx->key; in ccmp_encrypt_skb() local
494 struct ieee80211_key *key = rx->key; in ieee80211_crypto_ccmp_decrypt() local
636 struct ieee80211_key *key = tx->key; in gcmp_encrypt_skb() local
723 struct ieee80211_key *key = rx->key; in ieee80211_crypto_gcmp_decrypt() local
796 struct ieee80211_key *key = tx->key; in ieee80211_crypto_cs_encrypt() local
837 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.c155 static void ieee80211_compute_tkip_p1k(struct ieee80211_key *key, u32 iv32) in ieee80211_compute_tkip_p1k()
177 struct ieee80211_key *key = (struct ieee80211_key *) in ieee80211_get_tkip_p1k_iv() local
202 struct ieee80211_key *key = (struct ieee80211_key *) in ieee80211_get_tkip_p2k() local
226 struct ieee80211_key *key, in ieee80211_tkip_encrypt_data()
243 struct ieee80211_key *key, in ieee80211_tkip_decrypt_data()
Dmichael.c30 static void michael_mic_hdr(struct michael_mic_ctx *mctx, const u8 *key, in michael_mic_hdr()
56 void michael_mic(const u8 *key, struct ieee80211_hdr *hdr, in michael_mic()
Dwep.c120 struct ieee80211_key *key) in ieee80211_wep_remove_iv()
163 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt()
227 struct ieee80211_key *key) in ieee80211_wep_decrypt()
/net/mac802154/
Dllsec.c53 struct ieee802154_llsec_key_entry *key, *kn; in mac802154_llsec_destroy() local
125 struct mac802154_llsec_key *key; in llsec_key_alloc() local
172 struct mac802154_llsec_key *key; in llsec_key_release() local
185 llsec_key_get(struct mac802154_llsec_key *key) in llsec_key_get()
191 static void llsec_key_put(struct mac802154_llsec_key *key) in llsec_key_put()
222 const struct ieee802154_llsec_key *key) in mac802154_llsec_key_add()
277 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 …]
Dmib.c81 const struct ieee802154_llsec_key *key) in mac802154_add_key()
141 const struct ieee802154_llsec_device_key *key) in mac802154_add_devkey()
157 const struct ieee802154_llsec_device_key *key) in mac802154_del_devkey()
/net/openvswitch/
Dactions.c83 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; member
97 struct sw_flow_key *key = NULL; in clone_key() local
136 const struct sw_flow_key *key, in add_deferred_actions()
155 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
160 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
183 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
219 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
277 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
291 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
317 const struct ovs_key_ethernet *key, in set_eth_addr()
[all …]
Dconntrack.c84 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto()
154 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp()
168 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key()
214 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
253 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key) in ovs_ct_fill_key()
310 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
347 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
388 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels()
472 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
635 const struct sw_flow_key *key, in ovs_ct_executed()
[all …]
Dflow.c254 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
351 static void clear_vlan(struct sw_flow_key *key) in clear_vlan()
359 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
419 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
518 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
755 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
781 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
825 struct sw_flow_key *key, bool log) in ovs_flow_key_extract_userspace()
Dconntrack.h56 const struct sw_flow_key *key, in ovs_ct_copy_action()
69 struct sw_flow_key *key, in ovs_ct_execute()
77 struct sw_flow_key *key) in ovs_ct_fill_key()
/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()
216 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt()
280 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt()
334 static void ceph_key_destroy(struct key *key) in ceph_key_destroy()
/net/wireless/
Dlib80211_crypt_wep.c35 u8 key[WEP_KEY_LEN + 1]; member
88 u8 *key, int keylen, void *priv) in lib80211_wep_build_iv()
136 u8 key[WEP_KEY_LEN + 3]; in lib80211_wep_encrypt() local
187 u8 key[WEP_KEY_LEN + 3]; in lib80211_wep_decrypt() local
239 static int lib80211_wep_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_wep_set_key()
252 static int lib80211_wep_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_wep_get_key()
Dlib80211_crypt_ccmp.c43 u8 key[CCMP_TK_LEN]; member
184 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_hdr() local
220 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_encrypt() local
287 struct lib80211_ccmp_data *key = priv; in lib80211_ccmp_decrypt() local
380 static int lib80211_ccmp_set_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_set_key()
410 static int lib80211_ccmp_get_key(void *key, int len, u8 * seq, void *priv) in lib80211_ccmp_get_key()
/net/rxrpc/
Dkey.c874 static void rxrpc_destroy(struct key *key) in rxrpc_destroy()
882 static void rxrpc_destroy_s(struct key *key) in rxrpc_destroy_s()
893 static void rxrpc_describe(const struct key *key, struct seq_file *m) in rxrpc_describe()
903 struct key *key; in rxrpc_request_key() local
934 struct key *key; in rxrpc_server_keyring() local
968 struct key *key; in rxrpc_get_server_data_key() local
1022 struct key *key; in rxrpc_get_null_key() local
1046 static long rxrpc_read(const struct key *key, in rxrpc_read()
Dsecurity.c79 struct key *key = conn->params.key; in rxrpc_init_client_conn_security() local
118 struct key *key; in rxrpc_init_server_conn_security() local
/net/dns_resolver/
Ddns_key.c182 static bool dns_resolver_cmp(const struct key *key, in dns_resolver_cmp()
227 static void dns_resolver_describe(const struct key *key, struct seq_file *m) in dns_resolver_describe()
244 static long dns_resolver_read(const struct key *key, in dns_resolver_read()
/net/ipv4/
Dtcp_diag.c42 const struct tcp_md5sig_key *key) in tcp_diag_md5sig_fill()
61 const struct tcp_md5sig_key *key; in tcp_diag_put_md5sig() local
116 const struct tcp_md5sig_key *key; in tcp_diag_get_aux_size() local
Dfib_trie.c132 t_key key; member
227 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
229 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index()
358 static struct key_vector *leaf_new(t_key key, struct fib_alias *fa) in leaf_new()
381 static struct key_vector *tnode_new(t_key key, int pos, int bits) in tnode_new()
473 static inline void put_child_root(struct key_vector *tp, t_key key, in put_child_root()
941 struct key_vector **tp, u32 key) in fib_find_node()
1018 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 …]
/net/sctp/
Dauth.c61 void sctp_auth_key_put(struct sctp_auth_bytes *key) in sctp_auth_key_put()
75 struct sctp_auth_bytes *key; in sctp_auth_create_key() local
430 struct sctp_shared_key *key; in sctp_auth_get_shkey() local
833 struct sctp_auth_bytes *key; in sctp_auth_set_key() local
891 struct sctp_shared_key *key; in sctp_auth_set_active_key() local
924 struct sctp_shared_key *key; in sctp_auth_del_key_id() local
/net/sched/
Dcls_flower.c62 struct fl_flow_key key; member
86 struct fl_flow_key key; member
119 static void *fl_key_get_start(struct fl_flow_key *key, in fl_key_get_start()
125 static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, in fl_set_masked_key()
137 static void fl_clear_masked_range(struct fl_flow_key *key, in fl_clear_masked_range()
168 struct ip_tunnel_key *key = &info->key; in fl_classify() local
533 u32 key, mask; in fl_set_key_flags() local
552 struct flow_dissector_key_ip *key, in fl_set_key_ip()
565 struct fl_flow_key *key, struct fl_flow_key *mask) in fl_set_key()
1107 struct flow_dissector_key_ip *key, in fl_dump_key_ip()
[all …]
/net/rds/
Dbind.c60 u64 key = ((u64)addr << 32) | port; in rds_find_bound() local
82 u64 key; in rds_add_bound() local
/net/sunrpc/auth_gss/
Dgss_krb5_seqnum.c81 struct crypto_skcipher *key, in krb5_make_seq_num()
164 struct crypto_skcipher *key = kctx->seq; in krb5_get_seq_num() local

123456