/freebsd/sys/net80211/ |
H A D | ieee80211_crypto_none.c | 49 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 D | ieee80211_crypto.h | 74 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 D | ieee80211_crypto_wep.c | 50 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 D | ieee80211_crypto_gcmp.c | 73 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 D | ieee80211_crypto.c | 51 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 D | ieee80211_crypto_ccmp.c | 63 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 D | ieee80211_crypto_tkip.c | 54 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 D | ieee80211_superg.h | 141 int, struct ieee80211_key *); 143 int hdrspace, struct ieee80211_key *key);
|
H A D | ieee80211_var.h | 512 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 D | if_ath_keycache.h | 35 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 D | if_ath_keycache.c | 122 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 D | if_rtwn_cam.c | 110 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 D | if_rtwn_cam.h | 22 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 D | if_rtwn_tx.c | 142 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 D | if_mtwvar.h | 187 struct ieee80211_key key; 247 struct ieee80211_key *k; 248 struct ieee80211_key key;
|
H A D | if_runvar.h | 109 struct ieee80211_key *k; 110 struct ieee80211_key key;
|
H A D | if_rum.c | 175 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 D | if_rsu.c | 207 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 D | if_rumvar.h | 72 struct ieee80211_key key;
|
/freebsd/sys/dev/wpi/ |
H A D | if_wpi.c | 250 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 D | test_wep.c | 188 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 106 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 D | if_otus.c | 194 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 D | test_ccmp.c | 595 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()
|
/freebsd/tools/regression/net80211/tkip/ |
H A D | test_tkip.c | 183 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; in runtest()
|