forked from wolfSSL/wolfssl
Added compile time check for ALT_ECC_SIZE requiring USE_FAST_MATH.
This commit is contained in:
@@ -85,6 +85,10 @@ typedef struct {
|
|||||||
* Do not enable ALT_ECC_SIZE and disable fast math in the configuration.
|
* 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
|
#ifndef FP_MAX_BITS_ECC
|
||||||
#define FP_MAX_BITS_ECC 528
|
#define FP_MAX_BITS_ECC 528
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user