RFR: 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions [v4]
Valerie Peng
valeriep at openjdk.java.net
Thu Jul 15 23:53:10 UTC 2021
On Wed, 14 Jul 2021 21:02:01 GMT, Smita Kamath <svkamath at openjdk.org> wrote:
>> 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:
>
> Updated AES-GCM intrinsic to match latest Java Code
src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 589:
> 587: * Requires 768 bytes (48 AES blocks) to efficiently use the intrinsic
> 588: * @param in input buffer
> 589: * @param inOfs input offset
missed @param inLen
src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 594:
> 592: * @param out output buffer
> 593: * @param outOfs output offset
> 594: * @param gctr object for the CTR operation
typo: CTR->GCTR?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4019
More information about the security-dev
mailing list