On Tue, 15 Apr 2025 13:06:42 GMT, Sean Mullan <[email protected]> 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