Compare commits

...

2 Commits

Author SHA1 Message Date
Abhinav Saxena
11ecc6a66f
Merge 325286187fe076994e7d9862fdf00d7a9ccbcbbc into 4215362acbf69b88fe1777c4c052f154e29f9897 2025-06-23 14:37:33 -04:00
Abhinav Saxena
325286187f update ACVP to 1.1.0.40
Signed-off-by: Abhinav Saxena <abhinav.saxena@thalesgroup.com>
2025-06-20 15:19:51 +05:30
7 changed files with 5129 additions and 5174 deletions

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

View File

@ -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"

View File

@ -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