Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KATs #118

Open
ounsworth opened this issue Mar 5, 2025 · 0 comments
Open

Add KATs #118

ounsworth opened this issue Mar 5, 2025 · 0 comments

Comments

@ounsworth
Copy link
Contributor

For Composite KEM, we should follow exactly the ACVP test vector format, which can be found here:

https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-keyGen-FIPS203/expectedResults.json
https://github.com/usnistgov/ACVP-Server/blob/master/gen-val/json-files/ML-KEM-encapDecap-FIPS203/expectedResults.json

That would mean that for each composite, we include a JSON blob like:

 "tests": [
        {
          "tcId": "id-MLKEM768-RSA2048",
          "ek": "A1B2C3...",
          "dk": "3CB2A1...",
          "c": "5A9B...",
          "k": "F91B8C7477A6005992EE947BB365EBF1CFE15688BD25DEEFAD54F90922B4B84C"
        },
}
@ounsworth ounsworth changed the title KATs Add KATs Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant