From: Jouni Malinen Date: Fri, 3 Nov 2017 17:58:41 +0000 (+0200) Subject: tests: DPP protocol - invalid Bootstrap Key in PKEX Commit-Reveal X-Git-Tag: hostap_2_7~891 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4639aaa0bc0d98311fcca5cfaef03a9947199e;p=thirdparty%2Fhostap.git tests: DPP protocol - invalid Bootstrap Key in PKEX Commit-Reveal Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index ceec076f5..db00dff78 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -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")