aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-11-07 16:54:51 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-11-07 16:54:51 +0300
commit9ca5282bca79550f17a48f7aef639f0e6d477b2c (patch)
tree6b03d26c014c76bea0c1743e7f03dd066023b72e /contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c
parent964584075fe8d2284078222e1e7e2e424c8bd9a1 (diff)
downloadydb-9ca5282bca79550f17a48f7aef639f0e6d477b2c.tar.gz
Update contrib/restricted/aws/s2n to 1.3.25
Diffstat (limited to 'contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c')
-rw-r--r--contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c
index 921f6ffc2c..c38147bafe 100644
--- a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c
+++ b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c
@@ -3,9 +3,7 @@
#include "kyber512r3_ntt.h"
#include "kyber512r3_reduce.h"
-#if S2N_ANY_NONPORTABLE_OPTIMIZATIONS_ENABLED
-#error "Compiling portable code with non-portable assembly optimizations is not allowed"
-#endif
+S2N_ENSURE_PORTABLE_OPTIMIZATIONS
const int16_t zetas[128] = {
2285, 2571, 2970, 1812, 1493, 1422, 287, 202, 3158, 622, 1577, 182, 962,