Commit Graph

250 Commits

Author SHA1 Message Date
Steffen Jaeckel
7cf5c050e2 make sure the entire mp_digit is filled with random data 2016-10-10 00:48:01 +02:00
Steffen Jaeckel
2e1446f936 Add testcase for mp_add_d('0',...)
This closes #65
2016-06-02 09:52:42 +02:00
Dmitry Kovalenko
62442d4f33 Fix mp_add_d()
This closes #64
2016-06-02 09:40:55 +02:00
Steffen Jaeckel
0b9e9b5b08 improve trivial tests 2016-06-02 09:40:05 +02:00
Dmitry Kovalenko
1c3aa803c4 Improve readability of mp_exptmod_fast()
This closes #58
2016-05-16 12:41:11 +02:00
Dmitry Kovalenko
5f8fb25f64 fix memory leak in mp_init_copy()
This closes #59
2016-05-16 12:31:09 +02:00
Steffen Jaeckel
447f7b8148 mtest takes a while... don't let travis kill it 2016-04-24 13:50:05 +02:00
Steffen Jaeckel
0bccf0eb75 show master build state on main pagein readme 2016-04-24 13:49:58 +02:00
Steffen Jaeckel
9048c9b6d7 also build master on travis 2016-04-21 23:09:29 +02:00
Tom St Denis
f551dbc8ac Remove all traces of ulong64 as per comment by Karel M 2016-02-03 13:07:27 -05:00
Tom St Denis
5cba7dd8fe consistent version numbers 2016-02-03 13:00:45 -05:00
Steffen Jaeckel
09bcf7da97 convert line endings for the zip archive 2016-02-03 18:14:04 +01:00
Steffen Jaeckel
adf125473f add gpg signatures back to zipup target 2016-02-03 18:14:04 +01:00
Tom St Denis
37a92dd079 Simplify versioning to drop patch level 2016-02-02 11:54:57 -05:00
Tom St Denis
afb4224186 Re-added ability to make zip files 2016-01-31 14:57:39 -05:00
Tom St Denis
6aa1cb9de5 Remove PDF from worktree since it's produced in tarball stage 2016-01-31 14:54:09 -05:00
Tom St Denis
432e3bd8eb Bump to v1.0.0 2016-01-31 13:52:03 -05:00
Tom St Denis
dd82833cde Disable optimizations for mtest due to bug(s) in mpi.c causing it to fail checked against tfm/external 2016-01-31 12:54:06 -05:00
Steffen Jaeckel
d07425e670 'make coverage' create the same results for regular and shared makefile 2016-01-13 23:23:19 +01:00
Steffen Jaeckel
3ae9d0fbd2 demo: verify that negative number handling in mp_jacobi works 2016-01-12 13:49:18 +01:00
Steffen Jaeckel
e8d2609f81 mp_jacobi: error-out until #44 is fixed 2016-01-12 13:48:37 +01:00
Steffen Jaeckel
d231f1a1a7 update gitignore 2016-01-09 19:56:29 +01:00
Steffen Jaeckel
f9a6e0bf2f Move coveralls make target to makefile
...as it doesn't work for makefile.shared ...
2015-12-25 19:47:49 +01:00
Dennis Fateyev
da9fa5bd04 Exclude timing tests on various architectures
PPC and ARM have no RDTSC support, therefore simly eclude
the timing tests from the coverage make target
2015-12-25 19:43:29 +01:00
Steffen Jaeckel
039a707e66 Fix some tommath.src errors 2015-12-25 19:36:44 +01:00
Dennis Fateyev
8fde8fa41b Improve package version assignment 2015-12-25 19:23:46 +01:00
Steffen Jaeckel
087d2b4cf1 refactor & clean-up makefiles 2015-12-12 20:19:15 +01:00
Steffen Jaeckel
68a360ab7f timing: create reproducable results 2015-12-12 18:15:04 +01:00
Dennis Fateyev
ed8e8fdb0a Small fixes
testme.sh: nowadays some VM solutions tend to use "processor" word
in other places (like "model name: Common KVM processor")
booker.pl: escape left brace
2015-12-12 18:12:42 +01:00
Steffen Jaeckel
91e18b2974 add notification for #libtom irc 2015-12-05 13:58:21 +01:00
Steffen Jaeckel
2792ab8984 update travis.yml and adjust README 2015-12-05 13:47:22 +01:00
Francois Perrad
7d9a225a69 add Travis CI 2015-12-05 13:38:21 +01:00
Steffen Jaeckel
c40eed57d9 add --all to testme.sh 2015-12-05 13:09:43 +01:00
Steffen Jaeckel
2e3ed19c3d improve testme.sh 2015-12-05 13:01:19 +01:00
Steffen Jaeckel
543ffc7a03 improve demo.c a bit
- fix mp_get_long_long() tests
- more verbose output of ndraw()
- use all output of rand()
- move montgomery to the end of the tests, it's slow
2015-12-03 00:10:06 +01:00
Steffen Jaeckel
b505db8f48 Merge branch 'register' into develop
This closes #42
2015-12-02 22:53:12 +01:00
Francois Perrad
8714ee55cc remove register
let the compiler find the best register optimization
2015-12-02 22:52:32 +01:00
Steffen Jaeckel
edef6ca191 Merge branch '20151112_lint' into develop
This closes #40
2015-12-02 22:51:48 +01:00
Francois Perrad
a0b8ce68f7 use unsigned literal 2015-12-02 22:47:51 +01:00
Francois Perrad
81d5f0e39a add parentheses for explicit operator association 2015-12-02 22:47:51 +01:00
Francois Perrad
99c84acc4c add parentheses for explicit operator precedence 2015-12-02 22:47:51 +01:00
Francois Perrad
10cfb95508 use same parameter name between prototype declaration and function definition 2015-12-02 22:47:51 +01:00
Francois Perrad
c0b14e3df4 handle the return value of function 2015-12-02 22:47:51 +01:00
Francois Perrad
babf35c64a explicit condition 2015-12-02 22:47:50 +01:00
Steffen Jaeckel
1e7ca501fd fixup demo.c 2015-11-29 23:14:50 +01:00
Steffen Jaeckel
6d4467daba Merge branch 'fix/jacobi' into develop
This closes #31
2015-11-29 23:12:43 +01:00
Steffen Jaeckel
7176a8777a Add tests for mp_jacobi() 2015-11-29 22:43:52 +01:00
Steffen Jaeckel
34e6b723ff Implement handling of special case (0 | 1) 2015-11-25 21:24:21 +01:00
Steffen Jaeckel
ce70362ace Rename parameter p to n 2015-11-25 21:24:13 +01:00
Tom St Denis
6c536e4bd0 Speed up testing and temporarily disable clang testing 2015-11-25 09:41:58 -05:00