Re: X-Wing KEM

2025-06-07 Thread Sebastian Stenzel
Hi Weijun, I got a mostly working implementation based on NamedKEM [0], however to fulfil the spec I need your advice: The (current) X-Wing spec wants this PKCS#8 encoding: [1] However, the NamedPKCS8Key implementation always puts a nested OctetString into the private key part. [2] Note the d

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 [v5]

2025-06-07 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

Re: RFR: 8358731: Remove jdk.internal.access.JavaAWTAccess.java

2025-06-07 Thread Sergey Bylokhov
On Fri, 6 Jun 2025 18:35:53 GMT, Phil Race wrote: > The fix for JDK-8344235: Revisit SecurityManager usage in java.logging after > JEP 486 and JEP 491 integration > removed use of AppContext from java/util/logging/LogManager.java. > That was the only place in the JDK that used > jdk.internal.ac