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

Martin Doerr mdoerr at openjdk.org
Tue Nov 18 21:48:12 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:

  Remove K from AES_Crypt

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

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

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

  Stats: 23 lines in 3 files changed: 6 ins; 4 del; 13 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