fix normal math 16bit digit_bit for all ecc sizes

This commit is contained in:
toddouska
2016-08-26 13:47:53 -07:00
parent 78ca9e7716
commit efabbcf305

View File

@ -96,6 +96,7 @@ extern "C" {
#elif defined(MP_16BIT) || defined(NO_64BIT)
typedef unsigned short mp_digit;
typedef unsigned int mp_word;
#define DIGIT_BIT 12
#elif defined(MP_64BIT)
/* for GCC only on supported platforms */
typedef unsigned long long mp_digit; /* 64 bit type, 128 uses mode(TI) */