On Tue, 18 Nov 2025 21:48:12 GMT, Martin Doerr <[email protected]> wrote:

>> This fix simplifies the hotspot intrinsics for some platforms and optimizes 
>> the key computation for encryption. We can save the `genInvRoundKeys` 
>> computation when we only do encryption.
>> 
>> The micro:org.openjdk.bench.javax.crypto.AESReinit benchmark results are 
>> improved by 17% for ppc64 and 26% for x86_64.
>
> Martin Doerr has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Remove K from AES_Crypt

@vnkozlov: May I ask you to take a look at the C2 part? I had to adapt the 
library_call code to the new Java implementation which stores the key in 
"sessionKe" and "sessionKd", now. I think the hotspot part is also more 
comprehensive this way because it makes it clear which key is used for what.

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

PR Comment: https://git.openjdk.org/jdk/pull/28299#issuecomment-3551612586

Reply via email to