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

Anthony Scarpino ascarpino at openjdk.java.net
Fri Aug 6 20:00:39 UTC 2021


On Fri, 6 Aug 2021 18:40:44 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Smita Kamath has updated the pull request incrementally with five additional commits since the last revision:
>> 
>>  - Merge branch 'aes-gcm' of github.com:smita-kamath/jdk into aes-gcm
>>  - Updates, comment and variable cleanup
>>  - merge rest
>>  - merge
>>  - fixes and code comments
>
> src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 1473:
> 
>> 1471:             if (mismatch != 0) {
>> 1472:                 // Clear output data
>> 1473:                 Arrays.fill(out, outOfs, outOfs + len, (byte) 0);
> 
> Update the javadoc of this method (line 1428-1429) with this change, i.e. clears output data if tag verification fails. Same goes for line 1482-1483.

ok

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

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



More information about the security-dev mailing list