comparison libtommath/tommath_class.h @ 1748:34d9d3c022ce

Use Dropbear's random source rather than libtommath's platform
author Matt Johnston <matt@ucc.asn.au>
date Mon, 19 Oct 2020 22:49:19 +0800
parents 5386011b740d
children
comparison
equal deleted inserted replaced
1747:ff51d5967e2d 1748:34d9d3c022ce
1314 #undef BN_MP_TOOM_SQR_C 1314 #undef BN_MP_TOOM_SQR_C
1315 #undef BN_S_MP_KARATSUBA_MUL_C 1315 #undef BN_S_MP_KARATSUBA_MUL_C
1316 #undef BN_S_MP_KARATSUBA_SQR_C 1316 #undef BN_S_MP_KARATSUBA_SQR_C
1317 #undef BN_S_MP_TOOM_MUL_C 1317 #undef BN_S_MP_TOOM_MUL_C
1318 #undef BN_S_MP_TOOM_SQR_C 1318 #undef BN_S_MP_TOOM_SQR_C
1319 /* Dropbear uses its own random source */
1320 #undef BN_S_MP_RAND_PLATFORM_C
1319 1321
1320 #include "dbmalloc.h" 1322 #include "dbmalloc.h"
1321 #define MP_MALLOC m_malloc 1323 #define MP_MALLOC m_malloc
1322 #define MP_FREE m_free_ltm 1324 #define MP_FREE m_free_ltm
1323 #define MP_REALLOC m_realloc_ltm 1325 #define MP_REALLOC m_realloc_ltm