summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_math.h
blob: 3ee9523a1c723ac7ec725d49845a727150eaba89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/** math functions **/

#define LTC_MP_LT   -1
#define LTC_MP_EQ    0
#define LTC_MP_GT    1

#define LTC_MP_NO    0
#define LTC_MP_YES   1

#ifndef LTC_MECC
   typedef void ecc_point;
#endif

#ifndef LTC_MRSA
   typedef void rsa_key;
#endif

#include <tommath.h>

typedef mp_int* mp_int_t;