RFR: 8358159: Empty mode/padding in cipher transformations [v5]
Varada M
varadam at openjdk.org
Tue Jun 10 08:20:52 UTC 2025
On Sat, 7 Jun 2025 20:07:45 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:
>
> 8358159: Empty mode/padding in cipher transformations
Thanks all
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25547#issuecomment-2958124525
More information about the security-dev
mailing list