Commit 083be6c
committed
Merged PR 11640865: Implement ML-DSA (FIPS 204)
This PR implements the newly standardized post-quantum signature algorithm, ML-DSA (FIPS 204).
- Adds new APIs for ML-DSA key generation, export, import, signing and verification
- Currently written as a portable C implementation; no intrinsics yet
- Includes Known Answer Tests from NIST and other community sources
- Includes unit tests for low-level ML-DSA arithmetic and, pairwise consistency tests and error-handling
- Has basic scaffolding for multi-implementation tests, but no comparison of results as we have not yet integrated another ML-DSA implementation to compare against
## To be done in a future PR:
- Perf optimizations - #55435592
- FIPS selftests (algorithm/key generation/import) - #55450288
- Update status indicator
- Add libcrux implementation to verify against
Related work items: #554351131 parent 4a94d37 commit 083be6c
File tree
40 files changed
+36050
-362
lines changed- inc
- lib
- modules
- linux/common
- windows
- kernel
- user
- msbuild
- unittest
- inc
- lib
- module_windows
40 files changed
+36050
-362
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
0 commit comments