RFR: 8325448: Hybrid Public Key Encryption [v15]

Weijun Wang weijun at openjdk.org
Mon Apr 21 14:50:51 UTC 2025


On Tue, 15 Apr 2025 13:06:42 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   toString, exportData, spec in HPKEParameters must have algorithm identifiers specified
>
> src/java.base/share/classes/com/sun/crypto/provider/HPKE.java line 112:
> 
>> 110:             return impl.aead.cipher.getOutputSize(inputLen);
>> 111:         } else {
>> 112:             throw new IllegalStateException("No AEAD cipher");
> 
> The spec is not defined to throw `IllegalStateException`.

Same above.

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

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


More information about the security-dev mailing list