Verification of the (1–δ)-Correctness Proof of CRYSTALS-KYBER with Number Theoretic Transform
Formalizes CRYSTALS-KYBER and its NTT in Isabelle, verifies the (1 − δ)-correctness proof, finds a flaw, and fixes it with a modulus property the NTT prime already satisfies.
Schemes: CRYSTALS-KYBER, NTT
Findings (quotes checked against the source text)
-
Formalizing KYBER's specification and algorithm exposed a problem in the (1 − δ)-correctness proof.
During the formalization, a problem in the correctness proof was uncovered.
-
The fix adds a necessary property on KYBER's modulus parameter.
In order to amend this issue, a necessary property on the modulus parameter of the CRYSTALS-KYBER algorithm was introduced.
-
The required modulus property already holds implicitly from the structure of the NTT modulus prime.
This property is already implicitly fulfilled by the structure of the modulus prime used in the number theoretic transform (NTT).
-
The NTT and its convolution theorem for KYBER were also formalized, with the work done in Isabelle.
The formalization was realized in the theorem prover Isabelle.
For builders
If you reuse KYBER's parameters or NTT-based implementation, check that the modulus property this paper requires holds, since the original correctness argument was incomplete.
Limits
Abstract only; full text not read. No sizes, timings, or parameter values stated in the abstract. Scope is the correctness proof, not security or performance.
Topics: kem cryptanalysis