Integrated: 8371450: AES performance improvements for key schedule generation

Shawn M Emery duke at openjdk.org
Thu Nov 13 08:13:28 UTC 2025


On Fri, 7 Nov 2025 07:53:37 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!

This pull request has now been integrated.

Changeset: 436b3357
Author:    Shawn M Emery <shawn.emery at oracle.com>
Committer: Jamil Nimeh <jnimeh at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/436b3357e9791f6acb2673e2ac96d33c6a2782e6
Stats:     36 lines in 1 file changed: 11 ins; 5 del; 20 mod

8371450: AES performance improvements for key schedule generation

Reviewed-by: valeriep, jnimeh

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

PR: https://git.openjdk.org/jdk/pull/28188


More information about the security-dev mailing list