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
Denis Kenzior
5322daa79a
unit: Add M4 parser unit test
2016-08-19 15:15:53 -05:00
Denis Kenzior
61047664c9
unit: Add M3 builder unit test
2016-08-18 17:59:15 -05:00
Denis Kenzior
951eb26ec0
unit: Add M3 parser unit test
2016-08-18 17:48:42 -05:00
Denis Kenzior
b80254375b
unit: Add another M2 parser test
2016-08-18 17:29:47 -05:00
Denis Kenzior
2ec8f0e17d
unit: Add another M1 build test
2016-08-18 16:36:07 -05:00
Denis Kenzior
8e6c2cea65
unit: Add another M1 parser test
2016-08-18 16:32:06 -05:00
Denis Kenzior
038341edcd
unit: Add another DH generator test
2016-08-18 16:25:27 -05:00
Denis Kenzior
84be16c76f
unit: Add test for M2 builder
2016-08-17 22:20:46 -05:00
Denis Kenzior
ed6e5665d4
unit: Add M2 parser unit test
2016-08-17 22:20:44 -05:00
Denis Kenzior
b8e54d2834
unit: Add M1 builder unit test
2016-08-16 15:28:48 -05:00
Denis Kenzior
1c5988b0b8
unit: Update to new wscutil api
2016-08-16 12:31:23 -05:00
Denis Kenzior
62e485839f
unit: compare public key to expected value as well
2016-08-15 10:56:37 -05:00
Denis Kenzior
a5d3e583ff
unit: Add DH5 pubkey generation test
2016-08-15 10:52:44 -05:00
Denis Kenzior
2a4398847c
unit: Add test for M1 parser
2016-08-15 10:47:33 -05:00
Denis Kenzior
a22e3394fc
unit: Update to eapol's protocol version changes
2016-08-10 16:34:19 -05:00
Denis Kenzior
86ad3c4e03
unit: Fix style
2016-08-10 16:31:35 -05:00
Denis Kenzior
a5c79de774
unit: Silence some benign warnings
2016-08-10 16:31:04 -05:00
Mat Martineau
9112f7e18e
unit: Use PKCS8 private keys
...
ELL's TLS implementation is being converted to keyctl crypto, which
currently requires PKCS8 formatted keys.
2016-08-10 12:15:41 -05:00
Mat Martineau
60a9638f51
unit: Fix uninitialized variable
2016-08-10 12:14:42 -05:00
Denis Kenzior
63878a84c1
unit: Update to the new eapol api
2016-06-28 18:18:50 -05:00
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