New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8292158: AES-CTR cipher state corruption with AVX-512 #1408
8292158: AES-CTR cipher state corruption with AVX-512 #1408
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
Hi @smita-kamath |
@vnkozlov Could you please help review this backport patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This backport looks good.
@smita-kamath This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 50 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@vnkozlov) but any other Committer may sponsor as well.
|
Hi @smita-kamath, |
Is there anything I can do to help land this fix into jdk11u & jdk17u? |
/integrate |
@smita-kamath |
@vnkozlov, Could you sponsor this one as well? Thank you once again. |
/sponsor |
Going to push as commit 8fadf3d.
Your commit was automatically rebased without conflicts. |
@vnkozlov @smita-kamath Pushed as commit 8fadf3d. |
Hi,
This is a backport of JDK-8292158: AES-CTR cipher state corruption with AVX-512. This backport fixes a bug where cipher can become corrupted when encrypting/decrypting byte arrays with a size less than 16.
The fix is in MacroAssembler::aesctr_encrypt method.
Patch does not apply cleanly to 11u as the method has moved from src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp to a new file src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp. Also, the included regression test had to be modified.
Could you kindly review the patch?
Thanks,
Smita
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev pull/1408/head:pull/1408
$ git checkout pull/1408
Update a local copy of the PR:
$ git checkout pull/1408
$ git pull https://git.openjdk.org/jdk11u-dev pull/1408/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1408
View PR using the GUI difftool:
$ git pr show -t 1408
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/1408.diff