RFR: 8344766: AES/CTR slow at big payloads [v2]

Volodymyr Paprotski vpaprotski at openjdk.org
Tue Nov 26 15:19:25 UTC 2024


> This is a follow up to https://github.com/openjdk/jdk/pull/22086 for AES/CTR
> 
> Before:
> 
> Benchmark                (algorithm)  (dataSize)  (keyLength)  (provider)   Mode  Cnt    Score    Error  Units
> AESBench.decrypt   AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3   16.491 ±  0.356  ops/s
> AESBench.decrypt2  AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3   16.899 ±  0.013  ops/s
> AESBench.encrypt   AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3   16.477 ±  1.006  ops/s
> AESBench.encrypt2  AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3   16.921 ±  0.038  ops/s
> 
> After:
> 
> Benchmark                (algorithm)  (dataSize)  (keyLength)  (provider)   Mode  Cnt    Score   Error  Units
> AESBench.decrypt   AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3  218.910 ± 1.991  ops/s
> AESBench.decrypt2  AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3  426.414 ± 2.988  ops/s
> AESBench.encrypt   AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3  218.882 ± 2.446  ops/s
> AESBench.encrypt2  AES/CTR/NoPadding    30000000          128      SunJCE  thrpt    3  425.402 ± 4.205  ops/s

Volodymyr Paprotski has updated the pull request incrementally with one additional commit since the last revision:

  fix date

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22300/files
  - new: https://git.openjdk.org/jdk/pull/22300/files/d02b84a1..7d49cd3f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22300&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22300&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22300.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22300/head:pull/22300

PR: https://git.openjdk.org/jdk/pull/22300


More information about the security-dev mailing list