Home
last modified time | relevance | path

Searched refs:wk_keylen (Results 1 – 15 of 15) sorted by relevance

/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto_wep.c119 return k->wk_keylen >= 40/NBBY; in wep_setkey()
363 memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, key->wk_keylen); in wep_encrypt()
369 keylen = key->wk_keylen + IEEE80211_WEP_IVLEN; in wep_encrypt()
446 memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, key->wk_keylen); in wep_decrypt()
452 keylen = key->wk_keylen + IEEE80211_WEP_IVLEN; in wep_decrypt()
H A Dieee80211_crypto.c505 key->wk_keylen); in _ieee80211_crypto_delkey()
573 key->wk_keylen); in ieee80211_crypto_setkey()
591 key->wk_keylen, key->wk_flags); in ieee80211_crypto_setkey()
H A Dieee80211_crypto_ccmp.c128 if (k->wk_keylen != (128/NBBY)) { in ccmp_setkey()
131 __func__, k->wk_keylen, 128/NBBY); in ccmp_setkey()
135 rijndael_set_key(&ctx->cc_aes, k->wk_key, k->wk_keylen*NBBY); in ccmp_setkey()
H A Dieee80211_crypto.h75 uint8_t wk_keylen; /* key length in bytes */ member
H A Dieee80211_ioctl.c105 ik.ik_keylen = wk->wk_keylen; in ieee80211_ioctl_getkey()
113 memcpy(ik.ik_keydata, wk->wk_key, wk->wk_keylen); in ieee80211_ioctl_getkey()
115 memcpy(ik.ik_keydata+wk->wk_keylen, in ieee80211_ioctl_getkey()
826 len = (u_int) vap->iv_nw_keys[kid].wk_keylen; in ieee80211_ioctl_get80211()
1224 wk->wk_keylen = ik.ik_keylen; in ieee80211_ioctl_setkey()
1226 if (wk->wk_keylen > IEEE80211_KEYBUF_SIZE) in ieee80211_ioctl_setkey()
1227 wk->wk_keylen = IEEE80211_KEYBUF_SIZE; in ieee80211_ioctl_setkey()
2824 k->wk_keylen = ireq->i_len; in ieee80211_ioctl_set80211()
H A Dieee80211_crypto_tkip.c140 if (k->wk_keylen != (128/NBBY)) { in tkip_setkey()
144 __func__, k->wk_keylen, 128/NBBY); in tkip_setkey()
H A Dieee80211_ddb.c919 int keylen = wk->wk_keylen; in _db_show_key()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_cam.c197 if (k->wk_keylen < 8) in rtwn_key_set_cb0()
217 k->wk_cipher->ic_cipher, algo, k->wk_flags, k->wk_keylen, in rtwn_key_set_cb0()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_keycache.c213 hk.kv_len = k->wk_keylen; in ath_keyset()
214 memcpy(hk.kv_val, k->wk_key, k->wk_keylen); in ath_keyset()
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_rum.c1464 mode = rum_crypto_mode(sc, cipher, k->wk_keylen); in rum_tx_crypto_flags()
2866 if (rum_write_multi(sc, base, k->wk_key, k->wk_keylen)) in rum_common_key_set()
2893 mode = rum_crypto_mode(sc, k->wk_cipher->ic_cipher, k->wk_keylen); in rum_group_key_set_cb()
2948 mode = rum_crypto_mode(sc, k->wk_cipher->ic_cipher, k->wk_keylen); in rum_pair_key_set_cb()
H A Dif_run.c2378 if(k->wk_keylen < 8) in run_key_set_cb()
2419 if(run_write_region_1(sc, base, k->wk_key, (k->wk_keylen + 1) & ~1)) in run_key_set_cb()
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c2024 wepkey.len = wk->wk_keylen; in ipw_setwepkeys()
2026 memcpy(wepkey.key, wk->wk_key, wk->wk_keylen); in ipw_setwepkeys()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c1646 hk.keyLen = k->wk_keylen; in _mwl_key_set()
1659 hk.keyLen = k->wk_keylen + IEEE80211_MICBUF_SIZE; in _mwl_key_set()
1665 hk.keyLen = k->wk_keylen; in _mwl_key_set()
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c2922 memcpy(tx->key, k->wk_key, k->wk_keylen); in wpi_tx_data()
3036 memcpy(tx->key, k->wk_key, k->wk_keylen); in wpi_tx_data_raw()
4632 memcpy(node.key, k->wk_key, k->wk_keylen); in wpi_load_key()
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwi.c2539 wepkey.len = wk->wk_keylen; in iwi_setwepkeys()
2541 memcpy(wepkey.key, wk->wk_key, wk->wk_keylen); in iwi_setwepkeys()