Merge pull request #210 from dgarske/CheckEccAltwFastMath

Added compile time check for ALT_ECC_SIZE requiring USE_FAST_MATH.
This commit is contained in:
toddouska
2015-12-10 10:24:20 -08:00

View File

@@ -85,6 +85,10 @@ typedef struct {
* Do not enable ALT_ECC_SIZE and disable fast math in the configuration.
*/
#ifndef USE_FAST_MATH
#error USE_FAST_MATH must be defined to use ALT_ECC_SIZE
#endif
#ifndef FP_MAX_BITS_ECC
#define FP_MAX_BITS_ECC 528
#endif