3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-16 17:09:24 +01:00
Commit Graph

120 Commits

Author SHA1 Message Date
Denis Kenzior
a3820a6f41 unit: Update to the new API 2016-05-11 15:54:16 -05:00
Denis Kenzior
0fde36b0af unit: Update to the new API 2016-02-10 16:55:26 -06:00
Denis Kenzior
98b580a224 unit: Add SHA-256 based KDF unit test 2016-02-10 16:31:01 -06:00
Denis Kenzior
fa852d1c48 unit: Remove references to sha1.h 2016-02-10 14:36:27 -06:00
Denis Kenzior
752981fdd8 unit: Update include for pbkdf2_sha1 2016-02-10 14:33:30 -06:00
Denis Kenzior
b190283be7 unit: Update header for prf_sha1 2016-02-10 14:17:01 -06:00
Denis Kenzior
694ed08e30 unit: Update header for hmac_sha1 2016-02-10 14:13:25 -06:00
Andrew Zaborowski
f23499cc3e unit: Add an EAPoL+EAP failure test 2015-11-02 21:51:07 -06:00
Andrew Zaborowski
4c04db5618 unit: Add an EAPOL+EAP-TTLS+EAP-MD5 scenario test 2015-11-02 21:51:07 -06:00
Andrew Zaborowski
13e4432b5e unit: Add an EAPOL+EAP-TLS test 2015-11-02 21:51:07 -06:00
Andrew Zaborowski
2bccb7e7dc eapol: Remove user_data from __eapol_rx_packet args
Instead of passing the user_data parameter in every __eapol_rx_packet
call to be used by EAPOL in all tx_packet calls, add
eapol_sm_set_tx_user_data function that sets the value of user_data for
all subsequent tx_packet calls.  This way tx_packet can be called from
places that are not necessarily inside an __eapol_rx_packet call.
2015-11-02 21:40:21 -06:00
Andrew Zaborowski
ef9b6f41ce eapol: Separate EAPOL header from struct eapol_key
This is needed so we can better handle sending and receiving EAPoL
packets other than EAPoL-Key.
2015-11-02 21:40:21 -06:00
Denis Kenzior
d377b4c31f unit: Add unit test for wsc_uuid_from_addr 2015-09-18 17:16:28 -05:00
Denis Kenzior
e055460709 wsc: Rename wsc.[ch] to wscutil.[ch] 2015-09-10 23:07:34 -05:00
Denis Kenzior
6a368c0f6e unit: Add ie encapsulation for wsc test 2015-09-10 22:47:50 -05:00
Denis Kenzior
9d79ce45e4 unit: Add build_probe_request unit test 2015-09-09 09:32:12 -05:00
Denis Kenzior
0608443641 unit: Add WSC ProbeRequest parser test 2015-09-09 08:52:52 -05:00
Denis Kenzior
1dd59c05b0 unit: Add beacon frame unit test 2015-07-23 19:42:50 -05:00
Denis Kenzior
10db370b72 unit: Add checking of WFA-Ext attributes
AuthorizedMACs and Registrar Configuration Methods should be checked as
well.
2015-07-23 16:47:34 -05:00
Marcel Holtmann
02c3645c69 unit: Remove two unused variables 2015-07-19 18:43:48 +02:00
Denis Kenzior
8a9062aff3 unit: Add unit test for ProbeResponse parser 2015-07-17 14:54:12 -05:00
Denis Kenzior
89dd69e160 unit: Update to handle WFA Extension recursion 2015-07-15 14:44:52 -05:00
Denis Kenzior
7ed96289f8 unit: Add sanity check for WSC iterators 2015-07-15 12:52:46 -05:00
Denis Kenzior
e6cb22f412 unit: add ie concatenation tests 2015-07-09 16:27:49 -05:00
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
Ravi kumar Veeramally
c573abf3f3 unit: Unit tests for vendor specific IE 2015-03-16 12:17:07 -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