From 8b5f414fc142474327661e18b0db5fe5f87a95c8 Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Fri, 3 Nov 2017 10:47:35 +1000 Subject: [PATCH] Disable AVR asm speedups in Curve25519 for now --- libraries/Crypto/Curve25519.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/Crypto/Curve25519.cpp b/libraries/Crypto/Curve25519.cpp index 424df38c..68160c23 100644 --- a/libraries/Crypto/Curve25519.cpp +++ b/libraries/Crypto/Curve25519.cpp @@ -43,7 +43,8 @@ // Global switch to enable/disable AVR inline assembly optimizations. #if defined(__AVR__) -#define CURVE25519_ASM_AVR 1 +// Disabled for now - there are issues with newer Arduino compilers. FIXME +//#define CURVE25519_ASM_AVR 1 #endif // The overhead of clean() calls in mul(), reduceQuick(), etc can