RFR: 8358159: Empty mode/padding in cipher transformations [v4]
Varada M
varadam at openjdk.org
Thu Jun 5 11:30:42 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25547/files
- new: https://git.openjdk.org/jdk/pull/25547/files/b5854da0..4bc7e62d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25547&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25547&range=02-03
Stats: 11 lines in 2 files changed: 4 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/25547.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25547/head:pull/25547
PR: https://git.openjdk.org/jdk/pull/25547
More information about the security-dev
mailing list