Commit Graph

42 Commits

Author SHA1 Message Date
Francois Perrad
25ff85d2bf move cast inside macro 2019-05-29 08:16:46 +02:00
Francois Perrad
8b2daf7817 always use varname err with mp_err 2019-05-20 05:36:18 +02:00
Daniel Mendler
4534056c28
use enums mp_err, mp_ord, mp_bool, mp_sign
* MP_USE_ENUMS enables enums
* Wc++-compat catches some implicit conversions if MP_USE_ENUMS is defined
* 100% backwards compatible API/ABI if MP_USE_ENUMS is not defined
2019-05-13 19:15:14 +02:00
Francois Perrad
7d4e8363e0 refactor with new private macro MP_MAXFAST 2019-05-11 12:05:38 +02:00
Francois Perrad
556219aa5b refactor with new private macro MP_SIZEOF_BITS
CHAR_BIT is no longer directly used
2019-05-11 12:05:38 +02:00
Daniel Mendler
e45f75fddb
deprecate DIGIT_BIT, use MP_DIGIT_BIT 2019-04-25 13:39:50 +02:00
Daniel Mendler
fbfcb66184
apply rename 2019-04-12 14:56:29 +02:00
Daniel Mendler
ff56140462
shorter headers 2019-04-07 17:26:31 +02:00
Daniel Mendler
70a30ae7a7
remove footers 2019-04-07 17:26:31 +02:00
Daniel Mendler
5da4e0ac01
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
Wconversion and Wsign-conversion is still not activated by default,
since there are many issues in demo.c.
2019-04-05 10:52:39 +02:00
Steffen Jaeckel
18355de625 Update file headers
[skip ci]
2018-12-29 17:56:20 +01:00
czurnieden
9034e712b8 Do not use installed headers for building 2018-05-02 21:43:17 +02:00
Steffen Jaeckel
f51249b6aa clean-up file headers 2018-02-27 23:30:43 +01: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
Steffen Jaeckel
a4d905a030 make sure fast_mp_montgomery_reduce() doesn't BOF
This fixes #63
2017-10-15 12:00:11 +02:00
nijtmans
f674018a41 constify remaining functions 2017-09-20 16:59:43 +02:00
Francois Perrad
2344bcea3a format with astyle (step 6) 2017-08-30 20:23:46 +02:00
Francois Perrad
45771cc91c format with astyle (step 1) 2017-08-30 20:09:49 +02:00
Francois Perrad
ef6c71f1d2 return type of function on the same line 2017-08-30 20:09:32 +02:00
Francois Perrad
d6a9a58f64 remove space after function name and cast 2017-08-30 20:08:58 +02:00
Steffen Jaeckel
6f21294212 replace SVN tags 2017-08-28 17:00:58 +02:00
Francois Perrad
8714ee55cc remove register
let the compiler find the best register optimization
2015-12-02 22:52:32 +01:00
Francois Perrad
99c84acc4c add parentheses for explicit operator precedence 2015-12-02 22:47:51 +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
Francois Perrad
38f90d1b17 explicit condition (part C) 2015-11-12 01:20:40 +01:00
Tom St Denis
079b0f65a9 Getting ready for v0.43.0 release
Also updated my email address...

Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
2015-10-30 17:55:29 -04:00
Tom St Denis
333aebc894 added libtommath-0.41 2010-07-15 17:26:06 +02:00
Tom St Denis
f0b91a572e added libtommath-0.39 2010-07-15 17:26:01 +02:00
Tom St Denis
9294e79150 added libtommath-0.36 2010-07-15 17:25:56 +02:00
Tom St Denis
e549ccfec5 added libtommath-0.32 2010-07-15 17:25:47 +02:00
Tom St Denis
455bb4db20 added libtommath-0.28 2010-07-15 17:25:39 +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
eed6765fe9 added libtommath-0.23 2010-07-15 17:25:30 +02:00
Tom St Denis
49bef06878 added libtommath-0.21 2010-07-15 17:25:27 +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
Tom St Denis
82f4858291 added libtommath-0.14 2010-07-15 17:25:17 +02:00
Tom St Denis
b66471f74f added libtommath-0.13 2010-07-15 17:25:15 +02:00
Tom St Denis
57354e11ac added libtommath-0.12 2010-07-15 17:25:14 +02:00