Commit Graph

1230 Commits

Author SHA1 Message Date
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
Tom St Denis
10ba45b717 Merge branch 'fperrad-private' into develop 2015-11-25 09:35:25 -05:00
Francois Perrad
e6cfefc1ac more private stuff 2015-11-19 21:53:32 +01:00
Francois Perrad
f771e317ff move standard includes 2015-11-19 21:34:58 +01:00
Tom St Denis
2e28a7db97 Removed out of date contact info from textbook.
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
2015-11-13 15:01:19 -05:00
Tom St Denis
53f1b93595 Updated zipup to support git and simplified it somewhat.
I removed gpg use right now since I don't have a gpg key anyways ...

Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
2015-11-13 14:56:05 -05:00
Steffen Jaeckel
b98147c972 update install steps in makefiles
- add tommath_private.h to HEADERS
- only install public header files
- move more shared stuff to makefile.include
- make it possible to override the *PATH makefile variables
2015-11-12 02:02:18 +01:00
Steffen Jaeckel
4e3f1344a5 provide tommath_private.h
tommath.h contains declarations for the public part of the library.
tommath_private.h contains the functions which are private to ltm and
should not be exposed to the public.
2015-11-12 01:49:07 +01:00
Steffen Jaeckel
5a15247b6a improve testme.sh
you can now do something like `COMPILERS="gcc-5" ./testme.sh`
2015-11-12 01:34:28 +01:00
Steffen Jaeckel
489bf69f65 Merge branch '20151025_lint' into develop
This closes #38
2015-11-12 01:33:57 +01:00
Steffen Jaeckel
bd39da2397 use correct value to compare to in mp_isneg() macro 2015-11-12 01:33:25 +01:00
Steffen Jaeckel
00ff6da1cc trim trailing spaces 2015-11-12 01:20:41 +01:00
Steffen Jaeckel
1c1baaa755 Don't cast the potential problems away, handle them appropriately 2015-11-12 01:20:41 +01:00
Francois Perrad
5bed36d997 explicit ignoring the return value of function 2015-11-12 01:20:41 +01:00
Francois Perrad
b9abe0a316 refactor with macros MP_NO/MP_YES 2015-11-12 01:20:41 +01:00
Francois Perrad
0522eef288 refactor cast in ternary op 2015-11-12 01:20:40 +01:00
Francois Perrad
64177349fc avoid side effects on right hand of logical operator 2015-11-12 01:20:40 +01:00
Francois Perrad
38f90d1b17 explicit condition (part C) 2015-11-12 01:20:40 +01:00
Francois Perrad
e25f1701e4 explicit condition (part H) 2015-11-12 01:20:40 +01:00
Francois Perrad
9f7811624a add parentheses for explicit operator association 2015-11-12 01:20:40 +01:00
Francois Perrad
84db6f9dbc add parentheses for explicit operator precedence 2015-11-12 01:20:40 +01:00