RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Weijun Wang
Loosen the check; the modified test is sufficient to demonstrate sub-millisecond precision. - Commit messages: - another fix - the fix Changes: https://git.openjdk.org/jdk/pull/23867/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23867&range=00 Issue: https://bugs.open

Re: RFR: 8325448: Hybrid Public Key Encryption [v8]

2025-03-03 Thread Weijun Wang
> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. > > ![HPKEParameterSpec](https://github.com/user-attachments/assets/3f00d234-e92c-4a5f-8d2f-15f668a7ff08) Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: add mo

Re: RFR: 8349583: Add mechanism to disable signature schemes based on their TLS scope [v11]

2025-03-03 Thread Artur Barashev
> Currently when a signature scheme constraint is specified with > "jdk.tls.disabledAlgorithms" property we don't differentiate between > signatures used to sign a TLS handshake exchange and the signatures used in > TLS certificates: > https://datatracker.ietf.org/doc/html/rfc8446#section-4.2.3

RFR: 8351034: Add AVX-512 intrinsics for ML-DSA

2025-03-03 Thread Ferenc Rakoczi
By using the AVX-512 vector registers the speed of the computation of the ML-DSA algorithms (key generation, document signing, signature verification) can be approximately doubled. - Commit messages: - JDK-8351034 Add AVX-512 intrinsics for ML-DSA Changes: https://git.openjdk.org/

Re: RFR: 8325448: Hybrid Public Key Encryption [v7]

2025-03-03 Thread Weijun Wang
> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. > > ![HPKEParameterSpec](https://github.com/user-attachments/assets/4f64567a-59b0-473e-8a3b-416565f5bca5) Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: unspec

Re: RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Artur Barashev
On Mon, 3 Mar 2025 18:28:27 GMT, Artur Barashev wrote: >> Loosen the check; the modified test is sufficient to demonstrate >> sub-millisecond precision. > > test/jdk/sun/security/krb5/MicroTime.java line 48: > >> 46: } >> 47: // We believe a nice KerberosTime can at least tell t

Re: RFR: 8351034: Add AVX-512 intrinsics for ML-DSA [v2]

2025-03-03 Thread Ferenc Rakoczi
> By using the AVX-512 vector registers the speed of the computation of the > ML-DSA algorithms (key generation, document signing, signature verification) > can be approximately doubled. Ferenc Rakoczi has updated the pull request incrementally with one additional commit since the last revision

Re: RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Artur Barashev
On Mon, 3 Mar 2025 16:26:21 GMT, Weijun Wang wrote: > Loosen the check; the modified test is sufficient to demonstrate > sub-millisecond precision. test/jdk/sun/security/krb5/MicroTime.java line 49: > 47: // Before this change, KerberosTime was implemented in > milliseconds. > 48:

Re: RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Artur Barashev
On Mon, 3 Mar 2025 18:32:42 GMT, Artur Barashev wrote: >> Loosen the check; the modified test is sufficient to demonstrate >> sub-millisecond precision. > > test/jdk/sun/security/krb5/MicroTime.java line 49: > >> 47: // Before this change, KerberosTime was implemented in >> millisecond

RFR: 8339280: jarsigner -verify performs cross-checking between CEN and LOC

2025-03-03 Thread Hai-May Chao
The jarsigner -verify command currently performs verification by reading from JarFile to navigate the central directory (CEN) headers. It is now enhanced to include cross-validation of entries between JarFile (CEN-based) and JarInputStream (stream-based) representations of the JAR. It emits earn

Re: RFR: 8325448: Hybrid Public Key Encryption [v8]

2025-03-03 Thread Weijun Wang
On Mon, 3 Mar 2025 15:57:49 GMT, Weijun Wang wrote: >> Implement HPKE as defined in https://datatracker.ietf.org/doc/rfc9180/. >> >> ![HPKEParameterSpec](https://github.com/user-attachments/assets/3f00d234-e92c-4a5f-8d2f-15f668a7ff08) > > Weijun Wang has updated the pull request incrementally wi

Re: RFR: 8350459: MontgomeryIntegerPolynomialP256 multiply intrinsic with AVX2 on x86_64

2025-03-03 Thread Sandhya Viswanathan
On Thu, 20 Feb 2025 21:49:42 GMT, Volodymyr Paprotski wrote: > Add AVX2 montgomery multiplication intrinsic. (About 60-80% gain) > > Also add reduction to existing AVX512 multiplication (this was left-over from > https://github.com/openjdk/jdk/pull/19893 where a quick fix was required). > Thi

Re: RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Artur Barashev
On Mon, 3 Mar 2025 16:26:21 GMT, Weijun Wang wrote: > Loosen the check; the modified test is sufficient to demonstrate > sub-millisecond precision. LGTM - Marked as reviewed by abarashev (Author). PR Review: https://git.openjdk.org/jdk/pull/23867#pullrequestreview-2655001271

Re: RFR: 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"

2025-03-03 Thread Artur Barashev
On Mon, 3 Mar 2025 16:26:21 GMT, Weijun Wang wrote: > Loosen the check; the modified test is sufficient to demonstrate > sub-millisecond precision. test/jdk/sun/security/krb5/MicroTime.java line 48: > 46: } > 47: // We believe a nice KerberosTime can at least tell the > 48: