]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: DPP protocol - invalid Bootstrap Key in PKEX Commit-Reveal
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 3 Nov 2017 17:58:41 +0000 (19:58 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Nov 2017 17:59:47 +0000 (19:59 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_dpp.py

index ceec076f5869dac04f920f9d066c40d6096830f2..db00dff786a7f75e2721c04c33839aa3aead730d 100644 (file)
@@ -2600,3 +2600,13 @@ def test_dpp_proto_pkex_exchange_resp_invalid_status(dev, apdev):
     """DPP protocol testing - invalid Status in PKEX Exchange Response"""
     run_dpp_proto_pkex_resp_missing(dev, 46,
                                     "PKEX failed (peer indicated failure)")
+
+def test_dpp_proto_pkex_cr_req_invalid_bootstrap_key(dev, apdev):
+    """DPP protocol testing - invalid Bootstrap Key in PKEX Commit-Reveal Request"""
+    run_dpp_proto_pkex_req_missing(dev, 47,
+                                   "Peer bootstrapping key is invalid")
+
+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")