/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_wep.c | 119 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 D | ieee80211_crypto.c | 505 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 D | ieee80211_crypto_ccmp.c | 128 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 D | ieee80211_crypto.h | 75 uint8_t wk_keylen; /* key length in bytes */ member
|
H A D | ieee80211_ioctl.c | 105 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 D | ieee80211_crypto_tkip.c | 140 if (k->wk_keylen != (128/NBBY)) { in tkip_setkey() 144 __func__, k->wk_keylen, 128/NBBY); in tkip_setkey()
|
H A D | ieee80211_ddb.c | 919 int keylen = wk->wk_keylen; in _db_show_key()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_cam.c | 197 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 D | if_ath_keycache.c | 213 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 D | if_rum.c | 1464 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 D | if_run.c | 2378 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 D | if_ipw.c | 2024 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 D | if_mwl.c | 1646 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 D | if_wpi.c | 2922 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 D | if_iwi.c | 2539 wepkey.len = wk->wk_keylen; in iwi_setwepkeys() 2541 memcpy(wepkey.key, wk->wk_key, wk->wk_keylen); in iwi_setwepkeys()
|