comparison libtommath/tommath_class.h @ 1361:f9f930e1a516 fuzz

add dbmalloc epoch cleanup
author Matt Johnston <matt@ucc.asn.au>
date Sun, 21 May 2017 10:54:11 +0800
parents 5ff8218bcee9
children 871b18fd7065
comparison
equal deleted inserted replaced
1360:16f45f2df38f 1361:f9f930e1a516
998 #undef BN_MP_KARATSUBA_MUL_C 998 #undef BN_MP_KARATSUBA_MUL_C
999 #undef BN_MP_KARATSUBA_SQR_C 999 #undef BN_MP_KARATSUBA_SQR_C
1000 #undef BN_MP_TOOM_MUL_C 1000 #undef BN_MP_TOOM_MUL_C
1001 #undef BN_MP_TOOM_SQR_C 1001 #undef BN_MP_TOOM_SQR_C
1002 1002
1003 void * m_malloc(size_t size);
1004 /* m_calloc is limited in size, enough for libtomcrypt */
1005 void * m_calloc(size_t nmemb, size_t size);
1006 void * m_realloc(void* ptr, size_t size);
1007 void m_free_direct(void* ptr);
1008
1009 #define XMALLOC m_malloc
1010 #define XFREE m_free_direct
1011 #define XREALLOC m_realloc
1012 #define XCALLOC m_calloc
1013
1003 /* $Source: /cvs/libtom/libtommath/tommath_class.h,v $ */ 1014 /* $Source: /cvs/libtom/libtommath/tommath_class.h,v $ */
1004 /* $Revision: 1.3 $ */ 1015 /* $Revision: 1.3 $ */
1005 /* $Date: 2005/07/28 11:59:32 $ */ 1016 /* $Date: 2005/07/28 11:59:32 $ */