On Thu, 14 Nov 2024 22:36:39 GMT, Valerie Peng <valer...@openjdk.org> wrote:

>> This is because the `NamedKEM` methods for checking keys can optionally 
>> return the key. I can pass that key along if that makes more sense
>
> Yes, passing the key along seems to make more sense.

I'm going to leave this returning null for now because I believe the intention 
here is to have the function optionally return a parsed key. Since ML-KEM does 
not have parsed key objects this wouldn't make sense. With ML-DSA however it 
would.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21478#discussion_r1842988840

Reply via email to