]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: AES-EAX error cases that were previously missed in EAP-PSK
authorJouni Malinen <jouni@codeaurora.org>
Tue, 16 Apr 2019 17:39:45 +0000 (20:39 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 16 Apr 2019 17:39:45 +0000 (20:39 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_eap_proto.py

index 3aa65b8f0eaa058a00c93a6483e87f551fe4700f..781bf96398be4aa1615e361837c84d9bb9591ee1 100644 (file)
@@ -2948,6 +2948,12 @@ def test_eap_proto_psk_errors(dev, apdev):
 
     tests = [(1, "os_get_random;eap_psk_process_1"),
              (1, "omac1_aes_128;eap_psk_process_3"),
+             (1, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_encrypt"),
+             (2, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_encrypt"),
+             (3, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_encrypt"),
+             (1, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_decrypt"),
+             (2, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_decrypt"),
+             (3, "=omac1_aes_vector;omac1_aes_128;aes_128_eax_decrypt"),
              (1, "aes_128_eax_decrypt;eap_psk_process_3"),
              (2, "aes_128_eax_decrypt;eap_psk_process_3"),
              (3, "aes_128_eax_decrypt;eap_psk_process_3"),
@@ -2980,6 +2986,7 @@ def test_eap_proto_psk_errors(dev, apdev):
                               note="No failure seen for %d:%s" % (count, func))
             dev[0].request("REMOVE_NETWORK all")
             dev[0].wait_disconnected()
+            dev[0].dump_monitor()
 
 EAP_SIM_SUBTYPE_START = 10
 EAP_SIM_SUBTYPE_CHALLENGE = 11