Home
last modified time | relevance | path

Searched refs:ic_cipher (Results 1 – 18 of 18) sorted by relevance

/NextBSD/sys/net80211/
HDieee80211_crypto.c195 if (cip->ic_cipher >= IEEE80211_CIPHER_MAX) { in ieee80211_crypto_register()
197 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_register()
200 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_register()
205 ciphers[cip->ic_cipher] = cip; in ieee80211_crypto_register()
214 if (cip->ic_cipher >= IEEE80211_CIPHER_MAX) { in ieee80211_crypto_unregister()
216 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_unregister()
219 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_unregister()
226 ciphers[cip->ic_cipher] = NULL; in ieee80211_crypto_unregister()
HDieee80211_crypto_none.c59 .ic_cipher = IEEE80211_CIPHER_NONE,
HDieee80211_ddb.c769 switch (cip->ic_cipher) { in _db_show_key()
795 cip->ic_cipher, wk->wk_keyix, 8*keylen); in _db_show_key()
807 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
810 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
HDieee80211_crypto.h174 u_int ic_cipher; /* IEEE80211_CIPHER_* */ member
HDieee80211_crypto_wep.c61 .ic_cipher = IEEE80211_CIPHER_WEP,
HDieee80211_crypto_ccmp.c74 .ic_cipher = IEEE80211_CIPHER_AES_CCM,
HDieee80211_freebsd.c678 iev.iev_cipher = k->wk_cipher->ic_cipher; in ieee80211_notify_replay_failure()
HDieee80211_crypto_tkip.c65 .ic_cipher = IEEE80211_CIPHER_TKIP,
HDieee80211_ioctl.c101 ik.ik_type = cip->ic_cipher; in ieee80211_ioctl_getkey()
111 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP) { in ieee80211_ioctl_getkey()
/NextBSD/sys/dev/ath/
HDif_ath_keycache.c129 KASSERT(k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP, in ath_keyset_tkip()
130 ("got a non-TKIP key, cipher %u", k->wk_cipher->ic_cipher)); in ath_keyset_tkip()
210 KASSERT(cip->ic_cipher < nitems(ciphermap), in ath_keyset()
211 ("invalid cipher type %u", cip->ic_cipher)); in ath_keyset()
212 hk.kv_type = ciphermap[cip->ic_cipher]; in ath_keyset()
471 } else if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_alloc()
501 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
510 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
/NextBSD/sys/dev/usb/wlan/
HDif_urtwn.c1988 switch (k->wk_cipher->ic_cipher) { in urtwn_key_set_cb()
2003 __func__, k->wk_cipher->ic_cipher); in urtwn_key_set_cb()
2008 "macaddr %s\n", k->wk_keyix, keyid, k->wk_cipher->ic_cipher, algo, in urtwn_key_set_cb()
2703 switch (k->wk_cipher->ic_cipher) { in urtwn_tx_data()
2713 __func__, k->wk_cipher->ic_cipher); in urtwn_tx_data()
2756 switch (k->wk_cipher->ic_cipher) { in urtwn_tx_raw()
2767 __func__, k->wk_cipher->ic_cipher); in urtwn_tx_raw()
HDif_rum.c1266 cipher = k->wk_cipher->ic_cipher; in rum_tx_crypto_flags()
2607 if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP) { in rum_common_key_set()
2631 mode = rum_crypto_mode(sc, k->wk_cipher->ic_cipher, k->wk_keylen); in rum_group_key_set_cb()
2686 mode = rum_crypto_mode(sc, k->wk_cipher->ic_cipher, k->wk_keylen); in rum_pair_key_set_cb()
HDif_rsu.c1269 switch (k->wk_cipher->ic_cipher) { in rsu_set_key()
2172 switch (k->wk_cipher->ic_cipher) { in rsu_tx_start()
HDif_run.c2240 u_int cipher = k->wk_cipher->ic_cipher; in run_key_set_cb()
/NextBSD/sys/dev/mwl/
HDif_mwl.c1570 switch (k->wk_cipher->ic_cipher) { in mwl_key_delete()
1583 __func__, k->wk_cipher->ic_cipher); in mwl_key_delete()
1642 switch (cip->ic_cipher) { in _mwl_key_set()
1671 __func__, k->wk_cipher->ic_cipher); in _mwl_key_set()
/NextBSD/sys/dev/wpi/
HDif_wpi.c2900 switch (k->wk_cipher->ic_cipher) { in wpi_tx_data()
3014 switch (k->wk_cipher->ic_cipher) { in wpi_tx_data_raw()
4594 switch (cip->ic_cipher) { in wpi_load_key()
4601 cip->ic_cipher); in wpi_load_key()
/NextBSD/sys/dev/if_ndis/
HDif_ndis.c2539 if (vap->iv_nw_keys[i].wk_cipher->ic_cipher != in ndis_auth_and_assoc()
3080 switch (key->wk_cipher->ic_cipher) { in ndis_add_key()
/NextBSD/sys/dev/ipw/
HDif_ipw.c2011 wk->wk_cipher->ic_cipher != IEEE80211_CIPHER_WEP) in ipw_setwepkeys()