mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-07-16 00:01:31 -04:00
Compare commits
2 Commits
30175de778
...
11ecc6a66f
Author | SHA1 | Date | |
---|---|---|---|
|
11ecc6a66f | ||
|
325286187f |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,7 +3,7 @@
|
||||
|
||||
# This script fetches the ACVP vectors for ML-DSA and ML-KEM
|
||||
|
||||
rel_name="1.1.0.39"
|
||||
rel_name="1.1.0.40"
|
||||
rel_url="https://github.com/usnistgov/ACVP-Server/archive/refs/tags/v$rel_name.tar.gz"
|
||||
fld_vecs="ACVP-Server-$rel_name/gen-val/json-files"
|
||||
|
||||
|
@ -55,7 +55,7 @@ def test_acvp_vec_kem_encdec_aft(kem_name):
|
||||
|
||||
variantFound = False
|
||||
for variant in ml_kem_encdec_acvp["testGroups"]:
|
||||
if variant["parameterSet"] == kem_name and variant["testType"] == "AFT":
|
||||
if variant["parameterSet"] == kem_name and variant["function"] == "encapsulation":
|
||||
variantFound = True
|
||||
for testCase in variant["tests"]:
|
||||
#prompt
|
||||
@ -85,10 +85,10 @@ def test_acvp_vec_kem_encdec_val(kem_name):
|
||||
|
||||
variantFound = False
|
||||
for variant in ml_kem_encdec_acvp["testGroups"]:
|
||||
if variant["parameterSet"] == kem_name and variant["testType"] == "VAL":
|
||||
if variant["parameterSet"] == kem_name and variant["function"] == "decapsulation":
|
||||
variantFound = True
|
||||
sk = variant["dk"]
|
||||
for testCase in variant["tests"]:
|
||||
sk = testCase["dk"]
|
||||
#prompt
|
||||
c = testCase["c"]
|
||||
#expected results
|
||||
|
Loading…
x
Reference in New Issue
Block a user