Mercurial > dropbear
comparison libtommath/tommath_class.h @ 1723:5386011b740d
Disable toom and karatsuba for new libtommath
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 18 Jun 2020 19:12:07 +0800 |
parents | 1051e4eea25a |
children | 34d9d3c022ce |
comparison
equal
deleted
inserted
replaced
1722:912c8ca0728f | 1723:5386011b740d |
---|---|
1310 /* Dropbear doesn't need these. */ | 1310 /* Dropbear doesn't need these. */ |
1311 #undef BN_MP_KARATSUBA_MUL_C | 1311 #undef BN_MP_KARATSUBA_MUL_C |
1312 #undef BN_MP_KARATSUBA_SQR_C | 1312 #undef BN_MP_KARATSUBA_SQR_C |
1313 #undef BN_MP_TOOM_MUL_C | 1313 #undef BN_MP_TOOM_MUL_C |
1314 #undef BN_MP_TOOM_SQR_C | 1314 #undef BN_MP_TOOM_SQR_C |
1315 #undef BN_S_MP_KARATSUBA_MUL_C | |
1316 #undef BN_S_MP_KARATSUBA_SQR_C | |
1317 #undef BN_S_MP_TOOM_MUL_C | |
1318 #undef BN_S_MP_TOOM_SQR_C | |
1315 | 1319 |
1316 #include "dbmalloc.h" | 1320 #include "dbmalloc.h" |
1317 #define MP_MALLOC m_malloc | 1321 #define MP_MALLOC m_malloc |
1318 #define MP_FREE m_free_ltm | 1322 #define MP_FREE m_free_ltm |
1319 #define MP_REALLOC m_realloc_ltm | 1323 #define MP_REALLOC m_realloc_ltm |