Integrated: 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey

2023-05-18 Thread Aleksey Shipilev
On Mon, 15 May 2023 19:59:13 GMT, Aleksey Shipilev wrote: > One of our services has a hot path with AES/GCM cipher reuse. The JDK code > reinitializes the session key on that path, and > [JDK-8308105](https://bugs.openjdk.org/browse/JDK-8308105) shows up > prominently there. > > Fixing [JDK-8

Re: RFR: 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey [v2]

2023-05-18 Thread Aleksey Shipilev
On Tue, 16 May 2023 09:18:57 GMT, Aleksey Shipilev wrote: >> One of our services has a hot path with AES/GCM cipher reuse. The JDK code >> reinitializes the session key on that path, and >> [JDK-8308105](https://bugs.openjdk.org/browse/JDK-8308105) shows up >> prominently there. >> >> Fixing

Re: RFR: 7065228: To interpret case-insensitive string locale independently [v2]

2023-05-18 Thread Jaikiran Pai
On Wed, 17 May 2023 13:53:55 GMT, Darragh Clarke wrote: >> Updated instances of `toLowerCase` and `toUpperCase` in several net and io >> files to specify `Locale.ROOT` to ensure that case conversion issues don't >> occur, >> >> I didn't add any new tests but ran tier 1-3 with no issues > > Dar

Re: RFR: JDK-8287061: Support for rematerializing scalar replaced objects participating in allocation merges [v13]

2023-05-18 Thread Vladimir Ivanov
On Fri, 12 May 2023 21:09:01 GMT, Cesar Soares Lucas wrote: >> Can I please get reviews for this PR? >> >> The most common and frequent use of NonEscaping Phis merging object >> allocations is for debugging information. The two graphs below show numbers >> for Renaissance and DaCapo benchmar

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-18 Thread Martin Balao
On Thu, 18 May 2023 20:10:04 GMT, Martin Balao wrote: >> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java >> line 362: >> >>> 360: session = token.getObjSession(); >>> 361: CK_MECHANISM ckMech; >>> 362: char[] password = keyS

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v14]

2023-05-18 Thread Bradford Wetmore
On Thu, 18 May 2023 23:28:24 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > whitespace adjustments New code LGTM, minus the one

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Bradford Wetmore
On Thu, 18 May 2023 22:33:30 GMT, Bradford Wetmore wrote: >> > src="https://github.com/openjdk/jdk/assets/1783591/c549e612-5ec7-47ce-add5-828cf79c31d9";> > > Slacked with Kevin and pointed out locations. Slacked with Kevin and resolved my concern. - PR Review Comment: https://git.o

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v14]

2023-05-18 Thread Kevin Driver
> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) Kevin Driver has updated the pull request incrementally with one additional commit since the last revision: whitespace adjustments - Changes: - all: https://git.openjdk.org/jdk/pull/13466/files - new: https:/

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Bradford Wetmore
On Thu, 18 May 2023 22:02:55 GMT, Kevin Driver wrote: >> This might be something on your end @bradfordwetmore. I opened this in my >> IDE and went to the end of the line... It was right under the "String >> clientAlias" capital "S". > > src="https://github.com/openjdk/jdk/assets/1783591/c549e6

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Kevin Driver
On Thu, 18 May 2023 21:52:37 GMT, Bradford Wetmore wrote: >> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> all review comments applied > > src/java.base/share/classes/sun/security/ssl/CertificateRequest.java line 385: > >

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Kevin Driver
On Thu, 18 May 2023 22:00:35 GMT, Kevin Driver wrote: >> src/java.base/share/classes/sun/security/ssl/CertificateRequest.java line >> 385: >> >>> 383: X509ExtendedKeyManager km = >>> chc.sslContext.getX509KeyManager(); >>> 384: String clientAlias = null; >>> 385: >> >

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Bradford Wetmore
On Thu, 18 May 2023 17:49:07 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > all review comments applied src/java.base/share/cla

Integrated: 8308010: X509Key and PKCS8Key allows garbage bytes at the end

