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

Valerie Peng valeriep at openjdk.java.net
Mon Oct 12 17:38:14 UTC 2020


On Thu, 8 Oct 2020 06:51:08 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> 8253821: Improve ByteBuffer performance with GCM
>
> 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/GCTR.java line 146:

> 144:     private static final int MAX_LEN = 1024;
> 145:
> 146:     int doFinal(ByteBuffer src, ByteBuffer dst) throws IllegalBlockSizeException {

Conventionally, we put doFinal() method after update() method.

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

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



More information about the security-dev mailing list