RFR: 8296507: GCM using more memory than necessary with in-place operations [v2]

Valerie Peng valeriep at openjdk.org
Wed Nov 30 23:53:30 UTC 2022


On Wed, 16 Nov 2022 16:55:39 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   comment cleanup & finesse ByteBuffer implGCMCrypt better
>
> src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java line 580:
> 
>> 578:      * an upper limit on the number of blocks encrypted in the intrinsic.
>> 579:      *
>> 580:      * For decrypting in-place byte[], calling methods must ct must set to null
> 
> end of sentence mangled

"must ct must set to null" => "must set ct to null"?

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

PR: https://git.openjdk.org/jdk/pull/11121



More information about the security-dev mailing list