3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:59:22 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
Denis Kenzior
d33db27a84 unit: Add additional sanity checks 2015-05-19 00:07:23 -05:00
Denis Kenzior
3b3ed6defe unit: Add another WPA1 TK/GTK handshake test 2015-05-18 14:56:55 -05:00
Denis Kenzior
72babefa33 unit: Update to the new API
This commit also fixes the unit test data for GTK Step 2 since we now
include WPA Key Index in this frame
2015-05-18 14:45:13 -05:00
Denis Kenzior
6500fd4264 unit: Unify verify_* functions 2015-05-18 14:16:45 -05:00
Denis Kenzior
76890aea3c unit: Unify snonce funcs
The snonce function will just copy the nonce value from snonce global
variable.  This lets us avoid multiple functions that do essentially the
same thing.
2015-05-18 14:08:14 -05:00
Denis Kenzior
cc97b53528 unit: Add WPA1 GTK Step 2/2 test data + test 2015-05-18 14:04:07 -05:00
Denis Kenzior
1b6240cd05 unit: Add WPA1 GTK Step 1/2 test data + test 2015-05-18 14:04:05 -05:00
Denis Kenzior
a684e64dbb unit: Add WPA1 Step 4/4 test data + test 2015-05-18 14:04:03 -05:00
Denis Kenzior
bbbd8f67d3 unit: Add WPA1 Step 3/4 test data + test 2015-05-18 14:04:01 -05:00
Denis Kenzior
b6677680f2 unit: Add WPA1 Step 2/4 test data + test 2015-05-18 14:03:42 -05:00
Denis Kenzior
039ab49357 unit: Add WPA1 Step 1/4 test data + test 2015-05-18 14:02:48 -05:00
Andrew Zaborowski
6c9bf06f73 unit: WPA+TKIP handshake logic tests. 2015-05-18 13:58:54 -05:00
Andrew Zaborowski
6bb31ac5b4 unit: WPA+TKIP EAPOL-Key frame tests. 2015-05-18 13:58:34 -05:00
Denis Kenzior
2f13c5617b unit: Add call to eapol_verify_gtk_2_of_2 2015-05-05 22:08:06 -05:00
Andrew Zaborowski
30c277f8d6 unit: GTK Handshake tests. 2015-05-05 21:39:19 -05:00
Andrew Zaborowski
eae718091d unit: Update to new eapol API 2015-05-05 21:36:52 -05:00
Andrew Zaborowski
bb2be272ae unit: Assert eapol_key_validate is valid first
Before running eapol_verify_ptk_2_of_4, assert that eapol_key_validate
did not return NULL.
2015-05-05 21:35:02 -05:00
Denis Kenzior
b044385cdc unit: Update to the new EAPoL API 2015-03-19 23:57:37 -05:00
Denis Kenzior
d6d24c9d15 unit: Update to the new eapol API 2015-03-19 23:57:36 -05:00
Denis Kenzior
effe260028 unit: update to the new eapol API 2015-03-19 23:57:36 -05:00
Denis Kenzior
0a8c1e8aa6 unit: Update to the new API 2015-03-19 20:32:09 -05:00
Denis Kenzior
b43a4610f7 unit: Add setting of AP RSNE 2015-02-24 22:15:30 -06:00
Denis Kenzior
63718343e5 unit: Track the decrypted_key_data_size 2015-02-24 16:00:27 -06:00
Denis Kenzior
95e8c854a5 unit: Fix unused variable warning 2015-02-24 12:09:37 -06:00
Denis Kenzior
5fb648d9fc unit: Add EAPoL state machine test 2015-02-24 11:14:31 -06:00
Denis Kenzior
9c65772551 unit: Fix verification of MIC 2015-02-24 10:43:05 -06:00
Denis Kenzior
cdfa59227a unit: Update to the new API 2015-02-23 15:43:35 -06:00
Denis Kenzior
1326f7ab61 unit: Call eapol_verify_mic 2015-02-18 21:13:20 -06:00
Denis Kenzior
a9ba927eb0 unit: Update includes 2015-02-18 21:02:29 -06:00
Denis Kenzior
7168376c8e unit: Update include 2015-02-18 20:56:57 -06:00
Denis Kenzior
57c51a2e12 unit: Decrypt key data and verify RSN is present 2015-02-17 17:41:08 -06:00
Denis Kenzior
d8931f5b58 unit: Remove unneeded function 2015-02-17 17:40:55 -06:00
Denis Kenzior
9fee4a3422 unit: Remove unneeded hexdumps 2015-02-13 20:41:21 -06:00
Denis Kenzior
a1d00805a4 unit: Excercise eapol_verify_ptk_4_of_4 2015-02-13 18:38:29 -06:00
Denis Kenzior
190dbd335d unit: Utilize eapol_verify_ptk_3_of_4 2015-02-13 16:50:29 -06:00
Denis Kenzior
8b3b95e889 unit: Update to the new API 2015-02-13 16:09:45 -06:00
Denis Kenzior
729d2d7f2c unit: make sure that MIC calculation succeeds 2015-02-13 14:24:12 -06:00
Denis Kenzior
11de45fa4d unit: Handle key_replay_counter as a uint64_t 2015-02-13 13:55:05 -06:00
Denis Kenzior
bacd459caf unit: Add EAPoL WPA2 Step 4 of 4 Frame 2015-02-13 13:49:02 -06:00
Denis Kenzior
3058ee3fd1 unit: Add EAPoL WPA2 Step 3 of 4 Frame 2015-02-13 13:48:51 -06:00
Denis Kenzior
90877476e6 unit: Better describe test data 2015-02-12 22:04:09 -06:00
Tomasz Bursztyka
33ab01f669 unit: Update to the new eapol_key_validate API
eapol_key_validate will directly return a const pointer if the
validation succeeds.
2015-01-22 12:20:19 -06:00
Denis Kenzior
8b3ec52c09 unit: Fix memory leaks 2014-12-27 23:49:03 -06:00
Denis Kenzior
04efa8fd0b unit: Add 2 steps of 4-way handshake test 2014-12-27 23:06:14 -06:00
Denis Kenzior
812a55177c unit: Add eapol_calculate_mic test 2014-12-27 23:06:12 -06:00
Denis Kenzior
da56653f1f unit: Remove hexdumps 2014-12-27 23:04:14 -06:00
Denis Kenzior
7be2fe7cc8 unit: Add MIC calculation test 2014-12-27 22:34:40 -06:00
Denis Kenzior
f8c5e4d93b unit: Add another EAPoL test frame
This one is 2 of 4
2014-12-27 22:34:39 -06:00
Denis Kenzior
c1b3858a07 unit: Add a call to eapol_verify in unit test 2014-12-27 22:34:39 -06:00
Denis Kenzior
1504e947ff unit: Add another EAPoL-Key frame test 2014-12-27 22:34:39 -06:00