From: Andy Polyakov Date: Sun, 31 Dec 2017 12:23:08 +0000 (+0100) Subject: ec/curve25519.c: avoid 2^51 radix on SPARC. X-Git-Tag: OpenSSL_1_1_1-pre1~225 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=26b05245f0d3a6cea970f104f6aff388948fe318;hp=26b05245f0d3a6cea970f104f6aff388948fe318 ec/curve25519.c: avoid 2^51 radix on SPARC. SPARC ISA doesn't have provisions to back up 128-bit multiplications and additions. And so multiplications are done with library calls and carries with comparisons and conditional moves. As result base 2^51 code is >40% slower... Reviewed-by: Tim Hudson ---