RFR: 8358159: Empty mode/padding in cipher transformations [v3]
Sean Mullan
mullan at openjdk.org
Wed Jun 4 13:42:51 UTC 2025
On Wed, 4 Jun 2025 10:37:28 GMT, Varada M <varadam at openjdk.org> wrote:
>> Omitting the mode/padding in a transformation string eg: "AES/ /NoPadding" throws NoSuchAlgorithmException.
>> This patch restores the behavior by ensuring that empty mode or padding strings are interpreted as null.
>>
>> Testing done for : tier1 - fastdebug level (AIX)
>>
>> JBS: [JDK-8358159](https://bugs.openjdk.org/browse/JDK-8358159)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
>
> whitespace error fix
@valeriepeng Can you also review this? Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25547#issuecomment-2940086483
More information about the security-dev
mailing list