2023-05-18 Thread Weijun Wang
On Fri, 12 May 2023 16:23:53 GMT, Weijun Wang wrote: > When parsing a byte array to a private or public key, it's now converted to a > `ByteArrayInputStream` and the parser does not report an error if there are > extra bytes at the end. This pull request has now been integrated. Changeset: 14

Re: RFR: 8308010: X509Key and PKCS8Key allows garbage bytes at the end [v2]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 14:48:58 GMT, Weijun Wang wrote: >> When parsing a byte array to a private or public key, it's now converted to >> a `ByteArrayInputStream` and the parser does not report an error if there >> are extra bytes at the end. > > Weijun Wang has updated the pull request incrementa

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-18 Thread Martin Balao
On Wed, 17 May 2023 19:00:47 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains three commits: >> >> - Rebase fix after JDK-8306033. Replace called functions with their new >> names. >> - 8

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-18 Thread Martin Balao
On Wed, 17 May 2023 18:57:41 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains three commits: >> >> - Rebase fix after JDK-8306033. Replace called functions with their new >> names. >> - 8

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-18 Thread Martin Balao
On Wed, 17 May 2023 18:45:06 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains three additional >> commit

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v3]

2023-05-18 Thread Martin Balao
On Wed, 17 May 2023 18:44:08 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains three additional >> commit

Re: RFR: 8301553: Support Password-Based Cryptography in SunPKCS11 [v2]

2023-05-18 Thread Martin Balao
On Tue, 16 May 2023 23:42:08 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8301553: Support Password-Based Cryptography in SunPKCS11 (iteration #1) >> >> Co-authored-by: Francisco Ferrari

Re: RFR: 8308016: Use snippets in java.io package [v7]

2023-05-18 Thread Brian Burkhalter
On Thu, 18 May 2023 18:23:53 GMT, Roger Riggs wrote: >> Brian Burkhalter has updated the pull request with a new target base due to >> a merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains seven additional >> com

Re: RFR: 8308016: Use snippets in java.io package [v8]

2023-05-18 Thread Brian Burkhalter
> Replace `{@code ...}` patterns and the like with `{@snippet > lang=java : ...}`. Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision: 8308016: Address reviewer comments since previous commit - Changes: - all: https:/

Re: RFR: 8298127: HSS/LMS Signature Verification [v16]

2023-05-18 Thread Ferenc Rakoczi
On Thu, 18 May 2023 16:18:02 GMT, Andrey Turbanov wrote: >> Ferenc Rakoczi has updated the pull request incrementally with one >> additional commit since the last revision: >> >> More input checks. > > src/java.base/share/classes/sun/security/provider/HSS.java line 410: > >> 408: fin

Re: RFR: 8298127: HSS/LMS Signature Verification [v17]

2023-05-18 Thread Ferenc Rakoczi
> Implement support for Leighton-Micali Signatures (LMS) as described in RFC > 8554. LMS is an approved software signing algorithm for CNSA 2.0, with > SHA-256/192 parameters recommended. Ferenc Rakoczi has updated the pull request incrementally with one additional commit since the last revisio

Re: RFR: 8308016: Use snippets in java.io package [v7]

2023-05-18 Thread Roger Riggs
On Wed, 17 May 2023 20:51:29 GMT, Brian Burkhalter wrote: >> Replace `{@code ...}` patterns and the like with `{@snippet >> lang=java : ...}`. > > Brian Burkhalter has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated cha

Re: RFR: 8305091: Change ChaCha20 cipher init behavior to match AES-GCM

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 18:16:49 GMT, Daniel Jeliński wrote: > Here you go: @djelinski Thank you! - PR Comment: https://git.openjdk.org/jdk/pull/13428#issuecomment-1553459091

Re: RFR: 8305091: Change ChaCha20 cipher init behavior to match AES-GCM

2023-05-18 Thread Daniel Jeliński
On Tue, 11 Apr 2023 17:26:25 GMT, Jamil Nimeh wrote: > This fixes an issue where the key/nonce reuse policy for SunJCE ChaCha20 and > ChaCha20-Poly1305 was overly strict in enforcing no-reuse when the Cipher was > in DECRYPT_MODE. For decryption, this should be allowed and be consistent > wit

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 17:49:07 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > all review comments applied Marked as reviewed by x

Re: RFR: 8305091: Change ChaCha20 cipher init behavior to match AES-GCM

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 16:55:05 GMT, Daniel Jeliński wrote: > the QUIC specification permits dropping duplicate packets only after fully > decrypting them. May I have a reference, for example the section number, of the specification? - PR Comment: https://git.openjdk.org/jdk/pull/134

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 17:49:07 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > all review comments applied Marked as reviewed by m

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v13]

