Commit Graph

433 Commits

Author SHA1 Message Date
Francois Perrad
519a1de8da literal with suffix 2018-09-23 10:41:23 +02:00
Francois Perrad
82cd2c7f37 use NULL instead of 0 2018-09-23 10:41:20 +02:00
Steffen Jaeckel
af3bc61ea2
Merge pull request #119 from libtom/pr/possible-fix-118
bn_fast_mp_invmod fix related to #118
2018-09-22 17:14:50 +02:00
Karel Miko
f1b9bbf593 bn_fast_mp_invmod fix related to #118 2018-09-22 16:37:03 +02:00
Steffen Jaeckel
a829b87b00 add testcase of #118 2018-09-22 16:36:56 +02:00
Steffen Jaeckel
cbe30703ef
Merge pull request #124 from minad/two-complement
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor
2018-09-22 16:21:50 +02:00
Daniel Mendler
109bfa57bf
regenerate files 2018-09-10 18:49:10 +02:00
Daniel Mendler
eebbcf0644
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor 2018-09-10 18:48:58 +02:00
Steffen Jaeckel
bc685fd4a5
Merge pull request #108 from ararslan/aa/freebsd
Make the build logic more robust for BSD systems
2018-06-10 23:34:19 +02:00
Alex Arslan
33870d7be2
Make the build logic more robust for BSD systems
This properly sets MAKE on BSDs to gmake rather than make, which refers
to the incompatible BSD Make. Further, it betters detection of Clang as
the default compiler, which is the case on FreeBSD 11.0+ and OpenBSD
6.0+, and it fixes the unrecognized call to arch on FreeBSD.
2018-06-10 14:09:37 -07:00
Steffen Jaeckel
c707ee22ad
Merge pull request #111 from fperrad/20180502_lint
more linting
2018-06-10 18:20:23 +02:00
Francois Perrad
bd4167e883 const mp_s_rmap 2018-06-04 18:29:47 +02:00
karel-m
f86aecf356
Merge pull request #116 from libtom/pr/better-MP_64BIT
improved detection of MP_64BIT
2018-06-04 07:02:53 +02:00
Karel Miko
92e8719b80 improved detection of MP_64BIT 2018-05-28 22:02:13 +02:00
Steffen Jaeckel
9f7e1a3cb2
Merge pull request #114 from orbea/libtool
makefile.shared: Respect LIBTOOL.
2018-05-20 14:21:15 +02:00
orbea
0a8a162669 makefile.shared: Respect LIBTOOL. 2018-05-19 07:11:49 -07:00
Steffen Jaeckel
06965eab71
Merge pull request #110 from czurnieden/develop
Do not use tommath.h from the system for building
2018-05-02 23:32:40 +02:00
czurnieden
22550d41ad Do not use tommath.h from the system for building 2018-05-02 22:01:09 +02:00
czurnieden
9034e712b8 Do not use installed headers for building 2018-05-02 21:43:17 +02:00
Steffen Jaeckel
71c5c8ac4b
Merge pull request #105 from libtom/fix/103
Fix #103
2018-05-01 20:57:43 +02:00
Steffen Jaeckel
ef6d85a1a6 don't use rand() in mp_rand()
This fixes #103
2018-04-23 22:31:59 +02:00
Steffen Jaeckel
baf3d5ee3c
Merge pull request #107 from libtom/improve/release
Improve release-process
2018-04-23 22:31:38 +02:00
Steffen Jaeckel
89f2bfea83 improve build
* don't export .travis.yml
* make 'astyle' on 'zipup'
2018-04-11 23:35:43 +02:00
Steffen Jaeckel
3994dc8610 auto-format bn_mp_radix_smap.c 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
7781472696 generate pre_gen/mpi.c on zipup 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
8028ebc268 remove pre_gen/mpi.c from repo 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
337d05b7fa update README.md 2018-04-11 23:35:43 +02:00
Steffen Jaeckel
02d6192d5a
Merge pull request #106 from samcv/solaris-fix
Fix build on Solaris by using ERR_ instead of ERR
2018-04-11 23:04:55 +02:00
Samantha McVey
42970eb427
Fix build on Solaris by using LBL_ERR instead of ERR
libtommath won't build on Solaris 11.3 with a goto statement named
`ERR`. Use LBL_ERR instead so it doesn't conflict.
2018-04-11 13:46:35 -07:00
Steffen Jaeckel
651715b033
Merge pull request #101 from libtom/cleanup
Fix&clean-up some things
2018-03-26 22:04:07 +02:00
Michael Shigorin
0bc755139c add e2k/lcc support 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
ee241c95e6 fix makefile.msvc
This fixes #74
2018-02-27 23:30:43 +01:00
Steffen Jaeckel
1a00b42c47 add fixme-check to zipup make-target 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
f51249b6aa clean-up file headers 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
f9536dcdc2 update results when running the timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
bf61c0be58 fix timing & logs/*.png generation 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
82376cb19b format output of timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
c69c3907c3 rename timing demo 2018-02-27 23:30:43 +01:00
Steffen Jaeckel
db1a8b1919
Merge pull request #102 from fperrad/20180202_lint
more linting
2018-02-27 23:27:45 +01:00
Francois Perrad
802d8294db fix type & cast 2018-02-13 19:04:31 +01:00
Francois Perrad
9960fe3fe8 literal suffix 2018-02-13 19:04:25 +01:00
Francois Perrad
e3598dc8b2 explicit condition 2018-02-02 17:54:50 +01:00
Francois Perrad
d051d6ba58 remove unused code 2018-02-02 17:54:49 +01:00
Francois Perrad
7c671e10d7 remove unreachable code 2018-02-02 17:54:46 +01:00
Steffen Jaeckel
0e67c5cd51
Merge pull request #100 from fperrad/20180202_indent
fix indentation
2018-02-02 14:21:29 +01:00
Francois Perrad
2e04831e29 fix indentation
broken by commit 'check fopen' 44d14a398d
2018-02-02 11:55:01 +01:00
Steffen Jaeckel
9f41e565bf
Merge pull request #97 from fperrad/20171210_lint
some linting
2018-02-02 09:44:07 +01:00
Francois Perrad
44d14a398d check fopen 2018-02-01 22:29:00 +01:00
Francois Perrad
0dbea3b69f explicit precedence operator with parenthesis 2018-02-01 22:28:57 +01:00
Francois Perrad
f5876db051 fix format 2018-02-01 22:28:54 +01:00