[openssl-commits] [openssl] master update

Andy Polyakov appro at openssl.org
Sun Jan 7 20:41:06 UTC 2018


The branch master has been updated
       via  26b05245f0d3a6cea970f104f6aff388948fe318 (commit)
      from  10bc3409459a525654d6b986b3cd49d22dd95460 (commit)


- Log -----------------------------------------------------------------
commit 26b05245f0d3a6cea970f104f6aff388948fe318
Author: Andy Polyakov <appro at openssl.org>
Date:   Sun Dec 31 13:23:08 2017 +0100

    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 <tjh at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/curve25519.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/ec/curve25519.c b/crypto/ec/curve25519.c
index d1c725f..f32fc04 100644
--- a/crypto/ec/curve25519.c
+++ b/crypto/ec/curve25519.c
@@ -12,6 +12,7 @@
 #include <openssl/sha.h>
 
 #if !defined(PEDANTIC) && \
+    !defined(__sparc__) && \
     (defined(__SIZEOF_INT128__) && __SIZEOF_INT128__==16)
 /*
  * Base 2^51 implementation.


More information about the openssl-commits mailing list