> 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% > - X25519-MLKEM encapsulation: +12% > - X25519-MLKEM decapsulation: +15% > - X22519 key agreement: +19% > - X25519 key-pair generation: +19% > - X25519-MLKEM key-pair generation: +13% > - EdDSA key-pair generation: +20% > - EdDSA signing: +19% > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Shawn Emery has updated the pull request incrementally with two additional commits since the last revision: - Remove commented code - Comments from @vpaprotsk ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31087/files - new: https://git.openjdk.org/jdk/pull/31087/files/4101296d..907fc952 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31087&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31087&range=02-03 Stats: 127 lines in 1 file changed: 45 ins; 59 del; 23 mod Patch: https://git.openjdk.org/jdk/pull/31087.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31087/head:pull/31087 PR: https://git.openjdk.org/jdk/pull/31087
