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 #787
8292158: AES-CTR cipher state corruption with AVX-512 #787
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
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.
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 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the 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.
|
/integrate |
@smita-kamath |
@vnkozlov, Thank you for reviewing this patch. Can you kindly sponsor it as well? |
/sponsor |
Going to push as commit ac7d936.
Your commit was automatically rebased without conflicts. |
@vnkozlov @smita-kamath Pushed as commit ac7d936. |
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 17u 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. The included regression test also 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/jdk17u-dev pull/787/head:pull/787
$ git checkout pull/787
Update a local copy of the PR:
$ git checkout pull/787
$ git pull https://git.openjdk.org/jdk17u-dev pull/787/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 787
View PR using the GUI difftool:
$ git pr show -t 787
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/787.diff