Home
last modified time | relevance | path

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

12

/netbsd-src/sys/net80211/
H A Dieee80211_crypto.h72 struct ieee80211_key { struct
125 struct ieee80211_key cs_nw_keys[IEEE80211_WEP_NKID];
130 const struct ieee80211_key *,
133 const struct ieee80211_key *);
135 const struct ieee80211_key *,
144 int cipher, int flags, struct ieee80211_key *);
146 struct ieee80211_key *);
148 struct ieee80211_key *, const u_int8_t macaddr[IEEE80211_ADDR_LEN]);
163 void* (*ic_attach)(struct ieee80211com *, struct ieee80211_key *);
164 void (*ic_detach)(struct ieee80211_key *);
[all …]
H A Dieee80211_crypto_none.c57 static void *none_attach(struct ieee80211com *, struct ieee80211_key *);
58 static void none_detach(struct ieee80211_key *);
59 static int none_setkey(struct ieee80211_key *);
60 static int none_encap(struct ieee80211_key *, struct mbuf *, u_int8_t);
61 static int none_decap(struct ieee80211_key *, struct mbuf *, int);
62 static int none_enmic(struct ieee80211_key *, struct mbuf *, int);
63 static int none_demic(struct ieee80211_key *, struct mbuf *, int);
81 none_attach(struct ieee80211com *ic, struct ieee80211_key *k) in none_attach()
87 none_detach(struct ieee80211_key *k) in none_detach()
93 none_setkey(struct ieee80211_key *k) in none_setkey()
[all …]
H A Dieee80211_crypto_ccmp.c74 static void *ccmp_attach(struct ieee80211com *, struct ieee80211_key *);
75 static void ccmp_detach(struct ieee80211_key *);
76 static int ccmp_setkey(struct ieee80211_key *);
77 static int ccmp_encap(struct ieee80211_key *k, struct mbuf *, u_int8_t keyid);
78 static int ccmp_decap(struct ieee80211_key *, struct mbuf *, int);
79 static int ccmp_enmic(struct ieee80211_key *, struct mbuf *, int);
80 static int ccmp_demic(struct ieee80211_key *, struct mbuf *, int);
100 static int ccmp_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
101 static int ccmp_decrypt(struct ieee80211_key *, u_int64_t pn,
105 ccmp_attach(struct ieee80211com *ic, struct ieee80211_key *k) in ccmp_attach()
[all …]
H A Dieee80211_crypto_wep.c60 static void *wep_attach(struct ieee80211com *, struct ieee80211_key *);
61 static void wep_detach(struct ieee80211_key *);
62 static int wep_setkey(struct ieee80211_key *);
63 static int wep_encap(struct ieee80211_key *, struct mbuf *, u_int8_t keyid);
64 static int wep_decap(struct ieee80211_key *, struct mbuf *, int hdrlen);
65 static int wep_enmic(struct ieee80211_key *, struct mbuf *, int);
66 static int wep_demic(struct ieee80211_key *, struct mbuf *, int);
85 static int wep_encrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
86 static int wep_decrypt(struct ieee80211_key *, struct mbuf *, int hdrlen);
94 wep_attach(struct ieee80211com *ic, struct ieee80211_key *k) in wep_attach()
[all …]
H A Dieee80211_crypto.c80 struct ieee80211_key *);
86 null_key_alloc(struct ieee80211com *ic, const struct ieee80211_key *k, in null_key_alloc()
112 null_key_delete(struct ieee80211com *ic, const struct ieee80211_key *k) in null_key_delete()
118 null_key_set(struct ieee80211com *ic, const struct ieee80211_key *k, in null_key_set()
134 cipher_detach(struct ieee80211_key *key) in cipher_detach()
143 dev_key_alloc(struct ieee80211com *ic, const struct ieee80211_key *key, in dev_key_alloc()
150 dev_key_delete(struct ieee80211com *ic, const struct ieee80211_key *key) in dev_key_delete()
156 dev_key_set(struct ieee80211com *ic, const struct ieee80211_key *key, in dev_key_set()
268 struct ieee80211_key *key) in ieee80211_crypto_newkey()
427 _ieee80211_crypto_delkey(struct ieee80211com *ic, struct ieee80211_key *key) in _ieee80211_crypto_delkey()
[all …]
H A Dieee80211_crypto_tkip.c64 static void *tkip_attach(struct ieee80211com *, struct ieee80211_key *);
65 static void tkip_detach(struct ieee80211_key *);
66 static int tkip_setkey(struct ieee80211_key *);
67 static int tkip_encap(struct ieee80211_key *, struct mbuf *m, u_int8_t keyid);
68 static int tkip_enmic(struct ieee80211_key *, struct mbuf *, int);
69 static int tkip_decap(struct ieee80211_key *, struct mbuf *, int);
70 static int tkip_demic(struct ieee80211_key *, struct mbuf *, int);
111 static int tkip_encrypt(struct tkip_ctx *, struct ieee80211_key *,
113 static int tkip_decrypt(struct tkip_ctx *, struct ieee80211_key *,
117 tkip_attach(struct ieee80211com *ic, struct ieee80211_key *k) in tkip_attach()
[all …]
H A Dieee80211_proto.h234 const struct ieee80211_key *, int,
H A Dieee80211_output.c409 struct ieee80211_key *key, struct mbuf *m) in ieee80211_mbuf_adjust()
496 static __inline struct ieee80211_key *
514 static __inline struct ieee80211_key *
536 struct ieee80211_key *key; in ieee80211_encap()
827 const struct ieee80211_key *wk, int len, in ieee80211_compute_duration()
H A Dieee80211_node.h119 struct ieee80211_key ni_ucastkey; /* unicast key */
H A Dieee80211_ioctl.c778 struct ieee80211_key *k = &ic->ic_nw_keys[i]; in ieee80211_cfgset()
878 struct ieee80211_key *wk; in ieee80211_ioctl_getkey()
1623 struct ieee80211_key *wk; in ieee80211_ioctl_setkey()
2048 struct ieee80211_key *k; in ieee80211_ioctl_set80211()
2565 struct ieee80211_key *k; in ieee80211_ioctl()
/netbsd-src/sys/dev/ic/
H A Dbwfmvar.h36 struct ieee80211_key;
194 const struct ieee80211_key *key;
H A Dathnvar.h655 struct ieee80211_key *);
657 struct ieee80211_key *);
H A Drtw.c101 static int rtw_key_delete(struct ieee80211com *, const struct ieee80211_key *);
102 static int rtw_key_set(struct ieee80211com *, const struct ieee80211_key *,
106 static int rtw_wep_decap(struct ieee80211_key *, struct mbuf *, int);
107 static void rtw_wep_setkeys(struct rtw_softc *, struct ieee80211_key *, int);
533 rtw_wep_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen) in rtw_wep_decap()
535 struct ieee80211_key keycopy; in rtw_wep_decap()
546 rtw_key_delete(struct ieee80211com *ic, const struct ieee80211_key *k) in rtw_key_delete()
563 rtw_key_set(struct ieee80211com *ic, const struct ieee80211_key *k, in rtw_key_set()
619 rtw_key_hwsupp(uint32_t flags, const struct ieee80211_key *k) in rtw_key_hwsupp()
629 rtw_wep_setkeys(struct rtw_softc *sc, struct ieee80211_key *wk, int txkey) in rtw_wep_setkeys()
[all …]
H A Dbwfm.c71 int bwfm_key_set(struct ieee80211com *, const struct ieee80211_key *,
73 int bwfm_key_delete(struct ieee80211com *, const struct ieee80211_key *);
810 bwfm_key_set(struct ieee80211com *ic, const struct ieee80211_key *wk, in bwfm_key_set()
833 const struct ieee80211_key *wk = ck->key; in bwfm_key_set_cb()
903 bwfm_key_delete(struct ieee80211com *ic, const struct ieee80211_key *wk) in bwfm_key_delete()
926 const struct ieee80211_key *wk = ck->key; in bwfm_key_delete_cb()
H A Dath.c138 const struct ieee80211_key *,
141 const struct ieee80211_key *);
142 static int ath_key_set(struct ieee80211com *, const struct ieee80211_key *,
1537 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, in ath_keyset_tkip()
1600 ath_keyset(struct ath_softc *sc, const struct ieee80211_key *k, in ath_keyset()
1802 ath_key_alloc(struct ieee80211com *ic, const struct ieee80211_key *k, in ath_key_alloc()
1859 ath_key_delete(struct ieee80211com *ic, const struct ieee80211_key *k) in ath_key_delete()
1904 ath_key_set(struct ieee80211com *ic, const struct ieee80211_key *k, in ath_key_set()
3645 struct ieee80211_key *k; in ath_tx_start()
H A Datw.c232 static int atw_key_delete(struct ieee80211com *, const struct ieee80211_key *);
233 static int atw_key_set(struct ieee80211com *, const struct ieee80211_key *,
2113 atw_key_delete(struct ieee80211com *ic, const struct ieee80211_key *k) in atw_key_delete()
2129 atw_key_set(struct ieee80211com *ic, const struct ieee80211_key *k, in atw_key_set()
3506 struct ieee80211_key *k; in atw_start()
H A Drt2860.c151 const struct ieee80211_key *, const uint8_t *);
153 const struct ieee80211_key *);
1646 struct ieee80211_key *k = ieee80211_crypto_encap(ic, ni, m); in rt2860_tx()
3105 rt2860_set_key(struct ieee80211com *ic, const struct ieee80211_key *ck, in rt2860_set_key()
3113 struct ieee80211_key *k = __UNCONST(ck); /* XXX */ in rt2860_set_key()
3215 rt2860_delete_key(struct ieee80211com *ic, const struct ieee80211_key *k) in rt2860_delete_key()
/netbsd-src/sys/dev/pci/
H A Dif_rtwnreg.h135 struct ieee80211_key key;
/netbsd-src/sys/dev/usb/
H A Dif_otusvar.h159 struct ieee80211_key key;
H A Dif_runvar.h117 struct ieee80211_key key;
H A Dif_otus.c169 struct ieee80211_key *);
172 struct ieee80211_key *);
1948 struct ieee80211_key *k; in otus_tx()
2927 struct ieee80211_key *k) in otus_set_key()
2952 struct ieee80211_key *k; in otus_set_key_cb()
3003 struct ieee80211_key *k) in otus_delete_key()
3026 struct ieee80211_key *k; in otus_delete_key_cb()
H A Dif_athn_usb.h420 struct ieee80211_key *key;
H A Dif_athn_usb.c189 struct ieee80211_node *, struct ieee80211_key *);
192 struct ieee80211_node *, struct ieee80211_key *);
1857 struct ieee80211_key *k) in athn_usb_set_key()
1895 struct ieee80211_key *k) in athn_usb_delete_key()
2461 struct ieee80211_key *k = NULL; in athn_usb_tx()
H A Dif_ural.c1181 struct ieee80211_key *k; in ural_tx_mgt()
1270 struct ieee80211_key *k; in ural_tx_data()
2082 struct ieee80211_key *wk; in ural_init()
/netbsd-src/sys/dev/pcmcia/
H A Dif_malo_pcmcia.c121 struct ieee80211_key *);
1210 struct ieee80211_key *key = &ic->ic_crypto.cs_nw_keys[i]; in cmalo_wep()
1509 struct ieee80211_key *key) in cmalo_cmd_set_wep()

12