On Tue, 17 Feb 2026 01:52:57 GMT, Ben Perez <[email protected]> wrote:

> Our implementation of X25519 does not zero the MSB of the `u` coordinate as 
> required by RFC 7748. Currently the test 
> `jdk/sun/security/ec/xec/TestXDH.java` zeroes the bit manually while parsing 
> test vectors, which is likely why this went uncaught.

This pull request has now been integrated.

Changeset: e9446e15
Author:    Ben Perez <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/e9446e15546aa37e7550dac293a3ed6131f2b500
Stats:     113 lines in 5 files changed: 71 ins; 25 del; 17 mod

8368841: X25519 implementation differs from the specification in RFC 7748

Reviewed-by: ascarpino, semery

-------------

PR: https://git.openjdk.org/jdk/pull/29750

Reply via email to