RFR: 8255557: Decouple GCM from CipherCore
Anthony Scarpino
ascarpino at openjdk.java.net
Mon May 17 21:12:15 UTC 2021
On Mon, 17 May 2021 20:29:37 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> src/java.base/share/classes/com/sun/crypto/provider/AESCipher.java line 155:
>>
>>> 153: super(32, new AESCrypt());
>>> 154: }
>>> 155: }
>>
>> These should be removed since SunJCE registers com.sun.crypto.provider.GaloisCounterMode$AES128/AES192/AES256 instead of these?
>
> In addition, the private boolean field "updateCalled" of this class and its relevant assignments can also be removed.
Good catch on some of these older files that I changed.. I hadn't even thought about going back to check on them
-------------
PR: https://git.openjdk.java.net/jdk/pull/4072
More information about the security-dev
mailing list