-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add domain separation to K-PKE generation * Clarify index ordering and remove cautionary comment * Update documentation * Update to use latest test vectors, in ACVP format * Exclude test vectors from published crates
- Loading branch information
1 parent
19e8266
commit 26e8c8a
Showing
12 changed files
with
1,953 additions
and
1,072 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ML-KEM Test Vectors | ||
=================== | ||
|
||
The tests in this directory validate that our ML-KEM implementation successfully | ||
validates the NIST test vectors. The JSON test vector files are taken from the | ||
[NIST ACVP repository]. Specifically, `key-gen.json` and `encap-decap.json` are | ||
the "internal projection" files from the [ML-KEM key generation test | ||
directory][keyGen] and [encap/decap test directory][encapDecap], respectively. | ||
|
||
The current copies of these files were taken from commit [65370b8] of that repo. | ||
|
||
The actual tests to be performed are described in the [ACVP documentation]. | ||
|
||
[NIST ACVP repository]: https://github.com/usnistgov/ACVP-Server/tree/master | ||
[keyGen]: https://github.com/usnistgov/ACVP-Server/tree/master/gen-val/json-files/ML-KEM-keyGen-FIPS203 | ||
[encapDecap]: https://github.com/usnistgov/ACVP-Server/tree/master/gen-val/json-files/ML-KEM-encapDecap-FIPS203 | ||
[65370b8]: https://github.com/usnistgov/ACVP-Server/commit/65370b861b96efd30dfe0daae607bde26a78a5c8 | ||
[ACVP documentation]: https://github.com/usnistgov/ACVP/tree/2f786fac5b516733b58889d61a8473113ed62ee3/src/ml-kem/sections |
Oops, something went wrong.