On Wed, 14 Jul 2021 21:02:01 GMT, Smita Kamath <svkam...@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/GHASH.java line 146:

> 144:         }
> 145:         state = new long[2];
> 146:         subkeyHtbl = new long[2*57]; // 48 keys for the interleaved 
> implementation, 8 for avx-ghash implementation and one for the original key

nit: the comment is too long, i.e. > 80

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

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

Reply via email to