tests: Skip too short SAE-PK passwords in positive testing
Lambda >= 12 is needed with Sec = 2, so drop the shorter password lengths in the sae_pk and module_wpa_supplicant test cases. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d777156e1f
commit
2c7b5a2c5f
2 changed files with 1 additions and 7 deletions
|
@ -36,7 +36,7 @@ def test_sae_pk(dev, apdev):
|
|||
m = "431ff8322f93b9dc50ded9f3d14ace22"
|
||||
pk = "MHcCAQEEIAJIGlfnteonDb7rQyP/SGQjwzrZAnfrXIm4280VWajYoAoGCCqGSM49AwEHoUQDQgAEeRkstKQV+FSAMqBayqFknn2nAQsdsh/MhdX6tiHOTAFin/sUMFRMyspPtIu7YvlKdsexhI0jPVhaYZn1jKWhZg=="
|
||||
|
||||
for i in range(6, len(pw) + 1):
|
||||
for i in range(14, len(pw) + 1):
|
||||
p = pw[:i]
|
||||
if p.endswith('-'):
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue