pq-code-package / mlkem-native

High-assurance, high-performance ML-KEM implementation for mobile, pc, and server targets
https://pq-code-package.github.io/mlkem-native/dev/bench/
Apache License 2.0
11 stars 9 forks source link

CBMC proof of verify() #403

Closed rod-chapman closed 1 week ago

rod-chapman commented 1 week ago

Adds contracts and proof artefacts that establish both type-safety and partial correctness of verify().

All tests OK All proofs OK, but proof of crypto_kem_dec() should be re-checked following this PR. lint OK