[jdk11u-dev] RFR: 8271567: AArch64: AES Galois CounterMode (GCM) interleaved implementation using vector instructions

Andrew Haley aph at openjdk.java.net
Fri Sep 24 12:27:15 UTC 2021


This is a backport of the big AES/GCM patch from JDK head. It's a
major change and it's had very little time (almost a day) to mature in
head, so perhaps it shouldn't be backported to 11 for some time; I
wouldn't be at all surprised if some reviewers' reaction was "What
have you been smoking?" However, there is a good reason for a
backport: OpenJDK on x86 has a major advantage. AES/GCM is an
important cipher, the current AArch64 implementation is much slower
than x86, and some workloads are severely impacted.

I'm open to all arguments about why this should or shouldn't be pushed,
and I'm quite happy to wait for another release cycle or two if people
think that's the best course of action.

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

Commit messages:
 - Backport 4f3b626a36319cbbbbdcb1c02a84486a3d4eddb6
 - Backport 4f3b626a36319cbbbbdcb1c02a84486a3d4eddb6

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/410/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=410&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271567
  Stats: 1248 lines in 5 files changed: 1025 ins; 205 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/410.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/410/head:pull/410

PR: https://git.openjdk.java.net/jdk11u-dev/pull/410


More information about the jdk-updates-dev mailing list