mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
tests: Generate DPP Config Object for legacy network (PSK)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
634a130a52
commit
e6a6de2994
@ -890,6 +890,12 @@ def test_dpp_config_legacy_gen(dev, apdev):
|
|||||||
init_extra="conf=sta-psk pass=%s" % "passphrase".encode("hex"),
|
init_extra="conf=sta-psk pass=%s" % "passphrase".encode("hex"),
|
||||||
require_conf_success=True)
|
require_conf_success=True)
|
||||||
|
|
||||||
|
def test_dpp_config_legacy_gen_psk(dev, apdev):
|
||||||
|
"""Generate DPP Config Object for legacy network (PSK)"""
|
||||||
|
run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",
|
||||||
|
init_extra="conf=sta-psk psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
|
||||||
|
require_conf_success=True)
|
||||||
|
|
||||||
def test_dpp_config_dpp_gen_prime256v1(dev, apdev):
|
def test_dpp_config_dpp_gen_prime256v1(dev, apdev):
|
||||||
"""Generate DPP Config Object for DPP network (P-256)"""
|
"""Generate DPP Config Object for DPP network (P-256)"""
|
||||||
run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",
|
run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user