From 99f47c20ec41279075d6b3ae64c9c1a84b40a6f8 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Mon, 3 May 2021 14:11:08 +0200 Subject: [PATCH] gen_context: Don't use external ASM because it complicates the build Fixes #931. --- src/gen_context.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gen_context.c b/src/gen_context.c index 024c557..0fb361f 100644 --- a/src/gen_context.c +++ b/src/gen_context.c @@ -13,6 +13,11 @@ /* We can't require the precomputed tables when creating them. */ #undef USE_ECMULT_STATIC_PRECOMPUTATION +/* In principle we could use external ASM, but this yields only a minor speedup in + build time and it's very complicated. In particular when cross-compiling, we'd + need to build the external ASM for the build and the host machine. */ +#undef USE_EXTERNAL_ASM + #include "include/secp256k1.h" #include "assumptions.h" #include "util.h"