Commit Graph

66 Commits

Author SHA1 Message Date
Steffen Jaeckel
8b24998df4 update gitignore 2012-11-19 12:03:27 +01:00
Steffen Jaeckel
1bd1320b19 Merge pull request #4 from moritz/negative-mod
Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer
2012-05-11 14:59:48 -07:00
Steffen Jaeckel
4493d85162 Merge pull request #5 from moritz/fix-compilation
fix mp_error_to_string in tommath.h
2012-01-09 03:28:22 -08:00
Moritz Lenz
fef72c3423 fix mp_error_to_string in tommath.h 2012-01-09 06:50:09 +01:00
Moritz Lenz
265651b2c7 Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer
it used to return b, now it return 0.
2012-01-08 20:49:01 +01:00
Steffen Jaeckel
abb79ebfed mp_error_to_string: return const char* instead of char* 2011-06-19 15:49:34 +02:00
Steffen Jaeckel
fe40673639 fixed compilation error of demo/demo.c because of missing macro LTM_PRIME_2MSB_OFF 2011-03-23 23:25:15 +01:00
Steffen Jaeckel
6d20c3c6a9 removed flag LTM_PRIME_2MSB_OFF since it's no more available 2011-03-23 23:24:37 +01:00
Steffen Jaeckel
2e781717db Merge remote-tracking branch 'dbussink/master' 2011-03-23 22:39:17 +01:00
Dirkjan Bussink
e071a03b63 Squared result was stored in the wrong variable 2011-03-23 20:14:23 +01:00
Steffen Jaeckel
2c04cdddbd after multiple objections of libtom users [1], we decided to change licensing
to a dual licensing model.

[1] https://groups.google.com/group/libtom/browse_thread/thread/d7b67bc6410250b3
2011-01-19 10:21:45 +01:00
unknown
1fd9163cac added typecast in mp_read_radix()
warning was "warning: subscript has type `char'"
2010-12-19 14:02:42 +01:00
Dirkjan Bussink
921be35779 Improving performance of bn_mp_expt_d
The loop was always iterating DIGIT_BIT times, instead of
halting when possible. This changes makes sure it executes
less operations. This change has also been incorporated
into Rubinius / https://github.com/evanphx/rubinius which
uses libtommath
2010-11-26 22:24:23 +01:00
Steffen Jaeckel
5fc6314643 Re-licensed all code under WTFPL, c.f. http://sam.zoy.org/wtfpl/ 2010-10-26 16:02:35 +02:00
Steffen Jaeckel
a66c562d42 - changed $ID$ SVN keyword to the correct one $Id$ 2010-07-23 18:40:04 +02:00
Steffen Jaeckel
6f5bf56122 added "VisualStudio section" in .gitignore 2010-07-23 15:20:25 +02:00
Mark Karpelès
25aac39167 (wrong version bump in bn.tex, fixed)
Signed-off-by: Mark Karpelès <mark@hell.ne.jp>
2010-07-23 22:13:12 +09:00
Mark Karpelès
c398483c72 Cleaning up files generated by "make manual" and "make poster" (added them to .gitignore), and version bump to 0.42.0 in bn.tex and makefile
Signed-off-by: Mark Karpelès <mark@hell.ne.jp>
2010-07-23 22:08:56 +09:00
Mark Karpelès
76b38426c7 updated changes.txt
Signed-off-by: Mark Karpelès <mark@hell.ne.jp>
2010-07-23 21:47:31 +09:00
Steffen Jaeckel
3ef7ba1b2e updated pre-gen/mpi.c 2010-07-23 11:40:42 +02:00
Steffen Jaeckel
9f815fb633 updated .gitignore 2010-07-23 11:15:38 +02:00
Mark Karpeles
a53ea34127 Fix for mp_prime_next_prime() bug when checking generated prime 2010-07-15 17:58:33 +02:00
Steffen Jaeckel
7d14fd029c + allow mp_shrink to shrink initialized, but empty MPI's 2010-07-15 17:49:19 +02:00
Daniel Akesson
eec4e5c546 Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-07-15 17:48:59 +02:00
Steffen Jaeckel
699efebe06 added .gitignore 2010-07-15 17:48:54 +02:00
Tom St Denis
333aebc894 added libtommath-0.41 2010-07-15 17:26:06 +02:00
Tom St Denis
3aba4eacc6 added libtommath-0.40 2010-07-15 17:26:03 +02:00
Tom St Denis
f0b91a572e added libtommath-0.39 2010-07-15 17:26:01 +02:00
Tom St Denis
21adca01da added libtommath-0.38 2010-07-15 17:26:00 +02:00
Tom St Denis
fde740eae0 added libtommath-0.37 2010-07-15 17:25:57 +02:00
Tom St Denis
9294e79150 added libtommath-0.36 2010-07-15 17:25:56 +02:00
Tom St Denis
fdfa2f4f50 added libtommath-0.35 2010-07-15 17:25:53 +02:00
Tom St Denis
3d0fcaab0a added libtommath-0.34 2010-07-15 17:25:51 +02:00
Tom St Denis
4b7111d96e added libtommath-0.33 2010-07-15 17:25:49 +02:00
Tom St Denis
e549ccfec5 added libtommath-0.32 2010-07-15 17:25:47 +02:00
Tom St Denis
8eaa98807b added libtommath-0.31 2010-07-15 17:25:45 +02:00
Tom St Denis
350578d400 added libtommath-0.30 2010-07-15 17:25:43 +02:00
Tom St Denis
6c48a9b3a6 added libtommath-0.29 2010-07-15 17:25:41 +02:00
Tom St Denis
455bb4db20 added libtommath-0.28 2010-07-15 17:25:39 +02:00
Tom St Denis
c343371bb2 added libtommath-0.27 2010-07-15 17:25:37 +02:00
Tom St Denis
6e732340a9 added libtommath-0.26 2010-07-15 17:25:35 +02:00
Tom St Denis
c1da6aa2de added libtommath-0.25 2010-07-15 17:25:33 +02:00
Tom St Denis
03cc01b578 added libtommath-0.24 2010-07-15 17:25:32 +02:00
Tom St Denis
eed6765fe9 added libtommath-0.23 2010-07-15 17:25:30 +02:00
Tom St Denis
4c1d3f0838 added libtommath-0.22 2010-07-15 17:25:29 +02:00
Tom St Denis
49bef06878 added libtommath-0.21 2010-07-15 17:25:27 +02:00
Tom St Denis
0fe7a2d4ff added libtommath-0.20 2010-07-15 17:25:26 +02:00
Tom St Denis
ef490f30f6 added libtommath-0.19 2010-07-15 17:25:24 +02:00
Tom St Denis
0ef44cea9b added libtommath-0.18 2010-07-15 17:25:22 +02:00
Tom St Denis
fd181cc841 added libtommath-0.17 2010-07-15 17:25:21 +02:00