Commit Graph

380 Commits

Author SHA1 Message Date
Francois Perrad
8a8659f283 remove useless variable 2017-12-22 21:30:15 +01:00
Francois Perrad
80bb9e7b52 add missing fclose 2017-12-22 21:30:15 +01:00
Francois Perrad
c60eeb0bed add missing include 2017-12-22 21:30:15 +01:00
Francois Perrad
a82d02ad25 remove useless include 2017-12-22 21:30:15 +01:00
Steffen Jaeckel
57c769c8ff Merge branch 'fix/doc' into develop 2017-12-21 18:20:36 +01:00
Steffen Jaeckel
2bf7d3a432 add function name to index
This fixes #98
2017-12-18 23:43:26 +01:00
Steffen Jaeckel
a768850525 improve generated output 2017-12-18 23:37:01 +01:00
Steffen Jaeckel
f3fa95e402
Merge pull request #96 from fperrad/20171208_perlcritic
run perlcritic against booker.pl
2017-12-18 15:37:05 +01:00
Francois Perrad
eb0a4b1f93 run perlcritic against booker.pl 2017-12-08 06:49:00 +01:00
Steffen Jaeckel
99057f6759
Merge pull request #93 from fperrad/20171017_format
astyle everywhere
2017-12-06 21:46:11 +01:00
Francois Perrad
2f35c79c00 refactor with FGETS 2017-12-06 16:31:03 +01:00
Francois Perrad
08741a141c run astyle 2017-12-06 16:30:45 +01:00
Francois Perrad
32e710ae07 remove trailing spaces 2017-12-06 16:30:10 +01:00
Steffen Jaeckel
4f6420bc02 Merge pull request #95 from libtom/improve/travis
create a travis build matrix
2017-10-19 13:56:19 +02:00
Steffen Jaeckel
aaa52a3d71 also run test vs mtest with real random data 2017-10-19 12:01:58 +02:00
Steffen Jaeckel
e156e7efcf fix clang build for MP_{8,16}BIT 2017-10-19 11:47:29 +02:00
Steffen Jaeckel
d5328bfade create a travis build matrix 2017-10-19 11:47:29 +02:00
Steffen Jaeckel
1ca973b6b8 Merge pull request #94 from fperrad/20171018_cast
restore previous cast
2017-10-19 09:46:36 +02:00
Francois Perrad
c098e37e2f restore previous cast
avoid warning with gcc -mx32
    left shift count >= width of type [-Wshift-count-overflow]

avoid infinite loop at run time
2017-10-19 05:51:17 +02:00
Steffen Jaeckel
faea5da30a Merge pull request #43 from fperrad/20151127_lint
lintings and more

This fixes #71
2017-10-15 22:35:08 +02:00
Francois Perrad
3f8e0b62b2 add name of parameters 2017-10-15 19:58:52 +02:00
Francois Perrad
43c26b3a3d use same parameter name between prototype declaration and definition 2017-10-15 19:58:50 +02:00
Francois Perrad
6b191732da remove extra whitespaces 2017-10-15 19:58:47 +02:00
Francois Perrad
dabf9217a1 add parentheses for explicit operator precedence 2017-10-15 19:58:44 +02:00
Francois Perrad
f1d6c88759 refactor cast 2017-10-15 19:58:35 +02:00
Francois Perrad
bdbed00079 literal suffix 2017-10-15 19:57:12 +02:00
Francois Perrad
40c763a18d literal suffix in call function 2017-10-15 16:11:09 +02:00
Steffen Jaeckel
d0cb8ba954 Merge branch 'better/read_radix' into develop
This closes #92
2017-10-15 12:03:10 +02:00
Steffen Jaeckel
0a7ecc3bd4 add the inverse of mp_s_rmap 2017-10-15 12:03:00 +02:00
Steffen Jaeckel
6a268ef463 Merge branch 'fix/54' into develop
This closes #54
2017-10-15 12:01:52 +02:00
Steffen Jaeckel
1bc0088330 use correct printf format specifier in timing.c
This fixes #54
2017-10-15 12:01:38 +02:00
Steffen Jaeckel
efcac86cac Merge branch 'fix/67' into develop
This closes #67
2017-10-15 12:01:15 +02:00
Steffen Jaeckel
8dbfaff04e Handle corner-cases of invmod()
This fixes #67
2017-10-15 12:01:04 +02:00
Steffen Jaeckel
6fa127b707 add testcase for #67 2017-10-15 12:01:04 +02:00
Steffen Jaeckel
5bb73c6f74 Merge branch 'fix/issues' into develop
This closes #90
2017-10-15 12:00:26 +02:00
Steffen Jaeckel
356084ee31 improve mp_lshd
This fixes #61
2017-10-15 12:00:11 +02:00
Steffen Jaeckel
1d03522625 make sure fast_s_mp_mul_digs() doesn't BOF
This fixes #60 and #80
2017-10-15 12:00:11 +02:00
Steffen Jaeckel
a4d905a030 make sure fast_mp_montgomery_reduce() doesn't BOF
This fixes #63
2017-10-15 12:00:11 +02:00
Steffen Jaeckel
e9ce32a16d improve README 2017-10-14 18:50:04 +02:00
Steffen Jaeckel
7800276855 Merge pull request #91 from libtom/fix/microsoft_build
there's no __int128 on MSVC, fall back to 32bit MPI's
2017-10-10 14:30:51 +02:00
Steffen Jaeckel
a40e32b21c suppress some warnings when compiling with mingw-gcc
[skip ci]
2017-10-10 14:30:01 +02:00
Steffen Jaeckel
d1fc4a71d3 LLP64 indicates a windows environment
as of [1] the only architecture using a LLP64 data model is windows

[1]: https://en.wikipedia.org/wiki/64-bit_computing
2017-10-03 15:18:33 +02:00
Steffen Jaeckel
1346d9830a there's no __int128 on MSVC, fall back to 32bit MPI's 2017-10-03 09:19:50 +02:00
Steffen Jaeckel
fd81ac754a Merge pull request #88 from libtom/const_api
Add 'const' keyword in various places. Adopted from Tcl
2017-10-02 17:13:56 +02:00
Francois Perrad
d293ab6604 more constify 2017-09-30 22:57:00 +02:00
nijtmans
f674018a41 constify remaining functions 2017-09-20 16:59:43 +02:00
Steffen Jaeckel
eca200d7cf fix mp_cmp() and mp_cmp_mag() API 2017-09-20 15:02:52 +02:00
nijtmans
41de585524 Add 'const' keyword in various places. Adopted from Tcl 2017-09-19 13:35:15 +02:00
Steffen Jaeckel
5aec0c4094 add astyle make target 2017-09-15 12:47:06 +02:00
Steffen Jaeckel
fedc15b625 Merge pull request #85 from fperrad/20170830_format
rebase formating code
2017-09-15 12:46:38 +02:00