Convert lambda splitter to pure scalar code.

This enables the use of the endomorphism optimization without bignum.
This commit is contained in:
Pieter Wuille
2014-12-01 18:22:04 +01:00
parent cc604e9842
commit c35ff1ea44
4 changed files with 65 additions and 71 deletions

View File

@@ -270,10 +270,7 @@ if test x"$set_field" = x"gmp" || test x"$set_bignum" = x"gmp"; then
fi
if test x"$use_endomorphism" = x"yes"; then
if test x"$set_bignum" = x"none"; then
AC_MSG_ERROR([Cannot use endomorphism optimization without a bignum implementation])
fi
AC_DEFINE(USE_ENDOMORPHISM, 1, [Define this symbol to use endomorphism])
AC_DEFINE(USE_ENDOMORPHISM, 1, [Define this symbol to use endomorphism optimization])
fi
AC_MSG_NOTICE([Using field implementation: $set_field])