On Mon, 4 May 2026 13:07:45 GMT, Ferenc Rakoczi <[email protected]> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/ML_KEM.java line 355:
>> 
>>> 353:             1143, 2186, 2150, 1179, 2775, 554, 886, 2443,
>>> 354:             1722, 1607, 1212, 2117, 1874, 1455, 1029, 2300,
>>> 355:             2110, 1219, 2935, 394, 885, 2444, 2154, 1175
>> 
>> How are these magic constants generated?
>
> It is a rearrangement of the elements of the table in the spec (FIPS 203) so 
> that the algorithm can use the values sequentially.

Please add a commet to that effect here, with a reference to the table and how 
the elements were rearranged.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30991#discussion_r3207661785

Reply via email to