Home
last modified time | relevance | path

Searched refs:wk_cipher (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/sys/
H A Dnet80211_crypto.h179 const struct ieee80211_cipher *wk_cipher; member
213 ((k).wk_cipher == &ieee80211_cipher_none)
223 (k)->wk_cipher->ic_detach(k)
225 (k)->wk_cipher->ic_attach(k)
228 (((k)->wk_cipher->ic_miclen > 0) ? \
229 (k)->wk_cipher->ic_demic(k, m, force) : \
233 ((k)->wk_cipher->ic_miclen > 0 ? \
234 (k)->wk_cipher->ic_enmic(k, m, force) : \
/titanic_50/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto.c109 k->wk_cipher = &ieee80211_cipher_none; in ieee80211_crypto_resetkey()
110 k->wk_private = k->wk_cipher->ic_attach(ic, k); in ieee80211_crypto_resetkey()
185 if (key->wk_cipher != cip || key->wk_flags != flags) { in ieee80211_crypto_newkey()
202 key->wk_cipher = cip; in ieee80211_crypto_newkey()
257 ASSERT(key->wk_cipher != NULL); in ieee80211_crypto_delkey_locked()
316 const struct ieee80211_cipher *cip = key->wk_cipher; in ieee80211_crypto_setkey()
377 cipher = key->wk_cipher->ic_cipher; in ieee80211_crypto_getciphertype()
400 cip = k->wk_cipher; in ieee80211_crypto_encap()
434 if (k->wk_cipher == &ieee80211_cipher_none || in ieee80211_crypto_decap()
435 k->wk_cipher == NULL) in ieee80211_crypto_decap()
[all …]
H A Dnet80211_output.c623 + (key != NULL ? key->wk_cipher->ic_header : 0)); in ieee80211_send_mgmt()
628 frm += key->wk_cipher->ic_header; in ieee80211_send_mgmt()
/titanic_50/usr/src/uts/common/io/ath/
H A Dath_aux.c751 } else if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_alloc()
770 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_key_delete()
867 ASSERT(k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP); in ath_keyset_tkip()
933 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_key_set()
H A Dath_main.c716 cip = k->wk_cipher; in ath_tx_start()
/titanic_50/usr/src/uts/common/io/mwl/
H A Dmwl.c2301 switch (k->wk_cipher->ic_cipher) { in mwl_key_delete()
2314 "unknown cipher %d\n", k->wk_cipher->ic_cipher); in mwl_key_delete()
2335 const struct ieee80211_cipher *cip = k->wk_cipher; in mwl_key_set()
2371 k->wk_cipher->ic_cipher); in mwl_key_set()
2813 cip = k->wk_cipher; in mwl_send()
/titanic_50/usr/src/uts/common/io/arn/
H A Darn_main.c1910 } else if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_TKIP && in arn_key_alloc()
1929 const struct ieee80211_cipher *cip = k->wk_cipher; in arn_key_delete()
2025 const struct ieee80211_cipher *cip = k->wk_cipher; in arn_key_set()
H A Darn_xmit.c1948 cip = k->wk_cipher; in arn_tx_start()
/titanic_50/usr/src/uts/common/io/wpi/
H A Dwpi.c1412 switch (k->wk_cipher->ic_cipher) { in wpi_key_set()
2171 if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_AES_CCM) {
/titanic_50/usr/src/uts/common/io/iwk/
H A Diwk2.c1830 switch (k->wk_cipher->ic_cipher) { in iwk_key_set()
2779 if (k->wk_cipher->ic_cipher == IEEE80211_CIPHER_AES_CCM) { in iwk_send()