> 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. > > Thank you @ferakocz for their help in working through the early stages of > this code with me.
Shawn Emery has updated the pull request incrementally with one additional commit since the last revision: Optimize multByInt() method ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29981/files - new: https://git.openjdk.org/jdk/pull/29981/files/8bdffc00..24b4fad9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29981&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29981&range=03-04 Stats: 65 lines in 1 file changed: 61 ins; 0 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
