|
bcec605a
|
2019-05-22T15:34:49
|
|
deprecate mp_prime_is_divisible and ltm_prime_tab
* it is an implementation detail used for prime testing
* there is upcoming work by @czurnieden regarding a generalised prime sieve
* furthermore remove jacobi test (replaced by kronecker)
|
|
0a9f5e9b
|
2019-05-24T10:21:54
|
|
use u32 i64 suffix
|
|
b58c9966
|
2019-05-23T23:39:47
|
|
use int32 and uint32 instead of sint and uint
|
|
3289c959
|
2019-05-20T10:41:06
|
|
introduce various mp_set_sint/mp_set_uint functions with precise types
|
|
991aea53
|
2019-05-22T08:23:37
|
|
explicit condition
|
|
228e487b
|
2019-05-16T23:51:02
|
|
faster Toom-Cook 3 algorithm
|
|
1af0de1f
|
2019-05-20T19:11:25
|
|
deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor)
* same behavior for positive numbers
* generalisation for negative numbers, treating them as two complement
* improve algorithm, iterate once over the digits, manually perform two complement
* simplify mp_add_d, mp_sub_d
* functions are safe in case of a==c or b==c
* renamed mp_tc_div_2d to mp_signed_rsh (signed right shift)
|
|
6552f55f
|
2019-05-20T08:38:25
|
|
handle EOF condition in mp_fread, fix #163
|
|
c1f5b06d
|
2019-05-20T05:36:08
|
|
refactor with mp_init_multi
|
|
f55f0a9e
|
2019-05-18T09:28:33
|
|
fix some usages of enum types
|
|
a8239c24
|
2019-05-13T11:32:42
|
|
deprecate mp_get_bit
The return type of mp_get_bit was imprecise (either mp_err or mp_bool),
therefore this function is deprecated in favor of s_mp_get_bit for now.
If we need s_mp_get_bit to be public, we should add it under a different
name. However since mp_set_bit is not available, I don't think there any
downstream users (ab)using mp_int as bitsets.
|
|
56e7a401
|
2019-05-13T02:46:11
|
|
deprecate mp_jacobi
|
|
75e85a73
|
2019-05-13T11:18:34
|
|
move mp_prime_random_ex to bn_deprecated.c
|
|
2a2e2716
|
2019-05-12T11:33:17
|
|
move jenkins prng to bn_s_mp_rand_jenkins.c
|
|
c8cc3657
|
2019-05-11T09:09:12
|
|
mov s_mp_rand_source_platform to separate file
|
|
0669e92e
|
2019-05-08T20:18:53
|
|
deprecate mp_prime_random_ex in favor of mp_prime_rand
We can use the internal mp_rand generator now, since it generates
numbers which are safe for crypto purposes.
|
|
2a0021a4
|
2019-05-08T14:57:04
|
|
mp_rand: remove superflous mp_clamp
|
|
9ddf1e58
|
2019-05-07T12:26:46
|
|
support custom random data source via mp_rand_source
* deprecate MP_PRNG_ENABLE_LTM_RNG
* custom mp_rand_source is used always if set, which should be more aligned with user expectations
* use custom source in tune.c
* don't call random number generator once per digit, which is slow
|
|
2ea04fb7
|
2019-05-07T10:42:26
|
|
dep.pl: strip comments
|
|
c7596983
|
2019-05-07T10:28:32
|
|
fix dep.pl - use lookahead to only generated dependencies for 'mp_*('
|
|
818d8fb7
|
2019-05-03T17:39:10
|
|
Rework handling of tunable cutoffs
* In the default settings, a cutoff X can be modified at runtime
by adjusting the corresponding X_CUTOFF variable.
* Tunability of the library can be disabled at compile time
by defining the MP_FIXED_CUTOFFS macro.
* There is an additional file tommath_cutoffs.h, which defines
the default cutoffs. These can be adjusted manually or by the
autotuner.
|
|
e05b1e18
|
2019-04-12T19:07:08
|
|
fix includes
as of @czurnieden "there's always leftovers" and he's right
that's a leftover of #127
|
|
fbfcb661
|
2019-04-12T14:56:29
|
|
apply rename
|
|
3afec571
|
2019-04-10T15:19:23
|
|
Re-generate callgraph and tommath_class.h
|
|
35311aea
|
2019-04-03T23:50:57
|
|
added function mp_ilogb
|
|
27ca25cb
|
2019-04-06T18:55:43
|
|
added multiplcation balancing for the Toom-Cook algorithms
|
|
ff561404
|
2019-04-07T15:29:11
|
|
shorter headers
|
|
70a30ae7
|
2019-04-07T02:29:28
|
|
remove footers
|
|
984d3ff6
|
2019-04-01T03:41:26
|
|
changed seed to make nth-root usable
|
|
58e9084e
|
2019-04-06T17:38:41
|
|
run `make new_file`
|
|
769218cc
|
2019-04-03T18:59:09
|
|
additional functions mp_incr and mp_decr
|
|
646ac880
|
2019-04-04T07:55:02
|
|
update callgraph and tommath_class
|
|
6ce271c4
|
2018-12-28T09:41:54
|
|
mp_iseven & mp_isodd becomes C functions
|
|
b879bd49
|
2018-12-31T12:15:44
|
|
refactor with new macros IS_*
|
|
487cbba0
|
2018-12-28T09:34:02
|
|
refactor without macro mp_isneg
|
|
662a1709
|
2019-01-15T18:28:31
|
|
run `make new_file`
|
|
1c8c5348
|
2019-01-15T18:20:24
|
|
Merge pull request #147 from czurnieden/moarvm_workarounds
workaround for the MoarVM problem with MP_GEN_RAND et al.
(cherry picked from commit 11d6e0391421bc996b2cf780f3f4c3fa634001d0)
|
|
c93afda1
|
2019-01-15T17:05:39
|
|
run `make new_file`
|
|
08eb995d
|
2019-01-13T20:21:36
|
|
implemented Steffen Jaeckels superior suggestion regarding MoarVM's problem
|
|
6a9deb79
|
2018-12-26T15:44:26
|
|
fix & run dep.pl
|
|
18355de6
|
2018-12-29T17:56:20
|
|
Update file headers
[skip ci]
|
|
3ec93dab
|
2018-12-12T00:14:05
|
|
bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files
|
|
4f245b04
|
2018-12-02T21:18:32
|
|
Update makefiles etc.
|
|
0493739d
|
2018-12-02T13:10:09
|
|
add missing comments
|
|
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`.
|
|
81cdb9ac
|
2018-09-10T18:52:29
|
|
regenerate files
|
|
109bfa57
|
2018-09-10T18:49:10
|
|
regenerate files
|
|
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
|
|
82a2d385
|
2017-08-30T05:56:38
|
|
refactor indentation of preprocessor directives
|
|
49e54320
|
2017-08-28T16:59:11
|
|
update tommath_class.h
|
|
3ab918e7
|
2017-04-09T01:00:00
|
|
update tommath_class.h
|
|
1f889479
|
2015-04-18T11:03:22
|
|
update makefiles etc.
|
|
d4cccd52
|
2014-12-10T18:59:56
|
|
udpate makefiles etc.
|
|
cf045216
|
2014-12-10T17:21:14
|
|
update makefiles etc.
|
|
d7171985
|
2014-10-18T18:56:56
|
|
update after removing balance multiplication
|
|
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
|
|
c8202864
|
2014-01-22T17:53:34
|
|
add missing updates
|
|
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
|
|
9294e791
|
2005-08-01T16:37:28
|
|
added libtommath-0.36
|
|
fdfa2f4f
|
2005-03-12T11:55:11
|
|
added libtommath-0.35
|
|
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
|