-
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.
Make verified ML-KEM available in
libcrux-ml-kem
(#329)
* Revert changes to Kyber (Round 3) for ML-KEM * Fix swapped private key decoding * Pull out Kyber encaps * Make Kyber API available behind `kyber` feature * Format * Introduce `kyber` feature in `libcrux-kem` * Format * Include verified ML-KEM in `libcrux-ml-kem` * WIP separation of verified API * Integrating pre-verification and verified testing * Integrating verified ML-KEM in `libcrux-kem` * Format * Test portable pre-verification ML-KEM 768 * fix C extraction * Fix typo * Give more accurate test names (`kyber...` to `mlkem...`) * Avoid unused warning when testing * Use `Hasher` trait to select best KDF for Kyber * Document differences between Kyber (Round 3) and ML-KEM * Inline ML-KEM/Kyber variant differences * `kyber{512,768,1024}` top level modules * Fix `kyber` feature in `libcrux-kem` * Rename NIST KAT files for ML-KEM * Include NIST KATs for all Kyber parameter sets * Document single Kyber 768 KAT from boringssl * Format * Test Kyber on CI * Fix insufficient feature gating * Get rid of various warnings * Format * Remove commented `use` declarations * Fix `unused_mut` warning * Feature gating helper macros * Fix hax extraction * Feature flag documentation * Fix mistaken feature guards * Remove commented code * `size` -> `len` * Drop explicit dependency on `hax-lib-macros` * Hide helper macro docs * Formatting * Call out the `kyber` feature more prominently * Feature gate tests etc so `--no-std-features` tests * cleanup; make features work * more cleanup and docs * update hax extraction * fixup x64 and hax extract * update C extraction * update header only C code * update C code * install cargo hack on ci * ci * more updates --------- Co-authored-by: Franziskus Kiefer <franziskuskiefer@gmail.com>
- Loading branch information
1 parent
2ebae74
commit ea4bd36
Showing
140 changed files
with
9,943 additions
and
12,806 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
This code was generated with the following tools: | ||
Charon: ae55966c01a1a4b185a1a34da7861ba5db74c8ad | ||
Eurydice: bbfd102bbfbc3e4c362953f093dbfd65e2fbc10c | ||
Charon: 23f20c184e51015582b7918ea4f1eb063b28daba | ||
Eurydice: 30fdb50add4dabaee90051878c166bac8c5ac26a | ||
Karamel: 42a431696cd32d41155d7e484720eb71fd5dc7b1 | ||
F*: f09228ef9a64ac4ef383ee0e10656ccb612db2ee | ||
F*: a32b316e521fa4f239b610ec8f1d15e78d62cbe8-dirty |
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
Oops, something went wrong.