[jdk11u-dev] RFR: 8280703: CipherCore.doFinal(...) causes potentially massive byte[] allocations during decryption [v7]

Scott Gibbons sgibbons at openjdk.org
Mon Mar 6 15:59:05 UTC 2023


The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.

----------------------------------------------------------------------
> Backporting because this change results in ~3x performance improvement in AES-CTR.
> 
> Risk is low.  Tested with tier1 and benchmark.
> 
> The PR does not backport cleanly.  The buffer name was changed, but functionally remains the same.

Scott Gibbons has updated the pull request incrementally with one additional commit since the last revision:

  Address review comment

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1780/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1780/files/9b07d2be..9b7ef4a1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1780&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1780&range=05-06

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1780.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1780/head:pull/1780

PR: https://git.openjdk.org/jdk11u-dev/pull/1780


More information about the jdk-updates-dev mailing list