This implementation changes the limb size of X25519 from 10 x 26 bits to 5 x 51 bits in order to take advantage of performance gains from a reduction in the number of limb operations.
Performance gains were observed from the key generation/agreement, encapsulation, and decapsulation benchmarks for both aarch64 with 3 - 8% gains and x86_64 with 9% gains. ------------- Commit messages: - 8378893: X25519 should utilize a larger limb size Changes: https://git.openjdk.org/jdk/pull/29981/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29981&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8378893 Stats: 366 lines in 3 files changed: 331 ins; 31 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/29981.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29981/head:pull/29981 PR: https://git.openjdk.org/jdk/pull/29981
