RFR: 8358159: Empty mode/padding in cipher transformations [v5]
Valerie Peng
valeriep at openjdk.org
Mon Jun 9 18:18:53 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
Look good, thanks!
-------------
Marked as reviewed by valeriep (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25547#pullrequestreview-2910914746
More information about the security-dev
mailing list