RFR: 8269827: JMH tests for AES/GCM byte[] and bytebuffers [v3]

Weijun Wang weijun at openjdk.java.net
Thu Jul 8 14:46:55 UTC 2021


On Tue, 6 Jul 2021 23:06:39 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> Hi,
>> 
>> I need a review of these new jmh tests that run AES/GCM encryption and decryption using byte[], heap bytebuffers, and direct bytebuffers as input and output buffers for single and multi-part testing. 
>> 
>> thanks
>> 
>> Tony
>
> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add small.AESGCMByteBuffer and fix dataSize

Marked as reviewed by weijun (Reviewer).

test/micro/org/openjdk/bench/javax/crypto/full/AESGCMByteBuffer.java line 50:

> 48:     private int keyLength;
> 49: 
> 50:     @Param({"" + 1024, "" + 1500, "" + 4096, "" + 16384})

You can update the line above as well.

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

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



More information about the security-dev mailing list