summaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/curve448utils.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-02-16 21:39:19 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:31 +0000
commitdd8796c551f236ee89a1b9068247c428ae818f21 (patch)
treebefce7af913b1bba71b204672b686463de433f93 /crypto/ec/curve448/curve448utils.h
parenta4e6dd819a1c395fb8e884c5a8f29ed0551ec13e (diff)
Some more cleanups of curve448 code
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/curve448utils.h')
-rw-r--r--crypto/ec/curve448/curve448utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ec/curve448/curve448utils.h b/crypto/ec/curve448/curve448utils.h
index 95b8c26da8..4af2c3f12d 100644
--- a/crypto/ec/curve448/curve448utils.h
+++ b/crypto/ec/curve448/curve448utils.h
@@ -23,8 +23,7 @@
* with arch_arm32.
*/
# ifndef C448_WORD_BITS
-# if (defined(__ILP64__) || defined(__amd64__) || defined(__x86_64__) \
- || (((__UINT_FAST32_MAX__)>>30)>>30))
+# if defined(__SIZEOF_INT128__) && (__SIZEOF_INT128__ == 16)
# define C448_WORD_BITS 64 /* The number of bits in a word */
# else
# define C448_WORD_BITS 32 /* The number of bits in a word */