On Mon, 10 Nov 2025 00:26:22 GMT, Shawn M Emery <[email protected]> wrote:

>> Yes, this would definitely speed up key schedule generation, but at the cost 
>> of additional memory; +768 bytes per instance, where the total AES cipher 
>> would be 1,268 bytes more per instance than the original Cryptix 
>> implementation.
>
> The int[256] SBOX solution would increase performance by 2.64% for the 
> AESReinit benchmark.

Switching from a byte[16][16] to a byte[256] SBOX would still increase 
performance by 1.24% for the AESReinit benchmark w/o sacrificing memory.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28188#discussion_r2508528417

Reply via email to