On Fri, 23 Oct 2020 16:38:01 GMT, Anthony Scarpino <ascarp...@openjdk.org> 
wrote:

>> 8253821: Improve ByteBuffer performance with GCM
>
> Anthony Scarpino has updated the pull request incrementally with six 
> additional commits since the last revision:
> 
>  - style
>  - style & comments
>  - full update
>  - remove old
>  - update
>  - outputsize

src/java.base/share/classes/com/sun/crypto/provider/CipherCore.java line 943:

> 941:             }
> 942:         }
> 943:         byte[] outBuffer = (internalOutput != null) ? internalOutput : 
> output;

With this line of change, the decrypted bytes are written into the output 
buffer including padding bytes. Is it not?

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

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

Reply via email to