2023-05-18 Thread Kevin Driver
> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) Kevin Driver has updated the pull request incrementally with one additional commit since the last revision: all review comments applied - Changes: - all: https://git.openjdk.org/jdk/pull/13466/files - new: ht

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 16:58:50 GMT, Kevin Driver wrote: >> src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExtension.java >> line 290: >> >>> 288: shc.peerSupportedAuthorities = spec.getAuthorities(); >>> 289: } catch (IllegalArgumentException iae) {

Re: RFR: 8297878: KEM: Implementation [v18]

2023-05-18 Thread Weijun Wang
> The KEM API and DHKEM impl. Note that this PR uses new methods in > https://github.com/openjdk/jdk/pull/13250. Weijun Wang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Kevin Driver
On Thu, 18 May 2023 16:42:45 GMT, Xue-Lei Andrew Fan wrote: >> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> review comments addressed > > src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExtension.java >

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Kevin Driver
On Thu, 18 May 2023 16:48:34 GMT, Xue-Lei Andrew Fan wrote: >> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> review comments addressed > > src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExtension.java >

Re: RFR: 8308016: Use snippets in java.io package [v2]

2023-05-18 Thread Brian Burkhalter
On Wed, 17 May 2023 15:50:13 GMT, Roger Riggs wrote: >> src/java.base/share/classes/java/io/RandomAccessFile.java line 904: >> >>> 902: * {@code b7}, and {@code b8,} where: >>> 903: * {@snippet lang=java : >>> 904: * 0 <= b1, b2, b3, b4, b5, b6, b7, b8 <= 255, >> >> Same:

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v12]

2023-05-18 Thread Kevin Driver
> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) Kevin Driver has updated the pull request incrementally with one additional commit since the last revision: optimize imports and change toString - Changes: - all: https://git.openjdk.org/jdk/pull/13466/files

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 16:15:39 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > review comments addressed src/java.base/share/class

Re: RFR: 8305091: Change ChaCha20 cipher init behavior to match AES-GCM

2023-05-18 Thread Daniel Jeliński
On Tue, 11 Apr 2023 17:26:25 GMT, Jamil Nimeh wrote: > This fixes an issue where the key/nonce reuse policy for SunJCE ChaCha20 and > ChaCha20-Poly1305 was overly strict in enforcing no-reuse when the Cipher was > in DECRYPT_MODE. For decryption, this should be allowed and be consistent > wit

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 16:15:39 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > review comments addressed src/java.base/share/class

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 16:15:39 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > review comments addressed src/java.base/share/class

Re: RFR: 8298127: HSS/LMS Signature Verification [v16]

2023-05-18 Thread Andrey Turbanov
On Wed, 17 May 2023 20:01:26 GMT, Ferenc Rakoczi wrote: >> Implement support for Leighton-Micali Signatures (LMS) as described in RFC >> 8554. LMS is an approved software signing algorithm for CNSA 2.0, with >> SHA-256/192 parameters recommended. > > Ferenc Rakoczi has updated the pull request

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v6]

2023-05-18 Thread Kevin Driver
On Wed, 17 May 2023 15:49:27 GMT, Xue-Lei Andrew Fan wrote: >>> Do you have any plans to write a test? If not, the bug needs a `noreg` >>> label. >> >> As discussed internally, the test that surfaced this issue will be >> incorporated into regular testing. I have added `noreg-other` since none

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v11]

