Commit 2c35f43d authored by Ruben Anthony Gonzalez's avatar Ruben Anthony Gonzalez
Browse files

Fix alignment issues of kyber

parent 3f188d17
......@@ -12,9 +12,9 @@ const int16_t PQM4_KYBER512_M4fspeed_zetas[64] =
418, 329, 3173, 3254, 817, 1097, 603, 610, 1322, 2044, 1864, 384, 2114, 3193,
1218, 1994, 2455, 220, 2142, 1670, 2144, 1799, 2051, 794, 1819, 2475, 2459, 478,
3221, 3021, 996, 991, 958, 1869, 1522, 1628
};
} ;
const int16_t PQM4_KYBER512_M4fspeed_zetas_asm[128] = {
const int16_t __attribute__ ((aligned (4))) PQM4_KYBER512_M4fspeed_zetas_asm[128] = {
// 7 & 6 & 5 & 4 layers
0, 2571, 2970, 1812, 1493, 1422, 287, 202, 3158, 622, 1577, 182, 962, 2127, 1855, 1468,
// 1st loop of 3 & 2 & 1 layers
......@@ -35,7 +35,7 @@ const int16_t PQM4_KYBER512_M4fspeed_zetas_asm[128] = {
3124, 448, 2264, 3221, 3021, 996, 991, 1758, 677, 2054, 958, 1869, 1522, 1628
};
const int16_t PQM4_KYBER512_M4fspeed_zetas_inv_ct_asm[256] =
const int16_t __attribute__ ((aligned (4))) PQM4_KYBER512_M4fspeed_zetas_inv_ct_asm[256] =
{
// pad + LAYER 7+6+5+4
0, 2285, 2285, 758, 2285, 1517, 758, 359, 2285, 3127, 1517, 1907, 758, 3042, 359, 1836,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment