Home
last modified time | relevance | path

Searched refs:EAPOL_KEY_NONCE_LEN (Results 1 – 7 of 7) sorted by relevance

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto.c391 u_int8_t buf[2 * IEEE80211_ADDR_LEN + 2 * EAPOL_KEY_NONCE_LEN]; in ieee80211_derive_ptk()
400 ret = memcmp(anonce, snonce, EAPOL_KEY_NONCE_LEN) < 0; in ieee80211_derive_ptk()
401 memcpy(&buf[12], ret ? anonce : snonce, EAPOL_KEY_NONCE_LEN); in ieee80211_derive_ptk()
402 memcpy(&buf[44], ret ? snonce : anonce, EAPOL_KEY_NONCE_LEN); in ieee80211_derive_ptk()
H A Dieee80211_pae_output.c281 memcpy(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_send_4way_msg1()
335 memcpy(key->nonce, ic->ic_nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_send_4way_msg2()
398 memcpy(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_send_4way_msg3()
H A Dieee80211_var.h347 u_int8_t ic_globalcnt[EAPOL_KEY_NONCE_LEN];
348 u_int8_t ic_nonce[EAPOL_KEY_NONCE_LEN];
H A Dieee80211.h1029 #define EAPOL_KEY_NONCE_LEN 32 macro
1073 u_int8_t nonce[EAPOL_KEY_NONCE_LEN];
H A Dieee80211_pae_input.c257 memcpy(ni->ni_nonce, key->nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_recv_4way_msg1()
260 arc4random_buf(ic->ic_nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_recv_4way_msg1()
395 if (memcmp(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN) != 0) { in ieee80211_recv_4way_msg3()
H A Dieee80211_node.h325 u_int8_t ni_nonce[EAPOL_KEY_NONCE_LEN];
H A Dieee80211_node.c998 arc4random_buf(ic->ic_globalcnt, EAPOL_KEY_NONCE_LEN); in ieee80211_create_ibss()
2770 arc4random_buf(ni->ni_nonce, EAPOL_KEY_NONCE_LEN); in ieee80211_node_join_rsn()