2023-05-18 Thread Kevin Driver
> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) Kevin Driver has updated the pull request incrementally with one additional commit since the last revision: review comments addressed - Changes: - all: https://git.openjdk.org/jdk/pull/13466/files - new: http

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v10]

2023-05-18 Thread Kevin Driver
On Thu, 18 May 2023 12:42:20 GMT, Sean Mullan wrote: >> src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExtension.java >> line 126: >> >>> 124: } >>> 125: >>> 126: X500Principal[] getAuthorities() throws >>> IllegalArgumentException { >> >> IAE is unchecked

Re: RFR: 8298127: HSS/LMS Signature Verification [v16]

2023-05-18 Thread Andrey Turbanov
On Wed, 17 May 2023 20:01:26 GMT, Ferenc Rakoczi wrote: >> Implement support for Leighton-Micali Signatures (LMS) as described in RFC >> 8554. LMS is an approved software signing algorithm for CNSA 2.0, with >> SHA-256/192 parameters recommended. > > Ferenc Rakoczi has updated the pull request

Re: RFR: JDK-8307794 Test for HSS/LMS Signature Verification

2023-05-18 Thread Mark Powers
On Thu, 18 May 2023 13:18:12 GMT, Sean Mullan wrote: >> https://bugs.openjdk.org/browse/JDK-8307794 > > test/jdk/sun/security/tools/jarsigner/DisableLMS.java line 26: > >> 24: /* >> 25: * @test >> 26: * @bug JDK-8307794 > > I think the bug here should be what it is testing, which is the HSS/L

Re: RFR: 8305972: Update XML Security for Java to 3.0.2 [v10]

2023-05-18 Thread Weijun Wang
> Update XML Security for Java to 3.0.2. Some change to tests: > > 1. A new `HereFunction.java` to test the new security property > "jdk.xml.dsig.hereFunctionSupported". > 2. EdDSA does not support `KeyValue`. Use X.509 certificate instead. Weijun Wang has updated the pull request incrementally

Re: RFR: 8308010: X509Key and PKCS8Key allows garbage bytes at the end [v2]

2023-05-18 Thread Weijun Wang
> When parsing a byte array to a private or public key, it's now converted to a > `ByteArrayInputStream` and the parser does not report an error if there are > extra bytes at the end. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: a

Re: RFR: 8305972: Update XML Security for Java to 3.0.2 [v9]

2023-05-18 Thread Weijun Wang
> Update XML Security for Java to 3.0.2. Some change to tests: > > 1. A new `HereFunction.java` to test the new security property > "jdk.xml.dsig.hereFunctionSupported". > 2. EdDSA does not support `KeyValue`. Use X.509 certificate instead. Weijun Wang has updated the pull request incrementally

Re: RFR: 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey [v2]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 07:18:04 GMT, Aleksey Shipilev wrote: > > jdk_security or tier2. > > Gotcha, I already tested both, see "Additional Testing" section in PR. Thanks! - PR Comment: https://git.openjdk.org/jdk/pull/13996#issuecomment-1553126729

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v10]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 04:04:17 GMT, Xue-Lei Andrew Fan wrote: >> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> rework based upon code review comments > > src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExt

Re: RFR: 8305972: Update XML Security for Java to 3.0.2 [v8]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 13:39:10 GMT, Weijun Wang wrote: >> Update XML Security for Java to 3.0.2. Some change to tests: >> >> 1. A new `HereFunction.java` to test the new security property >> "jdk.xml.dsig.hereFunctionSupported". >> 2. EdDSA does not support `KeyValue`. Use X.509 certificate inste

Re: RFR: 8305972: Update XML Security for Java to 3.0.2 [v6]

2023-05-18 Thread Sean Mullan
On Tue, 16 May 2023 01:10:10 GMT, Weijun Wang wrote: >> Update XML Security for Java to 3.0.2. Some change to tests: >> >> 1. A new `HereFunction.java` to test the new security property >> "jdk.xml.dsig.hereFunctionSupported". >> 2. EdDSA does not support `KeyValue`. Use X.509 certificate inste

