On Mon, 4 Nov 2024 18:43:30 GMT, Weijun Wang <wei...@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