Skip to content
Closed
2 changes: 2 additions & 0 deletions src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5692,6 +5692,8 @@ class StubGenerator: public StubCodeGenerator {
// load 16 zetas
vs_ldpq_post(vz, zetas);
// load 2 sets of 32 coefficients from the two input arrays
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// load 2 sets of 32 coefficients from the two input arrays
// load 2 sets of 32 coefficients from the two input arrays
// interleaved as shorts. i.e. pairs of shorts adjacent in memory
// are striped across pairs of vector registers

// interleaved as shorts. i.e. pairs of shorts adjacent in memory
// are striped across pairs of vector registers
vs_ld2_post(vs_front(vs1), __ T8H, ntta);
vs_ld2_post(vs_back(vs1), __ T8H, nttb);
vs_ld2_post(vs_front(vs4), __ T8H, ntta);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ private K_PKE_KeyPair generateK_PkeKeyPair(byte[] seed) {
}

mlKemG.update(seed);
// mlKemG.update((byte)mlKem_k);
mlKemG.update((byte)mlKem_k);

var rhoSigma = mlKemG.digest();
var rho = Arrays.copyOfRange(rhoSigma, 0, 32);
Expand Down