-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls #11967
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
Conversation
👋 Welcome back lucy! A progress list of the required criteria for merging this PR into |
Webrevs
|
Hi @RealLucy , Sorry for kept you waiting. I've run tests over s390/Z machine and everything seems fine (Test failures I'm seeing were already there even before this PR). But please let me know if anything specific you want me to test, as of now I've run tier1 test in fast & slow debug build for this PR. |
Thank you for testing, Amit. |
Hi Lutz, is the JIT_TIMER still needed ? |
Some small typos found nesessary -> necessary Why do you clear memory only in the ASSERT case here ? src/hotspot/cpu/s390/stubGenerator_s390.cpp #ifdef ASSERT |
Typos repaired, JIT_TIMER references removed. |
@RealLucy This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 97 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. ➡️ To integrate this PR with the above commit message to the |
@RealLucy this pull request can not be integrated into git checkout JDK-8299817
git fetch https://git.openjdk.org/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
Being an s390-only PR, failures on arm build and linux-x85 tests are unrelated. |
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.
Build and Testing done for tier1 in fastdebug, slowdebug and release build on z15/s390x machine.
LGTM
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.
Not a detailed review, but I couldn't spot anything bad.
Build and test failures seem unrelated to this s390-only fix. |
/integrate All SAP-internal testing is fine. |
Going to push as commit e144783.
Your commit was automatically rebased without conflicts. |
This PR addresses an issue in the AES-CTR mode intrinsic on s390. When a message is ciphered in multiple, small (< 16 bytes) segments, the result is incorrect.
This is not just a band-aid fix. The issue was taken as a chance to restructure the code. though still complicated, It is now easier to read and (hopefully) understand.
Except for the new jetreg test, the changes are purely s390. There are no side effects on other platforms. Issue-specific tests pass. Other tests are in progress. I will update this PR once they are complete.
Reviews and comments are very much appreciated.
@backwaterred could you please run some "official" s390 tests? Thanks.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/11967/head:pull/11967
$ git checkout pull/11967
Update a local copy of the PR:
$ git checkout pull/11967
$ git pull https://git.openjdk.org/jdk pull/11967/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 11967
View PR using the GUI difftool:
$ git pr show -t 11967
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/11967.diff