RFR: 8371864: GaloisCounterMode.implGCMCrypt0 AVX512/AVX2 intrinsics stubs cause AES-GCM encryption failure for certain payload sizes [v9]
Shawn M Emery
duke at openjdk.org
Fri Nov 28 06:21:49 UTC 2025
On Wed, 26 Nov 2025 23:09:19 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
>> Please review the fix in StubGenerator::aesgcm_avx512 and StubGenerator::aesgcm_avx2 to handle some edge cases with input sizes that are not multiple of the block size.
>>
>> Thanks to Thomas Holenstein and Lukas Zobernig for analyzing the issue and providing the test case!
>
> Jiangli Zhou has updated the pull request incrementally with one additional commit since the last revision:
>
> Address @smemery's comments:
> - Add @requires
> - Shorten long lines
@jianglizhou thank you for the AVX2 related output from the unit test pre-fix. From this I was able to trace the point of failure and see that your proposed changes are good for approval. Thank you for your work on these issues!
-------------
Marked as reviewed by smemery at github.com (no known OpenJDK username).
PR Review: https://git.openjdk.org/jdk/pull/28363#pullrequestreview-3517602570
More information about the hotspot-compiler-dev
mailing list