RFR: 8325448: Hybrid Public Key Encryption [v9]

Weijun Wang weijun at openjdk.org
Tue Mar 11 21:17:07 UTC 2025


On Tue, 11 Mar 2025 21:12:54 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/.
>> ![HPKEParameterSpec](https://github.com/user-attachments/assets/4a7e6609-fd64-444a-978f-bde1634caa70)
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   of(kdf_id, aead_id) and constants

I've just added a new `HPKEParameterSpec::of` that only takes KDF and AEAD ids. The reason is that these 2 are really user-choosable and KEM id is usually determined by the key type.

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

PR Comment: https://git.openjdk.org/jdk/pull/18411#issuecomment-2715722524


More information about the security-dev mailing list