Mercurial > dropbear
comparison tommath_class.h @ 157:3a616069cc21 libtommath
tommath_class.h: make sure that toom and karatsuba code really doesn't get
compiled in.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 22 Dec 2004 16:13:44 +0000 |
parents | 81bc23421b45 |
children | c5c969ed76f3 |
comparison
equal
deleted
inserted
replaced
155:9063ffd31799 | 157:3a616069cc21 |
---|---|
55 #define BN_MP_INIT_SIZE_C | 55 #define BN_MP_INIT_SIZE_C |
56 #define BN_MP_INVMOD_C | 56 #define BN_MP_INVMOD_C |
57 #define BN_MP_INVMOD_SLOW_C | 57 #define BN_MP_INVMOD_SLOW_C |
58 #define BN_MP_IS_SQUARE_C | 58 #define BN_MP_IS_SQUARE_C |
59 #define BN_MP_JACOBI_C | 59 #define BN_MP_JACOBI_C |
60 /* matt - dropbear doesn't need these | |
61 #define BN_MP_KARATSUBA_MUL_C | 60 #define BN_MP_KARATSUBA_MUL_C |
62 #define BN_MP_KARATSUBA_SQR_C | 61 #define BN_MP_KARATSUBA_SQR_C |
63 */ | |
64 #define BN_MP_LCM_C | 62 #define BN_MP_LCM_C |
65 #define BN_MP_LSHD_C | 63 #define BN_MP_LSHD_C |
66 #define BN_MP_MOD_C | 64 #define BN_MP_MOD_C |
67 #define BN_MP_MOD_2D_C | 65 #define BN_MP_MOD_2D_C |
68 #define BN_MP_MOD_D_C | 66 #define BN_MP_MOD_D_C |
106 #define BN_MP_SUB_C | 104 #define BN_MP_SUB_C |
107 #define BN_MP_SUB_D_C | 105 #define BN_MP_SUB_D_C |
108 #define BN_MP_SUBMOD_C | 106 #define BN_MP_SUBMOD_C |
109 #define BN_MP_TO_SIGNED_BIN_C | 107 #define BN_MP_TO_SIGNED_BIN_C |
110 #define BN_MP_TO_UNSIGNED_BIN_C | 108 #define BN_MP_TO_UNSIGNED_BIN_C |
111 /* matt - dropbear doesn't need these | |
112 #define BN_MP_TOOM_MUL_C | 109 #define BN_MP_TOOM_MUL_C |
113 #define BN_MP_TOOM_SQR_C | 110 #define BN_MP_TOOM_SQR_C |
114 */ | |
115 #define BN_MP_TORADIX_C | 111 #define BN_MP_TORADIX_C |
116 #define BN_MP_TORADIX_N_C | 112 #define BN_MP_TORADIX_N_C |
117 #define BN_MP_UNSIGNED_BIN_SIZE_C | 113 #define BN_MP_UNSIGNED_BIN_SIZE_C |
118 #define BN_MP_XOR_C | 114 #define BN_MP_XOR_C |
119 #define BN_MP_ZERO_C | 115 #define BN_MP_ZERO_C |
951 #include <tommath_superclass.h> | 947 #include <tommath_superclass.h> |
952 #include <tommath_class.h> | 948 #include <tommath_class.h> |
953 #else | 949 #else |
954 #define LTM_LAST | 950 #define LTM_LAST |
955 #endif | 951 #endif |
952 | |
953 /* Dropbear doesn't need these. */ | |
954 #undef BN_MP_KARATSUBA_MUL_C | |
955 #undef BN_MP_KARATSUBA_SQR_C | |
956 #undef BN_MP_TOOM_MUL_C | |
957 #undef BN_MP_TOOM_SQR_C |