ec/curve448: portability fixups.
authorAndy Polyakov <appro@openssl.org>
Fri, 23 Feb 2018 12:20:33 +0000 (13:20 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 24 Feb 2018 13:11:06 +0000 (14:11 +0100)
commitae1ffe0f65c460ccdfe5153b96fe9943d7a171b8
treec034979571afcd1541a4d5a6703582ae2b1ca149
parente8c42b9888f53ac60f92221da309dc5a2b007cc3
ec/curve448: portability fixups.

SPARC condition in __SIZEOF_INT128__==16 is rather performance thing
than portability. Even though compiler advertises int128 capability,
corresponding operations are inefficient, because they are not
directly backed by instruction set.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5449)
crypto/ec/curve448/curve448.c
crypto/ec/curve448/curve448utils.h