RFR: 8298390: Implement JEP 496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism [v5]

Ben Perez bperez at openjdk.org
Fri Nov 15 17:10:59 UTC 2024


On Mon, 4 Nov 2024 18:43:30 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Please implement the key checks at the beginnings of sections 7.2 and 7.3 of FIPS 203 in `implCheckPublicKey` and `implCheckPrivateKey` so it can detected earlier in `newEcapsulator` and `newDecapsulator`.
> 
> The current `isValidDecapsulationKey` does not include the hash check.

This has been fixed and now the checks happen in `checkPublicKey` and `checkPrivateKey`

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21478#issuecomment-2479457058


More information about the security-dev mailing list