Mercurial > dropbear
comparison etc/tune.c @ 386:97db060d0ef5 libtommath-orig libtommath-0.40
Update to LibTomMath 0.40
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 03:11:15 +0000 |
parents | 91fbc376f010 |
children |
comparison
equal
deleted
inserted
replaced
282:91fbc376f010 | 386:97db060d0ef5 |
---|---|
1 /* Tune the Karatsuba parameters | 1 /* Tune the Karatsuba parameters |
2 * | 2 * |
3 * Tom St Denis, [email protected] | 3 * Tom St Denis, [email protected] |
4 */ | 4 */ |
5 #include <tommath.h> | 5 #include <tommath.h> |
6 #include <time.h> | 6 #include <time.h> |
7 | 7 |
8 /* how many times todo each size mult. Depends on your computer. For slow computers | 8 /* how many times todo each size mult. Depends on your computer. For slow computers |
134 printf("KARATSUBA_MUL_CUTOFF = %d\n", y); | 134 printf("KARATSUBA_MUL_CUTOFF = %d\n", y); |
135 printf("KARATSUBA_SQR_CUTOFF = %d\n", x); | 135 printf("KARATSUBA_SQR_CUTOFF = %d\n", x); |
136 | 136 |
137 return 0; | 137 return 0; |
138 } | 138 } |
139 | |
140 /* $Source: /cvs/libtom/libtommath/etc/tune.c,v $ */ | |
141 /* $Revision: 1.3 $ */ | |
142 /* $Date: 2006/03/31 14:18:47 $ */ |