On Fri, 14 Apr 2023 16:54:49 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> The KEM API and DHKEM impl. Note that this PR uses new methods in 
>> https://github.com/openjdk/jdk/pull/13250.
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   spec changes

New commit pushed. The "the caller has validated" sentences are removed since 
that will be an implementation detail. Now each provider needs to validate the 
arguments themselves.

Also, when a null key is provided to `newEncapsulator` and `newDecapsulator`, 
they throw an `InvalidKeyException` instead of a `NullPointerException` now.

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

PR Comment: https://git.openjdk.org/jdk/pull/13256#issuecomment-1513451629

Reply via email to