RFR: 8349721: Add aarch64 intrinsics for ML-KEM [v11]

Vladimir Ivanov vlivanov at openjdk.org
Wed Apr 16 19:26:00 UTC 2025


On Tue, 15 Apr 2025 18:18:36 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

>> By using the aarch64 vector registers the speed of the computation of the ML-KEM algorithms (key generation, encapsulation, decapsulation) can be approximately doubled.
>
> Ferenc Rakoczi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed asserts.

src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 717:

> 715:   desc_len = (int)strlen(_cpu_desc);
> 716:   snprintf(_cpu_desc + desc_len, CPU_DETAILED_DESC_BUF_SIZE - desc_len, " %s", _features_string);
> 717:   fprintf(stderr, "_features_string = \"%s\"", _features_string);

Was this line added by mistake? Looks like a leftover.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23663#discussion_r2047606222


More information about the security-dev mailing list