From c20d3ca8f7f67cf1b4715185370019cd60fc895d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 3 Nov 2017 20:18:52 +0200 Subject: [PATCH] tests: DPP protocol - I/R-auth tag mismatch in PKEX Commit-Reveal Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index db00dff78..b8b0f4575 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -2610,3 +2610,11 @@ def test_dpp_proto_pkex_cr_resp_invalid_bootstrap_key(dev, apdev): """DPP protocol testing - invalid Bootstrap Key in PKEX Commit-Reveal Response""" run_dpp_proto_pkex_resp_missing(dev, 48, "Peer bootstrapping key is invalid") + +def test_dpp_proto_pkex_cr_req_i_auth_tag_mismatch(dev, apdev): + """DPP protocol testing - I-auth tag mismatch in PKEX Commit-Reveal Request""" + run_dpp_proto_pkex_req_missing(dev, 49, "No valid u (I-Auth tag) found") + +def test_dpp_proto_pkex_cr_resp_r_auth_tag_mismatch(dev, apdev): + """DPP protocol testing - R-auth tag mismatch in PKEX Commit-Reveal Response""" + run_dpp_proto_pkex_resp_missing(dev, 50, "No valid v (R-Auth tag) found")