RFR: 8253821: Improve ByteBuffer performance with GCM [v2]

Anthony Scarpino ascarpino at openjdk.java.net
Fri Oct 9 04:29:20 UTC 2020


On Fri, 9 Oct 2020 01:04:26 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Xuelei comments
>
> src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 593:
> 
>> 591:         if (tagLenBytes > block.length) {
>> 592:             block = new byte[tagLenBytes];
>> 593:         }
> 
> Is tagLenBytes ever larger than AES block size?

no, 16 octets

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

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



More information about the security-dev mailing list