From 63215b32a8e12a58c10b5ad54038aad1545cc6ed Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 16 Apr 2019 20:39:45 +0300 Subject: [PATCH] tests: AES-EAX error cases that were previously missed in EAP-PSK Signed-off-by: Jouni Malinen --- tests/hwsim/test_eap_proto.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 3aa65b8f0..781bf9639 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -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