RFR: 8344144: AES/CBC slow at big payloads [v2]
Volodymyr Paprotski
vpaprotski at openjdk.org
Tue Nov 19 00:17:52 UTC 2024
On Tue, 19 Nov 2024 00:06:19 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> But it takes a few calls before hotspot switches to the intrinsic, so it can't be too large. I think we should include this logic explanation (the intrinsic parallelizes decryption) in the comment to make it clear what we are doing here.
>
> Maybe focus that this is triggering the optimization and not about the data size.
>
> // chunkSize is a multiple of block size and used to divide up
> // input data to trigger the intrinsic.
@ascarpino Thanks! I was 30 seconds from pushing my rewording, but will take yours :D
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22086#discussion_r1847465831
More information about the security-dev
mailing list