Denis Kenzior
1ddd047a73
unit: Remove calls to __eap_set_config
...
These just end up setting a value that is already the default.
2019-10-24 13:48:26 -05:00
James Prestwood
f71a28ce38
unit: update wsc/eapol with new eap_init
...
test-eapol was passing zero as the MTU, so this simply needed to be
updated to remove that parameter.
test-wsc was actually setting a MTU value so when building the
settings we now add the proper value so the MTU can be set with
__eap_set_config.
2019-10-11 15:45:26 -05:00
Denis Kenzior
f8af73f2c7
unit: Use l_container_of
2019-04-03 11:49:36 -05:00
Denis Kenzior
d22e57c994
treewide: Remove use of key-private.h
2018-10-19 00:31:41 -05:00
James Prestwood
5d31fc25d7
unit: updated unit test with eapol deauth removal
2018-06-27 16:45:53 -05:00
Denis Kenzior
7c0bc22b7c
unit: Update to the new API
2018-06-21 20:10:07 -05:00
Denis Kenzior
736db5c27c
unit: update to the new API
2018-05-01 16:19:38 -05:00
Denis Kenzior
973b7b4555
unit: Additional support checks for WSC tests
2018-01-24 11:07:36 -06:00
Denis Kenzior
9e0d11f948
unit: pin generation test depends on getrandom
...
Turn this test off if the kernel doesn't have it
2018-01-24 09:17:00 -06:00
Denis Kenzior
b64efb83bc
unit: Don't run WSC tests if kernel features missing
...
WSC uses Diffie-Hellman and AES-CBC, so don't bother running the tests
that need these in case the feature is not present in the kernel.
2018-01-23 15:50:32 -06:00
Andrew Zaborowski
fd661d5e9f
unit: Use new mpdu.h structs
2017-08-31 15:13:31 -05:00
Denis Kenzior
23d9b4c089
unit: Only run tests if checksum is available
2017-06-01 16:30:14 -05:00
Andrew Zaborowski
e05bfc5f98
unit: Update tests to pass ETH_P_PAE to __eapol_rx_packet
2017-04-18 11:43:19 -05:00
Denis Kenzior
15308201f9
unit: Add test for wsc_pin_generate
2017-02-17 12:27:27 -06:00
Denis Kenzior
40013e9981
unit: Add sanity check for wsc_pin_is_checksum_valid
2017-02-13 20:27:49 -06:00
Denis Kenzior
5a8d573ae4
unit: squash memory leak
2017-02-13 19:42:35 -06:00
Denis Kenzior
11f4ff2e25
unit: Add sanity check for wsc_is_pin_valid
2017-02-13 19:40:23 -06:00
Tim Kourt
eeb4f35bcb
unit: WSC unfragmented retransmission
2016-12-01 11:33:39 -06:00
Denis Kenzior
d26e224bfc
unit: Update to new eap_init API
2016-11-15 16:44:24 -06:00
Andrew Zaborowski
73e61fa787
unit: Update wsc test with eapol API changes
2016-11-03 10:24:22 -05:00
Andrew Zaborowski
bf65ce9096
unit: Update eapol and WSC tests for new eapol calls
2016-10-15 16:26:41 -05:00
Denis Kenzior
25fb91034a
unit: update to the new eapol_start API
2016-09-13 17:38:16 -05:00
Denis Kenzior
dc37dca24b
unit: Add testing of credential obtained events
2016-09-13 13:33:18 -05:00
Denis Kenzior
fb446dcb9f
unit: Update to the new EAPoL api
2016-09-12 10:03:37 -05:00
Denis Kenzior
e48220c7a6
unit: Verify M8 & EAP-Fail processing
2016-09-09 12:36:49 -05:00
Denis Kenzior
8cd797dced
unit: Add test for wsc_build_wsc_done
2016-09-08 21:28:38 -05:00
Denis Kenzior
588f8a555d
unit: Add test for wsc_parse_wsc_done
2016-09-08 21:28:26 -05:00
Denis Kenzior
70d3a01bda
unit: Add parsing of wsc_credential
2016-08-31 22:36:50 -05:00
Denis Kenzior
4f582753b5
unit: Add test for wsc_parse_m8_encrypted_settings
2016-08-31 22:00:52 -05:00
Denis Kenzior
fa8cbeea7c
unit: Add test for wsc_build_m8
2016-08-31 14:15:16 -05:00
Denis Kenzior
a2b740f161
unit: Add test for wsc_parse_m8
2016-08-31 14:15:11 -05:00
Denis Kenzior
387af676cf
unit: Add M6/M7 exchange test
2016-08-31 12:50:53 -05:00
Denis Kenzior
f542a18f4f
unit: Simplify verification
2016-08-31 12:37:30 -05:00
Denis Kenzior
9353da8bf3
unit: Add test for wsc_build_m7
2016-08-31 11:38:35 -05:00
Denis Kenzior
82b007f7b5
unit: Add test fo wsc_parse_m7
2016-08-31 11:38:22 -05:00
Denis Kenzior
f8eb76a93a
unit: Add test for wsc_build_m6_encrypted_settings
2016-08-31 11:16:30 -05:00
Denis Kenzior
2f09fbc348
unit: Add test for wsc_parse_m6_encrypted_settings
2016-08-31 11:16:15 -05:00
Denis Kenzior
11cb6e5d35
unit: Add test for wsc_build_m6
2016-08-31 11:14:48 -05:00
Denis Kenzior
6e9b5c912c
unit: Add test for wsc_parse_m6
2016-08-31 11:14:48 -05:00
Denis Kenzior
97771f80f1
unit: Add M4/M5 pair to end-to-end wsc test
2016-08-30 23:20:43 -05:00
Denis Kenzior
1820d7c33e
merge: M5 parse test
2016-08-30 23:18:19 -05:00
Denis Kenzior
ba8e0cd6b7
unit: Add test for wsc_build_m4_encrypted_settings
2016-08-30 13:58:32 -05:00
Denis Kenzior
f8af4886c4
unit: Add test for wsc_parse_m4_encrypted_settings
2016-08-30 13:58:06 -05:00
Denis Kenzior
a4bf3f3280
unit: Add M5 builder unit test
2016-08-30 09:46:33 -05:00
Denis Kenzior
5c88de6e65
unit: Add M5 parser unit test
2016-08-30 09:46:20 -05:00
Denis Kenzior
be1b2a3281
unit: Add end-to-end WSC handshake test
...
This only checks M1 & M3 message generation for now
2016-08-30 09:22:35 -05:00
Denis Kenzior
f05ed4683c
unit: Fix up EAP packet identifiers
...
Reset these to start at a sane value
2016-08-24 21:30:25 -05:00
Denis Kenzior
89207a4c81
unit: Add testing of Authenticator
...
Just to make sure our private/public/shared and KDF utilities work
properly.
2016-08-23 15:44:45 -05:00
Denis Kenzior
28a57b2eca
unit: Make valgrind happy
2016-08-19 16:16:16 -05:00
Denis Kenzior
76e1c73fd3
unit: Add M4 builder test
2016-08-19 15:25:05 -05:00