aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-10-19 19:34:47 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-10-19 19:34:47 +0300
commita42f7e7e0064e0d5bc54bde4506539d4766e1356 (patch)
tree348bb42084aed2b557684fbe188656938ab1a492 /contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c
parentcd66afc0fd1f9359cdf239e4a4f3a345b174e00e (diff)
downloadydb-a42f7e7e0064e0d5bc54bde4506539d4766e1356.tar.gz
Update contrib/restricted/aws/s2n to 1.3.24
Diffstat (limited to 'contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c')
-rw-r--r--contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c
index 6219ad7e88..e764568826 100644
--- a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c
+++ b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c
@@ -2,6 +2,10 @@
#include "kyber512r3_params.h"
#include "kyber512r3_reduce.h"
+#if S2N_ANY_NONPORTABLE_OPTIMIZATIONS_ENABLED
+#error "Compiling portable code with non-portable assembly optimizations is not allowed"
+#endif
+
/*************************************************
* Name: montgomery_reduce
*