summaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/field.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-03-21 11:19:58 +0100
committerAndy Polyakov <appro@openssl.org>2018-03-22 11:50:44 +0100
commitf55fd7f2c6b70a5ee1fa959593b5a3ca64ee5914 (patch)
treec4574397da99b10976119f2c5b0cdc27be7ca48f /crypto/ec/curve448/field.h
parentbio/bss_log.c: on DJGPP syslog facility is part of sockets library. (diff)
downloadopenssl-f55fd7f2c6b70a5ee1fa959593b5a3ca64ee5914.tar.xz
openssl-f55fd7f2c6b70a5ee1fa959593b5a3ca64ee5914.zip
curve448/field.h: relax alignment, as it doesn't work universally.
Some platforms, cough-DJGPP, fail to compile claiming that requested alignment is greater than maximum possible. Supposedly original alignment was result of an attempt to utilize AVX2... Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5708)
Diffstat (limited to 'crypto/ec/curve448/field.h')
-rw-r--r--crypto/ec/curve448/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/curve448/field.h b/crypto/ec/curve448/field.h
index c3bad40e3b..d96d4c023d 100644
--- a/crypto/ec/curve448/field.h
+++ b/crypto/ec/curve448/field.h
@@ -25,7 +25,7 @@
# if defined(__GNUC__) || defined(__clang__)
# define INLINE_UNUSED __inline__ __attribute__((__unused__,__always_inline__))
# define RESTRICT __restrict__
-# define ALIGNED __attribute__((__aligned__(32)))
+# define ALIGNED __attribute__((__aligned__(16)))
# else
# define INLINE_UNUSED ossl_inline
# define RESTRICT