3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 22:42:37 +01:00

eapol: Rearrange data structure members

The order follows the rough order of initialization, as information
becomes available from the calling code or via steps of the 4-way
handshake.
This commit is contained in:
Denis Kenzior 2015-03-19 20:50:10 -05:00
parent 31ce761469
commit 12d529eddb

View File

@ -426,15 +426,15 @@ struct eapol_key *eapol_create_ptk_4_of_4(
}
struct eapol_sm {
uint8_t pmk[32];
uint64_t replay_counter;
uint8_t sta_addr[6];
uint8_t snonce[32];
uint8_t aa_addr[6];
uint8_t anonce[32];
uint8_t ptk[64];
uint8_t *ap_rsn;
uint8_t *own_rsn;
uint8_t pmk[32];
uint64_t replay_counter;
uint8_t snonce[32];
uint8_t anonce[32];
uint8_t ptk[64];
bool have_snonce:1;
bool have_replay:1;
};