mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:19:34 +01:00
unit: Better describe test data
This commit is contained in:
parent
40851ef246
commit
90877476e6
@ -66,6 +66,7 @@ struct eapol_key_data {
|
||||
uint16_t key_data_len;
|
||||
};
|
||||
|
||||
/* Random WPA EAPoL frame, using 2001 protocol */
|
||||
static const unsigned char eapol_key_data_1[] = {
|
||||
0x01, 0x03, 0x00, 0x5f, 0xfe, 0x00, 0x89, 0x00, 0x20, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x01, 0xd5, 0xe2, 0x13, 0x9b, 0x1b, 0x1c, 0x1e,
|
||||
@ -109,6 +110,7 @@ static struct eapol_key_data eapol_key_test_1 = {
|
||||
.key_data_len = 0,
|
||||
};
|
||||
|
||||
/* Random WPA2 EAPoL frame, using 2004 protocol */
|
||||
static const unsigned char eapol_key_data_2[] = {
|
||||
0x02, 0x03, 0x00, 0x75, 0x02, 0x00, 0x8a, 0x00, 0x10, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x6a, 0xce, 0x64, 0xc1, 0xa6, 0x44,
|
||||
@ -154,6 +156,7 @@ static struct eapol_key_data eapol_key_test_2 = {
|
||||
.key_data_len = 22,
|
||||
};
|
||||
|
||||
/* WPA2 frame, 1 of 4. For parameters see eapol_4way_test */
|
||||
static const unsigned char eapol_key_data_3[] = {
|
||||
0x02, 0x03, 0x00, 0x5f, 0x02, 0x00, 0x8a, 0x00, 0x10, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0xc2, 0xbb, 0x57, 0xab, 0x58, 0x8f, 0x92,
|
||||
@ -197,6 +200,7 @@ static struct eapol_key_data eapol_key_test_3 = {
|
||||
.key_data_len = 0,
|
||||
};
|
||||
|
||||
/* WPA2 frame, 2 of 4. For parameters see eapol_4way_test */
|
||||
static const unsigned char eapol_key_data_4[] = {
|
||||
0x01, 0x03, 0x00, 0x75, 0x02, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x89, 0xe9, 0x15, 0x65, 0x09, 0x4f,
|
||||
|
Loading…
Reference in New Issue
Block a user