On Fri, 8 May 2026 03:27:42 GMT, Shawn Emery <[email protected]> wrote:

> Curve25519 polynomial arithmetic is performed with intrinsincs implemented in 
> GPR related instructions for multiplication and squaring operations (methods 
> mult() and square()).  Benchmark improvements include:
> 
> - X25519 encapsulation: +19%
> - X25519 decapsulation: +19%
> - X22519 key agreement: +19%
> - X25519 key-pair generation: +19%
> - X25519-MLKEM encapsulation: +15%
> - X25519-MLKEM decapsulation: +12%
> - X25519-MLKEM key-pair generation: +13%
> - EdDSA sign: +19%
> - EdDSA verify: +16%
> - EdDSA key-pair generation: +20%
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 0dd26b31
Author:    Shawn Emery <[email protected]>
Committer: Anthony Scarpino <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/0dd26b312ebe2af1b2d1639fc6355022834896eb
Stats:     476 lines in 16 files changed: 469 ins; 0 del; 7 mod

8371305: X25519 should utilize x86 intrinsics

Reviewed-by: vpaprotski, ascarpino

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

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

Reply via email to