RFR: 8371820: Further AES performance improvements for key schedule generation [v3]

Martin Doerr mdoerr at openjdk.org
Fri Nov 14 17:21:50 UTC 2025


> This fix simplifies the hotspot intrinsics for some platforms and optimizes the key computation for encryption. We can save the `genInvRoundKeys` computation when we only do encryption.
> 
> The micro:org.openjdk.bench.javax.crypto.AESReinit benchmark results are improved by 17% for ppc64 and 26% for x86_64.

Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:

  More minor cleanup.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28299/files
  - new: https://git.openjdk.org/jdk/pull/28299/files/b03e6b43..621616a4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28299&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28299&range=01-02

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/28299.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28299/head:pull/28299

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


More information about the security-dev mailing list