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/. >> >>  > > 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