RFR: 8358159: Empty mode/padding in cipher transformations [v5]

Amit Kumar amitkumar at openjdk.org
Tue Jun 10 03:59:35 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

Marked as reviewed by amitkumar (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/25547#pullrequestreview-2911889507


More information about the security-dev mailing list