Re: RFR: 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls

2023-01-15 Thread Amit Kumar
On Thu, 12 Jan 2023 14:29:34 GMT, Lutz Schmidt wrote: > This PR addresses an issue in the AES-CTR mode intrinsic on s390. When a > message is ciphered in multiple, small (< 16 bytes) segments, the result is > incorrect. > > This is not just a band-aid fix. The issue was taken as a chance to >

Re: RFR: 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls [v4]

2023-02-22 Thread Amit Kumar
On Mon, 20 Feb 2023 12:21:27 GMT, Lutz Schmidt wrote: >> This PR addresses an issue in the AES-CTR mode intrinsic on s390. When a >> message is ciphered in multiple, small (< 16 bytes) segments, the result is >> incorrect. >> >> This is not just a band-aid fix. The issue was taken as a chance

Re: RFR: 8344316: Add extra line in security/auth/callback/TextCallbackHandler/Password.java to make clear it is not a JTReg test

2025-01-08 Thread Amit Kumar
On Tue, 7 Jan 2025 16:19:58 GMT, Mikhail Yankelevich wrote: > * Add extra line in security/auth/callback/TextCallbackHandler/Password.java > to make clear it is not a JTReg test > * Test will now fail if run with JTReg Also please enable GHA on your repo. test/jdk/com/sun/security/auth/callbac

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

2025-06-09 Thread Amit Kumar
On Sat, 7 Jun 2025 20:07:45 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 [v3]

2025-06-04 Thread Amit Kumar
On Wed, 4 Jun 2025 10:37:28 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