Integrated: 8358159: Empty mode/padding in cipher transformations
Varada M
varadam at openjdk.org
Tue Jun 10 08:20:55 UTC 2025
On Fri, 30 May 2025 12:06:21 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)
This pull request has now been integrated.
Changeset: 3ff83ec4
Author: Varada M <varadam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3ff83ec49e561c44dd99508364b8ba068274b63a
Stats: 68 lines in 2 files changed: 62 ins; 0 del; 6 mod
8358159: Empty mode/padding in cipher transformations
Reviewed-by: amitkumar, valeriep
-------------
PR: https://git.openjdk.org/jdk/pull/25547
More information about the security-dev
mailing list