RFR: 8255557: Decouple GCM from CipherCore [v4]

Valerie Peng valeriep at openjdk.java.net
Mon May 24 18:22:49 UTC 2021


On Fri, 21 May 2021 04:07:05 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 640:
>> 
>>> 638:          * @return number of bytes used from 'in'
>>> 639:          */
>>> 640:         int mergeBlock(byte[] buffer, int bufOfs, int bufLen, byte[] in,
>> 
>> Can be made 'static'?
>
> mergeBlock contains blockSize which isn't static

I see...

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

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



More information about the security-dev mailing list