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

Smita Kamath svkamath at openjdk.java.net
Fri Aug 20 22:43:55 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 incrementally with one additional commit since the last revision:

  changes to make sure that ghash_long_swap_mask and counter_mask_addr calls are not duplicated

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4019/files
  - new: https://git.openjdk.java.net/jdk/pull/4019/files/94e46aae..c31bfe9a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4019&range=11
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4019&range=10-11

  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 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