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

2025-06-07 Thread Varada M
On Thu, 5 Jun 2025 21:20:58 GMT, Valerie Peng wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8358159: Empty mode/padding in cipher transformations > > src/java.base/share/classes/javax/crypto/Cipher.java line 460: >

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

2025-06-05 Thread Valerie Peng
On Thu, 5 Jun 2025 11:30:42 GMT, Varada M 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 f

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

2025-06-05 Thread Varada M
> 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