RFR: 8371450: AES performance improvements for key schedule generation [v2]

Jamil Nimeh jnimeh at openjdk.org
Sat Nov 8 17:11:06 UTC 2025


On Sat, 8 Nov 2025 00:46:29 GMT, Shawn M Emery <duke at openjdk.org> wrote:

>> This fix improves performance in the AES key schedule generation by eliminating an unnecessary object and unnecessary mask in the inverse key schedule.
>> 
>> The micro:org.openjdk.bench.javax.crypto.AESReinit benchmark results are improved by 6.96% for arm64 and 7.79% for x86_64.
>> 
>> Thank you @jnimeh for catching the unnecessary byte mask!
>
> Shawn M Emery has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updates for code review comments from @jnimeh

Marked as reviewed by jnimeh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28188#pullrequestreview-3438482876


More information about the security-dev mailing list