Home
last modified time | relevance | path

Searched refs:ieee80211_key (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/sys/net80211/
H A Dieee80211_crypto_none.c49 static void *none_attach(struct ieee80211vap *, struct ieee80211_key *);
50 static void none_detach(struct ieee80211_key *);
51 static int none_setkey(struct ieee80211_key *);
52 static void none_setiv(struct ieee80211_key *, uint8_t *);
53 static int none_encap(struct ieee80211_key *, struct mbuf *);
54 static int none_decap(struct ieee80211_key *, struct mbuf *, int);
55 static int none_enmic(struct ieee80211_key *, struct mbuf *, int);
56 static int none_demic(struct ieee80211_key *, struct mbuf *, int);
75 none_attach(struct ieee80211vap *vap, struct ieee80211_key *k) in none_attach()
81 none_detach(struct ieee80211_key *k) in none_detach()
[all …]
H A Dieee80211_crypto.h74 struct ieee80211_key { struct
192 int cipher, int flags, struct ieee80211_key *);
194 struct ieee80211_key *);
195 int ieee80211_crypto_setkey(struct ieee80211vap *, struct ieee80211_key *);
213 void* (*ic_attach)(struct ieee80211vap *, struct ieee80211_key *);
214 void (*ic_detach)(struct ieee80211_key *);
215 int (*ic_setkey)(struct ieee80211_key *);
216 void (*ic_setiv)(struct ieee80211_key *, uint8_t *);
217 int (*ic_encap)(struct ieee80211_key *, struct mbuf *);
218 int (*ic_decap)(struct ieee80211_key *, struct mbuf *, int);
[all …]
H A Dieee80211_crypto_wep.c50 static void *wep_attach(struct ieee80211vap *, struct ieee80211_key *);
51 static void wep_detach(struct ieee80211_key *);
52 static int wep_setkey(struct ieee80211_key *);
53 static void wep_setiv(struct ieee80211_key *, uint8_t *);
54 static int wep_encap(struct ieee80211_key *, struct mbuf *);
55 static int wep_decap(struct ieee80211_key *, struct mbuf *, int);
56 static int wep_enmic(struct ieee80211_key *, struct mbuf *, int);
57 static int wep_demic(struct ieee80211_key *, struct mbuf *, int);
75 static int wep_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
76 static int wep_decrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
[all …]
H A Dieee80211_crypto_gcmp.c73 static void *gcmp_attach(struct ieee80211vap *, struct ieee80211_key *);
74 static void gcmp_detach(struct ieee80211_key *);
75 static int gcmp_setkey(struct ieee80211_key *);
76 static void gcmp_setiv(struct ieee80211_key *, uint8_t *);
77 static int gcmp_encap(struct ieee80211_key *, struct mbuf *);
78 static int gcmp_decap(struct ieee80211_key *, struct mbuf *, int);
79 static int gcmp_enmic(struct ieee80211_key *, struct mbuf *, int);
80 static int gcmp_demic(struct ieee80211_key *, struct mbuf *, int);
117 static int gcmp_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
118 static int gcmp_decrypt(struct ieee80211_key *, u_int64_t pn,
[all …]
H A Dieee80211_crypto.c51 struct ieee80211_key *);
62 null_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in null_key_alloc()
87 null_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in null_key_delete()
92 null_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in null_key_set()
102 cipher_detach(struct ieee80211_key *key) in cipher_detach()
108 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) in cipher_attach()
118 struct ieee80211_key *key, in dev_key_alloc()
126 const struct ieee80211_key *key) in dev_key_delete()
132 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) in dev_key_set()
338 int cipher, int flags, struct ieee80211_key *key) in ieee80211_crypto_newkey()
[all …]
H A Dieee80211_crypto_ccmp.c63 static void *ccmp_attach(struct ieee80211vap *, struct ieee80211_key *);
64 static void ccmp_detach(struct ieee80211_key *);
65 static int ccmp_setkey(struct ieee80211_key *);
66 static void ccmp_setiv(struct ieee80211_key *, uint8_t *);
67 static int ccmp_encap(struct ieee80211_key *, struct mbuf *);
68 static int ccmp_decap(struct ieee80211_key *, struct mbuf *, int);
69 static int ccmp_enmic(struct ieee80211_key *, struct mbuf *, int);
70 static int ccmp_demic(struct ieee80211_key *, struct mbuf *, int);
89 static int ccmp_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
90 static int ccmp_decrypt(struct ieee80211_key *, u_int64_t pn,
[all …]
H A Dieee80211_crypto_tkip.c54 static void *tkip_attach(struct ieee80211vap *, struct ieee80211_key *);
55 static void tkip_detach(struct ieee80211_key *);
56 static int tkip_setkey(struct ieee80211_key *);
57 static void tkip_setiv(struct ieee80211_key *, uint8_t *);
58 static int tkip_encap(struct ieee80211_key *, struct mbuf *);
59 static int tkip_enmic(struct ieee80211_key *, struct mbuf *, int);
60 static int tkip_decap(struct ieee80211_key *, struct mbuf *, int);
61 static int tkip_demic(struct ieee80211_key *, struct mbuf *, int);
100 static int tkip_encrypt(struct tkip_ctx *, struct ieee80211_key *,
102 static int tkip_decrypt(struct tkip_ctx *, struct ieee80211_key *,
[all …]
H A Dieee80211_superg.h141 int, struct ieee80211_key *);
143 int hdrspace, struct ieee80211_key *key);
H A Dieee80211_var.h512 struct ieee80211_key iv_nw_keys[IEEE80211_WEP_NKID];
514 struct ieee80211_key *,
517 const struct ieee80211_key *);
519 const struct ieee80211_key *);
841 const struct ieee80211_key *key);
843 const struct ieee80211_key *key);
/freebsd/sys/dev/ath/
H A Dif_ath_keycache.h35 extern int ath_key_alloc(struct ieee80211vap *, struct ieee80211_key *,
37 extern int ath_key_delete(struct ieee80211vap *, const struct ieee80211_key *);
38 extern int ath_key_set(struct ieee80211vap *, const struct ieee80211_key *);
40 const struct ieee80211_key *k, struct ieee80211_node *bss);
H A Dif_ath_keycache.c122 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, in ath_keyset_tkip()
184 const struct ieee80211_key *k, in ath_keyset()
417 ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in ath_key_alloc()
486 ath_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in ath_key_delete()
530 ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in ath_key_set()
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_cam.c110 rtwn_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in rtwn_key_alloc()
183 rtwn_key_set_cb0(struct rtwn_softc *sc, const struct ieee80211_key *k) in rtwn_key_set_cb0()
255 const struct ieee80211_key *k = &data->key; in rtwn_key_set_cb()
269 const struct ieee80211_key *k = rvp->keys[i]; in rtwn_init_static_keys()
283 struct ieee80211_key *k = &data->key; in rtwn_key_del_cb()
300 rtwn_process_key(struct ieee80211vap *vap, const struct ieee80211_key *k, in rtwn_process_key()
331 rtwn_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in rtwn_key_set()
337 rtwn_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in rtwn_key_delete()
H A Dif_rtwn_cam.h22 int rtwn_key_alloc(struct ieee80211vap *, struct ieee80211_key *,
24 int rtwn_key_set(struct ieee80211vap *, const struct ieee80211_key *);
26 int rtwn_key_delete(struct ieee80211vap *, const struct ieee80211_key *);
H A Dif_rtwn_tx.c142 struct ieee80211_key *k = NULL; in rtwn_tx_data()
225 struct ieee80211_key *k = NULL; in rtwn_tx_raw()
/freebsd/sys/dev/usb/wlan/
H A Dif_mtwvar.h187 struct ieee80211_key key;
247 struct ieee80211_key *k;
248 struct ieee80211_key key;
H A Dif_runvar.h109 struct ieee80211_key *k;
110 struct ieee80211_key key;
H A Dif_rum.c175 struct rum_tx_desc *, struct ieee80211_key *,
179 const struct ieee80211_key *);
248 struct ieee80211_key *, uint16_t);
258 struct ieee80211_key *, ieee80211_keyix *,
261 const struct ieee80211_key *);
263 const struct ieee80211_key *);
1354 struct ieee80211_key *k, uint32_t flags, uint8_t xflags, uint8_t qid, in rum_setup_tx_desc()
1453 const struct ieee80211_key *k) in rum_tx_crypto_flags()
1491 struct ieee80211_key *k = NULL; in rum_tx_mgt()
1622 struct ieee80211_key *k = NULL; in rum_tx_data()
[all …]
H A Dif_rsu.c207 static int rsu_key_alloc(struct ieee80211vap *, struct ieee80211_key *,
210 const struct ieee80211_key *, int);
212 const struct ieee80211_key *);
214 const struct ieee80211_key *);
220 const struct ieee80211_key *);
222 const struct ieee80211_key *);
1523 rsu_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in rsu_key_alloc()
1561 rsu_process_key(struct ieee80211vap *vap, const struct ieee80211_key *k, in rsu_process_key()
1615 rsu_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in rsu_key_set()
1621 rsu_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in rsu_key_delete()
[all …]
H A Dif_rumvar.h72 struct ieee80211_key key;
/freebsd/sys/dev/wpi/
H A Dif_wpi.c250 const struct ieee80211_key *);
254 const struct ieee80211_key *);
257 const struct ieee80211_key *, int);
259 const struct ieee80211_key *);
261 const struct ieee80211_key *);
2789 struct ieee80211_key *k = NULL; in wpi_tx_data()
2956 struct ieee80211_key *k = NULL; in wpi_tx_data_raw()
4592 wpi_load_key(struct ieee80211_node *ni, const struct ieee80211_key *k) in wpi_load_key()
4658 const struct ieee80211_key *k = arg; in wpi_load_key_cb()
4681 struct ieee80211_key *wk = &vap->iv_nw_keys[0]; in wpi_set_global_keys()
[all …]
/freebsd/tools/regression/net80211/wep/
H A Dtest_wep.c188 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c106 struct ieee80211_key *,
109 const struct ieee80211_key *);
111 const struct ieee80211_key *);
113 const struct ieee80211_key *,
1512 mwl_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, in mwl_key_alloc()
1540 mwl_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) in mwl_key_delete()
1584 addgroupflags(MWL_HAL_KEYVAL *hk, const struct ieee80211_key *k) in addgroupflags()
1601 mwl_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) in mwl_key_set()
1607 _mwl_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k, in _mwl_key_set()
3092 struct ieee80211_key *k; in mwl_tx_start()
[all …]
/freebsd/sys/dev/otus/
H A Dif_otus.c194 struct ieee80211_key *);
197 struct ieee80211_key *);
2227 struct ieee80211_key *k; in otus_tx()
2951 struct ieee80211_key *k) in otus_set_key()
2972 struct ieee80211_key *k = &cmd->key; in otus_set_key_cb()
3018 struct ieee80211_key *k) in otus_delete_key()
3037 struct ieee80211_key *k = &cmd->key; in otus_delete_key_cb()
/freebsd/tools/regression/net80211/ccmp/
H A Dtest_ccmp.c595 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()
/freebsd/tools/regression/net80211/tkip/
H A Dtest_tkip.c183 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()

123