|
08eb995d
|
2019-01-13T20:21:36
|
|
implemented Steffen Jaeckels superior suggestion regarding MoarVM's problem
|
|
b7216e89
|
2019-01-13T00:51:02
|
|
workaround for the MoarVM problem with MP_GEN_RAND et al.
|
|
aadb1efa
|
2019-01-13T01:07:42
|
|
changes for the Clang compiler
|
|
18355de6
|
2018-12-29T17:56:20
|
|
Update file headers
[skip ci]
|
|
f4449362
|
2018-05-26T01:39:03
|
|
fixes for MP_8BIT and mx32, prefinal design
|
|
08cee432
|
2018-05-21T22:54:55
|
|
Moved mp_mul_si() into bn_mp_prime_strong_lucas_selfridge.c as a local function
|
|
a218ddce
|
2018-05-03T23:45:02
|
|
Added Fips 186.4 compliance, an additional strong Lucas-Selfridge (for BPSW) and a Frobenius (Paul UNderwood) test, both optional. With documentation.
|
|
adbadc70
|
2018-11-18T01:30:51
|
|
Fix includes
Header files which are located in the same directory that the file from where it is included must be included using `" "`, not `< >`.
Otherwise the compiler (gcc 5) cannot understand `#include <tommath_class.h>` in `/usr/include/tommath/tommath.h`.
|
|
2ab527b7
|
2018-09-10T18:51:26
|
|
add mp_get_double, mp_set_double
|
|
8b9f98ba
|
2018-09-23T21:37:58
|
|
auto-format
by executing `make astyle`
|
|
eebbcf06
|
2018-09-10T18:48:58
|
|
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor
|
|
92e8719b
|
2018-05-28T22:02:13
|
|
improved detection of MP_64BIT
|
|
22550d41
|
2018-05-02T22:01:09
|
|
Do not use tommath.h from the system for building
|
|
9034e712
|
2018-05-02T21:43:17
|
|
Do not use installed headers for building
|
|
ef6d85a1
|
2018-04-14T14:33:36
|
|
don't use rand() in mp_rand()
This fixes #103
|
|
0bc75513
|
2018-02-26T09:32:12
|
|
add e2k/lcc support
|
|
f51249b6
|
2018-02-02T12:07:21
|
|
clean-up file headers
|
|
43c26b3a
|
2015-12-09T19:16:30
|
|
use same parameter name between prototype declaration and definition
|
|
bdbed000
|
2017-10-15T19:57:12
|
|
literal suffix
|
|
d1fc4a71
|
2017-10-03T15:18:33
|
|
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
|
|
1346d983
|
2017-10-03T09:19:50
|
|
there's no __int128 on MSVC, fall back to 32bit MPI's
|
|
d293ab66
|
2017-09-30T22:57:00
|
|
more constify
|
|
f674018a
|
2017-09-20T16:59:43
|
|
constify remaining functions
|
|
41de5855
|
2017-09-19T13:35:15
|
|
Add 'const' keyword in various places. Adopted from Tcl
|
|
f89cda03
|
2017-08-30T19:15:27
|
|
format with astyle (step 5)
|
|
82a2d385
|
2017-08-30T05:56:38
|
|
refactor indentation of preprocessor directives
|
|
378be117
|
2017-08-28T21:40:10
|
|
add missing space after comma
|
|
71e3024f
|
2005-05-10T17:20:39
|
|
fix mp_iseven
|
|
6f212942
|
2017-08-28T16:27:26
|
|
replace SVN tags
|
|
27115d4b
|
2017-05-09T14:00:26
|
|
use 64-bit detection code from libtomcrypt
|
|
c17c4771
|
2017-04-09T00:44:01
|
|
allow external define of MP_GEN_RANDOM
|
|
d5b0f1e9
|
2016-04-10T13:55:42
|
|
loop&shift until enough random data has been read
|
|
f551dbc8
|
2016-02-03T13:07:27
|
|
Remove all traces of ulong64 as per comment by Karel M
|
|
a0b8ce68
|
2015-11-13T17:47:30
|
|
use unsigned literal
|
|
e6cfefc1
|
2015-11-19T21:53:32
|
|
more private stuff
|
|
f771e317
|
2015-11-19T21:34:58
|
|
move standard includes
|
|
4e3f1344
|
2015-11-12T01:49:07
|
|
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.
|
|
bd39da23
|
2015-11-12T01:33:25
|
|
use correct value to compare to in mp_isneg() macro
|
|
4430c6bc
|
2015-10-11T15:54:43
|
|
array declaration with its size
|
|
e25f1701
|
2015-10-25T16:21:17
|
|
explicit condition (part H)
|
|
9f781162
|
2015-10-17T18:27:56
|
|
add parentheses for explicit operator association
|
|
84db6f9d
|
2015-10-17T18:12:48
|
|
add parentheses for explicit operator precedence
|
|
7ab90a48
|
2015-06-07T14:19:06
|
|
use stdint.h for mp_digit and mp_word typedefs
|
|
8432c4ed
|
2014-12-11T22:44:50
|
|
clarify documentation of mp_div_2d() and mp_mul_2d()
|
|
1c85a283
|
2015-04-17T22:46:11
|
|
adding bn_mp_sqrtmod_prime.c
|
|
079b0f65
|
2015-10-30T17:55:29
|
|
Getting ready for v0.43.0 release
Also updated my email address...
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
676e7ea4
|
2015-10-30T10:33:46
|
|
Adding LTM_NO_FILE flag
Certain embedded implementatino does not have FILE defined, adding
LTM_NO_FILE flag to avoid compiler errors
Signed-off-by: Donald Chan <hoiho.chan@gmail.com>
Reviewed-by: Tom St Denis <tstdenis82@gmail.com>
|
|
5d1096b0
|
2014-12-12T01:42:30
|
|
use arc4random() instead of rand() on *BSD
|
|
9d697d46
|
2014-12-10T19:01:12
|
|
fix compilation with MP_8BIT or MP_16BIT
|
|
0e3d3ad2
|
2014-12-10T18:59:31
|
|
add mp_get_long_long() and mp_set_long_long()
|
|
f88e6a04
|
2014-12-10T18:32:44
|
|
replace mp_set_long() implementation by macro
|
|
6df187ae
|
2011-11-13T19:17:46
|
|
Add set_long and get_long functions
They work on platform-dependent long ints
|
|
b425b0ea
|
2014-10-18T18:54:06
|
|
Revert "balancing multiplication like that in Ruby 1.9"
This reverts commit e68439aae10d003250afa6c1f57025bfee5f82ed.
Conflicts:
bn_mp_balance_mul.c
makefile
|
|
52cfd5ff
|
2014-02-14T11:26:07
|
|
mp_n_root: add mp_n_root_ex() with parameter 'fast' for mp_expt_d_ex()
This change is introduced to be able to choose the underlying
implementation of mp_expt_d_ex()
The implementation of the root_n functionality is now implemented in the
mp_n_root_ex() function.
The parameter 'fast' is just passed over to mp_expt_d_ex().
mp_n_root() defaults to the pre 921be35779f7d71080ad85c27ed58671602d59b3
implementation
|
|
e9b1837c
|
2014-02-13T20:21:18
|
|
mp_expt_d: bring back pre 921be35779f7d71080ad85c27ed58671602d59b3 state
The implementation of the expt_d functionality is now implemented in the
mp_expt_d_ex() function.
The user can now choose between the old (more timing resistant) version
and the new version by modification of the parameter 'fast'.
mp_expt_d() defaults to the old version
|
|
759a926c
|
2014-09-28T13:12:10
|
|
minor changes & clean-up & small fixes
gitignore: add libtool output
booker.pl: fix source code parsing and trim trailing spaces
demo/demo: fix compiler warning, add informational output
demo/timing & etc/tune: fix TIMFUNC()
makefile: minor changes
makefile.shared: increase version, add missing mp_balance_mul
tommath: make sure that DIGIT_BIT is correct
|
|
78b8a772
|
2014-09-23T22:55:08
|
|
fix compiler warnings with MP_16BIT
|
|
b0c385af
|
2014-09-23T22:54:30
|
|
fix x32 compilation
change mp_digit/mp_word to unsigned long long
introduce new internal type mp_min_u32 that is minimum 32 bit wide
x32 target is 64 bit arch but has 32 bit wide 'unsigned long'
|
|
ddd788a1
|
2014-02-14T11:30:15
|
|
trim trailing spaces
|
|
ba15caa3
|
2014-01-20T13:25:55
|
|
Add mp_isneg()
This function originally came from Heimdal's bundled copy of libtommath.
Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
|
|
e68439aa
|
2011-05-23T19:44:05
|
|
balancing multiplication like that in Ruby 1.9
|
|
3e1ae078
|
2013-01-22T21:29:12
|
|
added mp_import / mp_export
|
|
95356f72
|
2013-09-02T09:52:11
|
|
Fix typo on comment
|
|
fef72c34
|
2012-01-09T06:50:09
|
|
fix mp_error_to_string in tommath.h
|
|
6d20c3c6
|
2011-03-23T23:24:37
|
|
removed flag LTM_PRIME_2MSB_OFF since it's no more available
|
|
f0b91a57
|
2006-04-06T19:49:59
|
|
added libtommath-0.39
|
|
9294e791
|
2005-08-01T16:37:28
|
|
added libtommath-0.36
|
|
3d0fcaab
|
2005-02-12T08:40:15
|
|
added libtommath-0.34
|
|
4b7111d9
|
2004-12-23T02:40:37
|
|
added libtommath-0.33
|
|
e549ccfe
|
2004-10-29T22:07:18
|
|
added libtommath-0.32
|
|
350578d4
|
2004-04-11T20:46:22
|
|
added libtommath-0.30
|
|
6c48a9b3
|
2004-01-25T17:40:21
|
|
added libtommath-0.29
|
|
455bb4db
|
2003-12-24T18:59:22
|
|
added libtommath-0.28
|
|
c1da6aa2
|
2003-08-05T01:24:44
|
|
added libtommath-0.25
|
|
eed6765f
|
2003-07-12T14:31:43
|
|
added libtommath-0.23
|
|
4c1d3f08
|
2003-07-02T15:39:39
|
|
added libtommath-0.22
|
|
0ef44cea
|
2003-05-29T13:35:26
|
|
added libtommath-0.18
|
|
fd181cc8
|
2003-05-17T12:33:54
|
|
added libtommath-0.17
|
|
14161e84
|
2003-03-29T18:16:01
|
|
added libtommath-0.16
|
|
b1756f2f
|
2003-03-22T15:10:20
|
|
added libtommath-0.15
|
|
82f48582
|
2003-03-13T02:11:11
|
|
added libtommath-0.14
|
|
b66471f7
|
2003-02-28T16:09:08
|
|
added libtommath-0.13
|
|
57354e11
|
2003-02-28T16:08:34
|
|
added libtommath-0.12
|