RFR: 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions [v6]

Smita Kamath svkamath at openjdk.java.net
Fri Jul 30 19:03:53 UTC 2021


> I would like to submit AES-GCM optimization for x86_64 architectures supporting AVX3+VAES (Evex encoded AES). This optimization interleaves AES and GHASH operations.
> Performance gain of ~1.5x - 2x for message sizes 8k and above.

Smita Kamath has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:

 - changed file property of GaloisCounterMode.java
 - Merge branch 'master' of https://git.openjdk.java.net/jdk into aes-gcm
 - Extended jtreg test case, made changes to .cpp and .java files
 - Updated AES-GCM intrinsic to match latest Java Code
 - merge master
 - 8267125:Updated intrinsic signature to remove copies of counter, state and subkeyHtbl
 - Merge master
 - JDK-8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions

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

Changes: https://git.openjdk.java.net/jdk/pull/4019/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4019&range=05
  Stats: 1320 lines in 21 files changed: 1148 ins; 100 del; 72 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4019.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4019/head:pull/4019

PR: https://git.openjdk.java.net/jdk/pull/4019



More information about the security-dev mailing list