Searched refs:k_len (Results 1 – 10 of 10) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_pae_output.c | 179 *frm++ = 6 + k->k_len; in ieee80211_add_gtk_kde() 191 memcpy(frm, k->k_key, k->k_len); in ieee80211_add_gtk_kde() 192 return frm + k->k_len; in ieee80211_add_gtk_kde() 381 2 + IEEE80211_RSNIE_MAXLEN + 2 + 6 + k->k_len + 15 + in ieee80211_send_4way_msg3() 510 k->k_len : 2 + 6 + k->k_len) + in ieee80211_send_group_msg1() 527 BE_WRITE_2(key->keylen, k->k_len); in ieee80211_send_group_msg1() 528 memcpy(frm, k->k_key, k->k_len); in ieee80211_send_group_msg1() 529 frm += k->k_len; in ieee80211_send_group_msg1() 585 BE_WRITE_2(key->keylen, k->k_len); in ieee80211_send_group_msg2()
|
H A D | ieee80211_pae_input.c | 353 return (k->k_cipher == IEEE80211_CIPHER_NONE || k->k_len != len || in ieee80211_must_update_group_key() 565 k->k_len = keylen; in ieee80211_recv_4way_msg3() 566 memcpy(k->k_key, ni->ni_ptk.tk, k->k_len); in ieee80211_recv_4way_msg3() 605 k->k_len = keylen; in ieee80211_recv_4way_msg3() 606 memcpy(k->k_key, >k[8], k->k_len); in ieee80211_recv_4way_msg3() 642 k->k_len = 16; in ieee80211_recv_4way_msg3() 643 memcpy(k->k_key, &igtk[14], k->k_len); in ieee80211_recv_4way_msg3() 724 k->k_len = ieee80211_cipher_keylen(k->k_cipher); in ieee80211_recv_4way_msg4() 725 memcpy(k->k_key, ni->ni_ptk.tk, k->k_len); in ieee80211_recv_4way_msg4() 898 k->k_len = keylen; in ieee80211_recv_rsn_group_msg1() [all …]
|
H A D | ieee80211_crypto_wep.c | 126 memcpy(wepseed + IEEE80211_WEP_IVLEN, k->k_key, k->k_len); in ieee80211_wep_encrypt() 127 rc4_keysetup(&ctx->rc4, wepseed, IEEE80211_WEP_IVLEN + k->k_len); in ieee80211_wep_encrypt() 222 memcpy(wepseed + IEEE80211_WEP_IVLEN, k->k_key, k->k_len); in ieee80211_wep_decrypt() 223 rc4_keysetup(&ctx->rc4, wepseed, IEEE80211_WEP_IVLEN + k->k_len); in ieee80211_wep_decrypt()
|
H A D | ieee80211_crypto.h | 83 u_int k_len; member
|
H A D | ieee80211_proto.c | 449 k->k_len = ieee80211_cipher_keylen(k->k_cipher); in ieee80211_setkeys() 450 arc4random_buf(k->k_key, k->k_len); in ieee80211_setkeys() 460 k->k_len = 16; in ieee80211_setkeys() 461 arc4random_buf(k->k_key, k->k_len); in ieee80211_setkeys()
|
H A D | ieee80211_node.c | 252 k->k_len = ieee80211_cipher_keylen(k->k_cipher); in ieee80211_ess_setnwkeys() 254 error = copyin(nwkey->i_key[i].i_keydat, k->k_key, k->k_len); in ieee80211_ess_setnwkeys() 1019 k->k_len = ieee80211_cipher_keylen(k->k_cipher); in ieee80211_create_ibss() 1020 arc4random_buf(k->k_key, k->k_len); in ieee80211_create_ibss() 1030 k->k_len = 16; in ieee80211_create_ibss() 1031 arc4random_buf(k->k_key, k->k_len); in ieee80211_create_ibss()
|
H A D | ieee80211_ioctl.c | 253 k->k_len = ieee80211_cipher_keylen(k->k_cipher); in ieee80211_ioctl_setnwkeys() 255 error = copyin(nwkey->i_key[i].i_keydat, k->k_key, k->k_len); in ieee80211_ioctl_setnwkeys()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwm.c | 6925 memcpy(tx->key, k->k_key, MIN(sizeof(tx->key), k->k_len)); in iwm_tx() 9153 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwm_set_key_v1() 9186 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwm_set_key() 9209 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwm_delete_key_v1() 9242 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwm_delete_key()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2860.c | 3211 RAL_WRITE_REGION_1(sc, base, k->k_key, k->k_len); in rt2860_set_key()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 8492 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwx_add_sta_key() 8572 memcpy(cmd.common.key, k->k_key, MIN(sizeof(cmd.common.key), k->k_len)); in iwx_delete_key()
|