Lines Matching refs:eapol
195 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_tx_key() local
211 if (eapol->default_wep_key) { in ieee802_1x_tx_key()
212 ieee802_1x_tx_key_one(hapd, sta, eapol->default_wep_key_idx, 1, in ieee802_1x_tx_key()
213 eapol->default_wep_key, in ieee802_1x_tx_key()
1723 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_rekey_broadcast() local
1728 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast()
1729 eapol->default_wep_key = os_malloc(hapd->conf->default_wep_key_len); in ieee802_1x_rekey_broadcast()
1730 if (eapol->default_wep_key == NULL || in ieee802_1x_rekey_broadcast()
1731 random_get_bytes(eapol->default_wep_key, in ieee802_1x_rekey_broadcast()
1734 os_free(eapol->default_wep_key); in ieee802_1x_rekey_broadcast()
1735 eapol->default_wep_key = NULL; in ieee802_1x_rekey_broadcast()
1740 eapol->default_wep_key, in ieee802_1x_rekey_broadcast()
1761 struct eapol_authenticator *eapol = hapd->eapol_auth; in ieee802_1x_rekey() local
1763 if (eapol->default_wep_key_idx >= 3) in ieee802_1x_rekey()
1764 eapol->default_wep_key_idx = in ieee802_1x_rekey()
1767 eapol->default_wep_key_idx++; in ieee802_1x_rekey()
1770 eapol->default_wep_key_idx); in ieee802_1x_rekey()
1776 os_free(eapol->default_wep_key); in ieee802_1x_rekey()
1777 eapol->default_wep_key = NULL; in ieee802_1x_rekey()
1785 eapol->default_wep_key_idx, 1, NULL, 0, in ieee802_1x_rekey()
1786 eapol->default_wep_key, in ieee802_1x_rekey()
1791 os_free(eapol->default_wep_key); in ieee802_1x_rekey()
1792 eapol->default_wep_key = NULL; in ieee802_1x_rekey()