Integrated: 8374755: ML-KEM's 12-bit decompression can be simplified on aarch64

Ferenc Rakoczi duke at openjdk.org
Thu Jan 29 12:55:33 UTC 2026


On Fri, 9 Jan 2026 14:41:07 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

> The preconditions for the aarch64 and the AVX-512 intrinsic implementations of the implKyber12To16() method of com.sun.crypto.provider.ML_KEM are different and the AVX-512 one has stricter preconditions on the input, which was not recorded in the assert() before calling the function (although they were satisfied by all calling code). Now the assert() is corrected, and with these preconditions, the aarch64 implementation is simplified.

This pull request has now been integrated.

Changeset: 99119597
Author:    Ferenc Rakoczi <ferenc.r.rakoczi at oracle.com>
Committer: Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/99119597aa95c1139ae2259bed5ec885a7c01269
Stats:     91 lines in 2 files changed: 4 ins; 73 del; 14 mod

8374755: ML-KEM's 12-bit decompression can be simplified on aarch64

Reviewed-by: adinn

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

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


More information about the security-dev mailing list