-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathzetas.c
39 lines (33 loc) · 1.51 KB
/
zetas.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Copyright (c) 2024 The mlkem-native project authors
* SPDX-License-Identifier: Apache-2.0
*/
/*
* WARNING: This file is auto-generated from scripts/autogen
* Do not modify it directly.
*/
#include "common.h"
#if !defined(MLKEM_NATIVE_MULTILEVEL_BUILD_NO_SHARED)
#include "poly.h"
/*
* Table of zeta values used in the reference NTT and inverse NTT.
* See autogen for details.
*/
ALIGN const int16_t zetas[128] = {
-1044, -758, -359, -1517, 1493, 1422, 287, 202, -171, 622, 1577,
182, 962, -1202, -1474, 1468, 573, -1325, 264, 383, -829, 1458,
-1602, -130, -681, 1017, 732, 608, -1542, 411, -205, -1571, 1223,
652, -552, 1015, -1293, 1491, -282, -1544, 516, -8, -320, -666,
-1618, -1162, 126, 1469, -853, -90, -271, 830, 107, -1421, -247,
-951, -398, 961, -1508, -725, 448, -1065, 677, -1275, -1103, 430,
555, 843, -1251, 871, 1550, 105, 422, 587, 177, -235, -291,
-460, 1574, 1653, -246, 778, 1159, -147, -777, 1483, -602, 1119,
-1590, 644, -872, 349, 418, 329, -156, -75, 817, 1097, 603,
610, 1322, -1285, -1465, 384, -1215, -136, 1218, -1335, -874, 220,
-1187, -1659, -1185, -1530, -1278, 794, -1510, -854, -870, 478, -108,
-308, 996, 991, 958, -1460, 1522, 1628,
};
#else /* MLKEM_NATIVE_MULTILEVEL_BUILD_NO_SHARED */
#define empty_cu_zetas MLKEM_NAMESPACE_K(empty_cu_zetas)
int empty_cu_zetas;
#endif /* MLKEM_NATIVE_MULTILEVEL_BUILD_NO_SHARED */