RFR: 8325448: Hybrid Public Key Encryption [v33]

Weijun Wang weijun at openjdk.org
Tue Aug 26 15:33:40 UTC 2025


On Mon, 25 Aug 2025 19:38:22 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8325448: Hybrid Public Key Encryption
>
> src/java.base/share/classes/javax/crypto/spec/HPKEParameterSpec.java line 121:
> 
>> 119:  * As with any AEAD cipher, each {@code doFinal} call on the server side must
>> 120:  * correspond to exactly one complete ciphertext, and the number and order of
>> 121:  * calls must match on both sides. Unlike raw AEAD usage, however, an HPKE
> 
> I think you need to define "raw".

Maybe change this phrase to "Unlike the direct use of an AEAD cipher"?

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

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


More information about the security-dev mailing list