On Thu, 8 Oct 2020 06:51:08 GMT, Anthony Scarpino <ascarp...@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

Reply via email to