Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature
kyber
for Round 3 Kyber API (#327)
* 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 * 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 * update code for C generation Also drop unused test feature in ml-kem crate * update generated C code --------- Co-authored-by: Franziskus Kiefer <[email protected]>
- Loading branch information