]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: DPP protocol - I/R-auth tag mismatch in PKEX Commit-Reveal
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 3 Nov 2017 18:18:52 +0000 (20:18 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Nov 2017 18:18:52 +0000 (20:18 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dpp.py

index db00dff786a7f75e2721c04c33839aa3aead730d..b8b0f4575aa308339c34c6b92ac8f5690dff2340 100644 (file)
@@ -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")