Re: RFR: 8305972: Update XML Security for Java to 3.0.2 [v8]

2023-05-18 Thread Weijun Wang
> Update XML Security for Java to 3.0.2. Some change to tests: > > 1. A new `HereFunction.java` to test the new security property > "jdk.xml.dsig.hereFunctionSupported". > 2. EdDSA does not support `KeyValue`. Use X.509 certificate instead. Weijun Wang has updated the pull request with a new tar

Re: RFR: JDK-8307794 Test for HSS/LMS Signature Verification

2023-05-18 Thread Sean Mullan
On Thu, 11 May 2023 19:06:59 GMT, Mark Powers wrote: > https://bugs.openjdk.org/browse/JDK-8307794 test/jdk/sun/security/tools/jarsigner/DisableLMS.java line 26: > 24: /* > 25: * @test > 26: * @bug JDK-8307794 I think the bug here should be what it is testing, which is the HSS/LMS implement

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v10]

2023-05-18 Thread Sean Mullan
On Wed, 17 May 2023 21:54:20 GMT, Kevin Driver wrote: >> Fixes: [JDK-8294985](https://bugs.openjdk.org/browse/JDK-8294985) > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > rework based upon code review comments src/java.bas

Re: RFR: 8294985: SSLEngine throws IAE during parsing of X500Principal [v10]

2023-05-18 Thread Sean Mullan
On Thu, 18 May 2023 03:51:55 GMT, Xue-Lei Andrew Fan wrote: >> Kevin Driver has updated the pull request incrementally with one additional >> commit since the last revision: >> >> rework based upon code review comments > > src/java.base/share/classes/sun/security/ssl/CertificateAuthoritiesExt

Re: RFR: 7065228: To interpret case-insensitive string locale independently [v2]

2023-05-18 Thread Daniel Fuchs
On Wed, 17 May 2023 13:53:55 GMT, Darragh Clarke wrote: >> Updated instances of `toLowerCase` and `toUpperCase` in several net and io >> files to specify `Locale.ROOT` to ensure that case conversion issues don't >> occur, >> >> I didn't add any new tests but ran tier 1-3 with no issues > > Dar

Re: RFR: 7065228: To interpret case-insensitive string locale independently [v2]

2023-05-18 Thread Daniel Jeliński
On Wed, 17 May 2023 13:53:55 GMT, Darragh Clarke wrote: >> Updated instances of `toLowerCase` and `toUpperCase` in several net and io >> files to specify `Locale.ROOT` to ensure that case conversion issues don't >> occur, >> >> I didn't add any new tests but ran tier 1-3 with no issues > > Dar

Re: RFR: JDK-8307794 Test for HSS/LMS Signature Verification

2023-05-18 Thread Ferenc Rakoczi
On Thu, 11 May 2023 19:06:59 GMT, Mark Powers wrote: > https://bugs.openjdk.org/browse/JDK-8307794 I suggest the following: 1. Separate the data from the code and put the data to the end of the files (e.g. create a " TestCase[] testCases;" array and let the TestCase class handle the creation

Re: RFR: 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey [v2]

2023-05-18 Thread Aleksey Shipilev
On Thu, 18 May 2023 07:16:31 GMT, Xue-Lei Andrew Fan wrote: > jdk_security or tier2. Gotcha, I already tested both, see "Additional Testing" section in PR. - PR Comment: https://git.openjdk.org/jdk/pull/13996#issuecomment-1552619095

Re: RFR: 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey [v2]

2023-05-18 Thread Xue-Lei Andrew Fan
On Thu, 18 May 2023 06:44:10 GMT, Aleksey Shipilev wrote: > > Looks good to me. Please make sure the security regression testing passed. > > Thanks! By "security regression testing" that you mean `jdk_security`, or > something else? jdk_security or tier2. - PR Comment: https://gi