czurnieden
71d1b7b9d8
make mp_to_radix return the count of characters of the converted number
2019-10-06 21:26:49 +02:00
Francois Perrad
a402b462e9
refactor with goto
2019-09-03 05:45:33 +02:00
Steffen Jaeckel
6cd570d08b
use mp_to_radix
etc.
2019-09-02 18:25:44 +02:00
Francois Perrad
8d73e158df
literal suffix
2019-05-21 20:23:16 +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
Daniel Mendler
dd4863abf4
use fwrite instead of fputc
2019-05-12 23:43:23 +02:00
Daniel Mendler
61d9e528a4
hardening: add MP_ZERO_BUFFER, MP_ZERO_DIGITS
...
* (!) Always zero buffer before freeing if MP_NO_ZERO_ON_FREE is not defined
* Add MP_NO_ZERO_ON_FREE to disable hardening
* Add MP_ZERO_BUFFER, MP_ZERO_DIGITS, MP_FREE_BUFFFER, MP_FREE_DIGITS
* Never use MP_FREE directly, use MP_FREE_DIGITS or MP_FREE_BUFFER
* Add MP_USE_MEMSET to use memset instead of loop
* Disable astyle backups which are annonying in the times of git
2019-05-12 01:01:03 +02:00
Daniel Mendler
80f5fac53b
rename LTM_NO_FILE to MP_NO_FILE
2019-05-07 09:33:56 +02:00
Daniel Mendler
c4fb2241dc
rename macros in tommath_private to use MP_* prefix
2019-04-12 14:55:08 +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
db9a47d514
allocation functions: pass size to XREALLOC and XFREE
...
This is similar to the signatures of the custom allocation functions provided by GMP.
The allocation sizes are useful if the allocator has no easy way to access the allocation size.
2019-04-05 10:58:07 +02:00
Steffen Jaeckel
cb1eb16116
run make astyle
...
[skip ci]
2019-04-04 07:58:07 +02:00
Daniel Mendler
28e61778b9
remove OPT_CAST
...
The explicit cast does not hurt in C. Furthermore the explicit cast is needed
if tommath is compiled as C with strict warning settings.
2019-03-29 10:38:43 +01: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
nijtmans
f674018a41
constify remaining functions
2017-09-20 16:59:43 +02:00
Francois Perrad
9eed07f09b
format with astyle (step 2)
2017-08-30 20:23:17 +02:00
Francois Perrad
d6a9a58f64
remove space after function name and cast
2017-08-30 20:08:58 +02:00
Francois Perrad
15681f9a12
trim trailing spaces
2017-08-30 05:51:11 +02:00
Steffen Jaeckel
6f21294212
replace SVN tags
2017-08-28 17:00:58 +02:00
Steffen Jaeckel
a8b81498d0
Fixup 676e7ea488
2017-04-11 16:21:36 +02: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
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
350578d400
added libtommath-0.30
2010-07-15 17:25:43 +02:00
Tom St Denis
6c48a9b3a6
added libtommath-0.29
2010-07-15 17:25:41 +02:00
Tom St Denis
455bb4db20
added libtommath-0.28
2010-07-15 17:25:39 +02:00
Tom St Denis
c1da6aa2de
added libtommath-0.25
2010-07-15 17:25:33 +02:00
Tom St Denis
4c1d3f0838
added libtommath-0.22
2010-07-15 17:25:29 +02:00