On Fri, 27 Jun 2025 22:04:25 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/.
>> 
>> ![HPKEParameterSpec06-27-3](https://github.com/user-attachments/assets/a17e7ea2-86dd-4e2d-9506-210e97ff8ae8)
>
> Weijun Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   finetune the spec

src/java.base/share/classes/com/sun/crypto/provider/DHKEM.java line 313:

> 311:                         return new SecretKeySpec(km, from, to - from, 
> alg);
> 312:                     }
> 313:                 } else if (fullKey instanceof SliceableSecretKey ssk) {

It would be nice to actually test this code as we currently don't have any 
implementation of `SliceableSecretKey`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r2270879110

Reply via email to