tests: Update SAE local error tests to match implementation
The change to use a shared dragonfly_generate_scalar() helper function resulted in failures in sae_no_random and sae_bignum_failure test cases due to renamed functions and removed uses. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
73338db029
commit
fbd671acb5
1 changed files with 3 additions and 3 deletions
|
@ -1118,8 +1118,7 @@ def test_sae_no_random(dev, apdev):
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
dev[0].request("SET sae_groups ")
|
dev[0].request("SET sae_groups ")
|
||||||
tests = [(1, "os_get_random;sae_get_rand"),
|
tests = [(1, "os_get_random;sae_derive_pwe_ecc")]
|
||||||
(1, "os_get_random;sae_derive_pwe_ecc")]
|
|
||||||
for count, func in tests:
|
for count, func in tests:
|
||||||
with fail_test(dev[0], count, func):
|
with fail_test(dev[0], count, func):
|
||||||
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
||||||
|
@ -1218,7 +1217,8 @@ def test_sae_bignum_failure(dev, apdev):
|
||||||
dev[0].request("SET sae_groups 15")
|
dev[0].request("SET sae_groups 15")
|
||||||
tests = [(1, "crypto_bignum_init_set;sae_set_group"),
|
tests = [(1, "crypto_bignum_init_set;sae_set_group"),
|
||||||
(2, "crypto_bignum_init_set;sae_set_group"),
|
(2, "crypto_bignum_init_set;sae_set_group"),
|
||||||
(1, "crypto_bignum_init_set;sae_get_rand"),
|
(1, "crypto_bignum_init;sae_derive_commit"),
|
||||||
|
(2, "crypto_bignum_init;sae_derive_commit"),
|
||||||
(1, "crypto_bignum_init_set;sae_test_pwd_seed_ffc"),
|
(1, "crypto_bignum_init_set;sae_test_pwd_seed_ffc"),
|
||||||
(1, "crypto_bignum_exptmod;sae_test_pwd_seed_ffc"),
|
(1, "crypto_bignum_exptmod;sae_test_pwd_seed_ffc"),
|
||||||
(1, "crypto_bignum_init;sae_derive_pwe_ffc"),
|
(1, "crypto_bignum_init;sae_derive_pwe_ffc"),
|
||||||
|
|
Loading…
Reference in a new issue