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

Valerie Peng valeriep at openjdk.java.net
Thu Nov 5 22:59:04 UTC 2020


On Fri, 23 Oct 2020 16:38:01 GMT, Anthony Scarpino <ascarpino at 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

test/jdk/com/sun/crypto/provider/Cipher/AEAD/GCMBufferTest.java line 443:

> 441: 
> 442:         datamap.put("AES/GCM/NoPadding", List.of(
> 443:             new Data("AES",

Just curious, is the data self-generated or got from some spec/external sources?

test/jdk/javax/net/ssl/SSLSession/CheckSessionContext.java line 34:

> 32:  * @run main/othervm -Djdk.tls.client.protocols=TLSv1.3 -Djdk.tls.server.enableSessionTicketExtension=true -Djdk.tls.client.enableSessionTicketExtension=false CheckSessionContext
> 33:  * @run main/othervm -Djdk.tls.client.protocols=TLSv1.3 -Djdk.tls.server.enableSessionTicketExtension=true -Djdk.tls.client.enableSessionTicketExtension=true CheckSessionContext
> 34:  * @run main/othervm -Djdk.tls.client.protocols=TLSv1.3 -Djdk.tls.server.enableSessionTicketExtension=false -Djdk.tls.client.enableSessionTicketExtension=true CheckSessionContext

I am not sure how is this test related to the change?

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

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


More information about the security-dev mailing list