This website requires JavaScript.
ad69438311
Nuke platform RNG
master
Reece
2021-01-06 00:59:00 +0000
c18817cc22
Merge pull request #487 from czurnieden/DoS_sqrt_mod
Steffen Jaeckel
2020-09-19 16:04:20 +0200
fb305e093d
Additional input checks and a test for b \cong 0 (mod a) in test_mp_sqrtmod_prime to go along with it.
czurnieden
2020-08-05 15:18:59 +0200
44ee82cd34
Merge pull request #484 from Prince213/msvc-x86-mp_set_double-fix
Steffen Jaeckel
2020-04-30 13:56:56 +0200
56dc9df1a6
Add _M_IX86 for testing for MSVC x86
Sizhe Zhao
2020-04-26 11:36:28 +0800
aa8b4571fb
Merge pull request #477 from J08nY/fix/makefile-echo
Steffen Jaeckel
2020-03-10 22:51:15 +0100
f01cc5d266
Fix clang detection when cross-compiling.
J08nY
2020-02-21 11:44:15 +0100
fe382afd82
Merge pull request #478 from MasterDuke17/make_exptmod_with_modulus_1_always_0
Steffen Jaeckel
2020-03-05 22:37:59 +0100
ea65456607
Give correct values for invmod with modulus of 1
Daniel Green
2020-02-23 09:46:12 -0500
ce4e6ae114
Merge pull request #476 from libtom/fix-double-check
Steffen Jaeckel
2020-03-05 14:25:43 +0100
c1cf807382
introduce MP_HAS_SET_DOUBLE
Steffen Jaeckel
2020-03-05 13:57:07 +0100
c5cb0c6f62
fix compile error on MSVC
Steffen Jaeckel
2020-03-05 13:48:27 +0100
4e90f3185a
Build+test bn_mp_set_double.c on more platforms
Daniel Green
2020-02-09 11:06:53 -0500
ffd80665d1
Merge pull request #471 from libtom/prevent-overflow
Steffen Jaeckel
2020-01-07 18:35:50 +0100
ca6924b7e6
add error code MP_OVF for integer overflow (too many digits)
Daniel Mendler
2019-12-23 11:12:42 +0100
876c5fc3f6
disable __func__ in c89 compilers
Daniel Mendler
2019-12-05 11:47:36 +0100
40177e18e5
test: print __func__
Daniel Mendler
2019-12-05 11:47:36 +0100
c375b03819
test cleanup; add randomized radix_size test
Daniel Mendler
2019-12-05 11:09:39 +0100
08d281c462
introduce MP_MAX_DIGIT_COUNT to prevent overflow
Daniel Mendler
2019-12-05 00:48:25 +0100
3a744dc46d
s_mp_radix_size_overestimate: remove overflow check
Daniel Mendler
2019-12-05 00:33:53 +0100
6ac0b0c1b6
Merge pull request #469 from czurnieden/radix_overestimate_29bits
Steffen Jaeckel
2019-12-04 22:27:09 +0100
9d0bdc7efb
run the test always
Daniel Mendler
2019-12-04 22:23:24 +0100
1e65c0bfe4
Introduction of a fast but slightly over-estimating radix_size
czurnieden
2019-10-11 00:06:45 +0200
795485bf9d
Merge pull request #467 from czurnieden/change_helper_pl
Steffen Jaeckel
2019-12-04 11:59:20 +0100
cecfd1f66c
changed generate_def to use the uncommited, raw file list
czurnieden
2019-11-27 20:55:22 +0100
220a4deb31
Merge pull request #463 from libtom/long_long_fixes
Steffen Jaeckel
2019-11-25 11:18:10 +0100
cd1bf5e2f0
regen files
Daniel Mendler
2019-11-22 16:19:11 +0100
b800b7610a
remove *_ll* setters/getters
Daniel Mendler
2019-11-22 16:04:48 +0100
f0ab662ffc
do not use long long for minimum prec calculation, improve comment
Daniel Mendler
2019-11-22 16:01:42 +0100
a8357d4328
Merge pull request #459 from libtom/less-long-long
Steffen Jaeckel
2019-11-25 11:13:53 +0100
4cbd7d59f2
Don't use long long where not necessary, some platforms lack it
Jan Nijtmans
2019-11-20 15:09:22 +0100
fc5f50768b
Merge pull request #464 from czurnieden/fix_sigma_div_recursive
Steffen Jaeckel
2019-11-25 11:04:35 +0100
244c698ecd
corrected startvalue for sigma and cutoff in mp_div
czurnieden
2019-11-24 05:37:43 +0100
6e779e69a8
Merge pull request #462 from czurnieden/repair_div_recursive
Steffen Jaeckel
2019-11-22 11:31:20 +0100
5f3063fb2a
correction of typo in test.c
czurnieden
2019-11-22 03:14:59 +0100
642032ddc7
wrong sign in mp_div_recursive
czurnieden
2019-11-22 02:56:48 +0100
86d7d718e3
Merge pull request #457 from libtom/wrong-use-of-ull-for-develop
Steffen Jaeckel
2019-11-14 14:22:06 +0100
bb1e56e775
Fix compilation of demo/test.c using C++
Jan Nijtmans
2019-11-12 16:20:07 +0100
0730a31ab6
Make sure that c89 conversion doesn't produce LL or uLL postfix, since that isn't c89 at all
Jan Nijtmans
2019-11-12 16:10:46 +0100
6804835181
more spacing around PRIu64, needed for C++ compatibility
Jan Nijtmans
2019-11-12 15:46:04 +0100
9f2cd04301
more unnecessary type-casts, correct type-case for malloc
Jan Nijtmans
2019-11-12 15:30:34 +0100
e9d54e9867
remove unnecessary type-casts
Jan Nijtmans
2019-11-12 14:44:39 +0100
a91eb5a0d9
fix build (hopefully)
Jan Nijtmans
2019-11-12 14:29:02 +0100
9cfb6c3298
use type-cast in stead of UINT64_C
Jan Nijtmans
2019-11-06 11:52:42 +0100
02aa95c2b5
Fix wrong use of uLL suffix
Jan Nijtmans
2019-11-06 11:29:17 +0100
83b74bac6e
Merge pull request #446 from libtom/suffix-renamings2
Steffen Jaeckel
2019-11-14 11:08:33 +0100
41eca3425f
regen
Daniel Mendler
2019-11-06 00:13:39 +0100
f6a7bedb95
suffix _u32 -> _n of mp_(expt|log|root) functions, use int for now
Daniel Mendler
2019-10-29 20:52:29 +0100
86648a0d23
Merge pull request #456 from libtom/mp-has-comment
Steffen Jaeckel
2019-11-13 15:55:01 +0100
c47d5e87b2
s_mp_rand_platform: add comment regarding MP_HAS requiring dead code elim
Daniel Mendler
2019-11-12 01:11:12 +0100
59d62c9bf6
Merge pull request #454 from libtom/better-use-of-isneg
Steffen Jaeckel
2019-11-11 21:53:00 +0100
1cc289d215
better use of mp_isneg() and mp_iszero()
nijtmans
2019-11-09 20:23:03 +0100
0bc5c3292d
Merge pull request #450 from libtom/sqr-opt
Steffen Jaeckel
2019-11-10 15:30:57 +0100
53becf6569
regen files
Daniel Mendler
2019-11-06 16:50:31 +0100
6777baaf97
add macro MP_IS_2EXPT
Daniel Mendler
2019-11-06 16:59:51 +0100
2e88b571c1
optimize mp_mul_d
Daniel Mendler
2019-11-06 16:56:34 +0100
6ec36e0b9b
optimize mp_div_d
Daniel Mendler
2019-11-06 16:54:07 +0100
4f00e75b8f
make mp_div_3 private
Daniel Mendler
2019-11-06 16:51:51 +0100
0fa802f24b
make mp_sqr private (optimization of mp_mul)
Daniel Mendler
2019-11-06 16:49:59 +0100
4077293f4a
Merge pull request #451 from libtom/simplify-mod
Steffen Jaeckel
2019-11-07 21:12:56 +0100
61ebe7c047
simplify mod functions
Daniel Mendler
2019-11-07 01:00:13 +0100
cc77fadb85
Merge pull request #444 from minad/lto
Steffen Jaeckel
2019-11-05 23:11:36 +0100
67e1816822
Merge pull request #445 from libtom/fix-def-gen
Steffen Jaeckel
2019-11-05 23:10:40 +0100
91d88ce3db
fix generate_def, rename some internal files
Daniel Mendler
2019-11-05 20:35:19 +0100
3b98e82627
disable lto test for clang for now
Daniel Mendler
2019-11-05 21:01:54 +0100
53a689d084
travis: install llvm-7
Daniel Mendler
2019-11-05 20:29:59 +0100
74d828d526
don't use ranlib, ar s
is equivalent
Daniel Mendler
2019-11-05 20:25:39 +0100
e8e65119d1
add COMPILE_LTO to test link time optimization
Daniel Mendler
2019-11-05 19:18:32 +0100
c893d217aa
Merge pull request #439 from libtom/radix-code-cleanup
Steffen Jaeckel
2019-11-05 20:16:01 +0100
bbb178089d
mp_radix off-by-one error and other related code-cleanup
nijtmans
2019-10-30 14:19:50 +0100
7e47ae6550
Merge pull request #443 from libtom/rename-maxfast
Steffen Jaeckel
2019-11-05 20:09:43 +0100
93f8e7603d
rename MP_MAXFAST to MP_MAX_COMBA
Daniel Mendler
2019-11-05 18:04:05 +0100
b4c42576d7
Merge pull request #436 from fperrad/20191029_lint
Steffen Jaeckel
2019-11-05 19:40:30 +0100
40342807dc
explicit operator precedence
Francois Perrad
2019-11-01 20:08:41 +0100
146becbd9a
literal suffix
Francois Perrad
2019-10-31 19:26:55 +0100
3035e22fd3
Merge pull request #434 from libtom/simplifications
Steffen Jaeckel
2019-11-05 17:55:04 +0100
80176de372
re-enable checks for memcpy&memset
Steffen Jaeckel
2019-11-05 17:53:08 +0100
410bf49385
apply a series of simplifications
Daniel Mendler
2019-10-29 20:26:50 +0100
5c335f8407
rename mul/sqr functions for consistency, comba instead of fast suffix
Daniel Mendler
2019-10-30 17:26:27 +0100
3b710fbd7e
simplify mp_complement
Daniel Mendler
2019-11-03 11:00:33 +0100
bcda8fc696
simplifications: remove unnecessary optimization
Daniel Mendler
2019-10-29 22:38:49 +0100
795cd2013f
simplifications: add s_mp_zero_(digs|buf) and s_mp_copy_digs
Daniel Mendler
2019-10-29 21:48:50 +0100
b1f9bff192
simplifications: invmod
Daniel Mendler
2019-10-29 20:21:22 +0100
56144eed1e
simplifications: reduce functions
Daniel Mendler
2019-10-29 20:08:42 +0100
448f35e2e1
simplifications: prime functions
Daniel Mendler
2019-10-29 20:07:29 +0100
8ac493512c
simplifications: mul/sqr comba
Daniel Mendler
2019-10-29 20:06:20 +0100
7b6c6965bb
simplifications: toom and karatsuba
Daniel Mendler
2019-10-29 20:05:30 +0100
143e0376a1
simplifications: basic arithmetic functions
Daniel Mendler
2019-10-29 20:02:32 +0100
e60149dec7
simplifications: replace mp_mod_d by macro
Daniel Mendler
2019-10-29 20:26:25 +0100
2d3262af26
Merge pull request #442 from libtom/bug-min-prec
Steffen Jaeckel
2019-11-04 14:06:19 +0100
2bbdbd0651
MP_MIN_PREC>=3 is needed for s_mp_div_school
Daniel Mendler
2019-11-03 16:55:35 +0100
820f4bb060
Merge pull request #435 from libtom/simple-simplifications
Steffen Jaeckel
2019-10-29 21:27:01 +0100
3cdcec43e6
first batch of simplifications
Daniel Mendler
2019-10-29 18:41:25 +0100
b9977adfb8
use uint8_t instead of unsigned char
Daniel Mendler
2019-10-29 08:44:51 +0100
98753c6718
Merge pull request #432 from libtom/no-deprecated-pragma
Steffen Jaeckel
2019-10-29 17:20:40 +0100
af376edcde
no more MP_WUR in timing.c
Steffen Jaeckel
2019-10-29 16:37:56 +0100
8456782cc5
don't allow disabling of WUR checks
Steffen Jaeckel
2019-10-29 15:40:47 +0100
57fbf5a880
also build support/ branches in CI
Steffen Jaeckel
2019-10-29 13:14:31 +0100
e95dd24e4f
introduce MP_NO_DEPRECATED_PRAGMA
Steffen Jaeckel
2019-10-27 21:34:23 +0100
57ccd9f0c3
Merge pull request #431 from libtom/rework-tests
Steffen Jaeckel
2019-10-29 15:38:31 +0100
4500d066c1
also no MP_WUR in mtest_opponent()
Steffen Jaeckel
2019-10-29 14:41:33 +0100
b250ec44e0
clean-up test.c
Steffen Jaeckel
2019-10-29 13:24:34 +0100
8bf82f9435
Merge pull request #425 from libtom/replace-gen-by-cat
Steffen Jaeckel
2019-10-29 08:44:03 +0100
d800071e81
ignore&clean tommath_amalgam.c [skip ci]
Steffen Jaeckel
2019-10-28 16:36:40 +0100
a598e61b90
rename to tommath_amalgam.c
Steffen Jaeckel
2019-10-28 15:42:23 +0100
02f4ee114c
compare logs before and after single-object profiling
Steffen Jaeckel
2019-10-28 15:23:34 +0100
04ee1e75d7
improve demo/timing a bit
Steffen Jaeckel
2019-10-28 15:07:58 +0100
8e3a440464
use pre_gen/mp_all.c for profiled_single
Steffen Jaeckel
2019-10-28 13:41:30 +0100
43804ed732
remove logs and generated PNG's
Steffen Jaeckel
2019-10-28 13:39:08 +0100
1ece193af2
replace gen.pl by cat, rename mpi.c to mp_all.c
Daniel Mendler
2019-10-27 22:48:53 +0100
da8b978785
Merge pull request #426 from libtom/rework-read-radix
Steffen Jaeckel
2019-10-28 15:29:30 +0100
a5d5b10154
mp_read_radix and mp_fread should behave the same
Daniel Mendler
2019-10-27 23:51:38 +0100
50abc11a26
Merge pull request #422 from libtom/remove-ltm-rng
Steffen Jaeckel
2019-10-27 22:10:25 +0100
85699be1ac
remove ltm_rng (deprecated function)
Daniel Mendler
2019-10-27 21:58:43 +0100
bde40c44a9
Merge pull request #421 from libtom/doc-fix
Steffen Jaeckel
2019-10-27 22:06:11 +0100
2122b51139
manual: don't mention obsolete MP_DIV_SMALL
Daniel Mendler
2019-10-27 19:48:13 +0100
baabf5633f
Merge pull request #405 from libtom/add-sub-opt
Steffen Jaeckel
2019-10-27 21:22:53 +0100
e2f8df3358
fix doc [skip ci]
Steffen Jaeckel
2019-10-27 21:19:37 +0100
7afecabd9d
regen files
Daniel Mendler
2019-10-24 17:33:38 +0200
f662e1f7e1
fix c89 issues
Daniel Mendler
2019-10-27 19:02:49 +0100
4376913928
remove inttypes.h includes in c89 mode
Daniel Mendler
2019-10-27 18:41:05 +0100
d27dff92f0
update manual: replace mp_bool/MP_YES/MP_NO references by bool/true/false
Daniel Mendler
2019-10-27 18:39:14 +0100
8ecf7eaea4
better comment in tommath_c89.h
Daniel Mendler
2019-10-27 09:19:32 +0100
17d59c2c0f
replace PRIx64 by MP_PRIx64 for c89 mode
Daniel Mendler
2019-10-27 09:06:05 +0100
cf0042654e
define mp_isodd in terms of mp_iseven
Daniel Mendler
2019-10-27 08:54:09 +0100
17a846f2bc
add "make c99" to convert back
Daniel Mendler
2019-10-26 19:33:36 +0200
9f01ba14bc
add "testme.sh --c89" and "make c89"
Daniel Mendler
2019-10-26 18:48:41 +0200
bf9507a9d4
replace mp_bool by stdbool
Daniel Mendler
2019-10-24 22:02:29 +0200
c91c1ba2b1
rework mp_add_d and mp_sub_d
Daniel Mendler
2019-10-24 21:32:31 +0200
58fb93fd79
cleanup prime rand function
Daniel Mendler
2019-10-24 18:14:18 +0200
27e142bc43
remove unnecessary == MP_YES/MP_NO comparisons
Daniel Mendler
2019-10-24 17:52:03 +0200
a44e68e652
remove MP_IS_* macros
Daniel Mendler
2019-10-24 17:43:31 +0200
f8b2f5d6fe
s_mp_reverse is only used by mp_to_radix
Daniel Mendler
2019-10-23 20:07:33 +0200
eb70378bfb
mp_iseven/mp_isodd should be inline
Daniel Mendler
2019-10-23 20:06:33 +0200
f21ea6ce18
add fast path to mp_add_d and mp_sub_d
Daniel Mendler
2019-10-23 20:06:08 +0200
68c1594890
Merge pull request #410 from czurnieden/update_manual
Steffen Jaeckel
2019-10-27 16:32:10 +0100
8862ca830e
fix index
Steffen Jaeckel
2019-10-27 16:29:30 +0100
9d954dc819
also check doc when running helper.pl -a
Steffen Jaeckel
2019-10-27 16:19:02 +0100
59ee1416a0
fix ./helper.pl -d
Steffen Jaeckel
2019-10-27 15:48:38 +0100
2efbdd543c
more clean-ups and addition of a latexinden.pl configuration file
czurnieden
2019-10-25 02:44:42 +0200
3947ffda95
backup
czurnieden
2019-10-25 00:41:09 +0200
8b31c193bf
Cleanup and update of manual
czurnieden
2019-10-24 18:24:28 +0200
19424313bf
Merge pull request #402 from fperrad/20191023_lint
Steffen Jaeckel
2019-10-27 14:51:05 +0100
814d0387a6
literal suffix
Francois Perrad
2019-10-22 17:54:33 +0200
f2efe74676
more cast
Francois Perrad
2019-10-22 17:53:27 +0200
14dbad6d84
Merge pull request #414 from libtom/fix-comments-fast
Steffen Jaeckel
2019-10-27 13:16:14 +0100
b26bd5082e
Fix some comments
nijtmans
2019-10-26 00:31:11 +0200
5a0c39f52e
Merge pull request #412 from libtom/fix-win32-includes
Steffen Jaeckel
2019-10-27 13:15:16 +0100
a8ca1c3cc6
fix win32 includes, remove support for everything older than Windows XP
nijtmans
2019-10-25 13:02:45 +0200
a478990882
Merge pull request #413 from libtom/ignore-eclipse-settings
Steffen Jaeckel
2019-10-27 13:14:13 +0100
867f08b057
Ignore Eclipse .settings directory
nijtmans
2019-10-26 00:05:41 +0200
8e21616ab2
Merge pull request #411 from fperrad/20191024_lint
Steffen Jaeckel
2019-10-27 13:12:28 +0100
c4622f53c8
only include tommath_private.h
Daniel Mendler
2019-10-24 21:44:55 +0200
17afe155f0
needs mp_word
Francois Perrad
2019-10-24 18:16:05 +0200
9051694850
literal suffix
Francois Perrad
2019-10-24 18:11:36 +0200
d0e26bb3ff
explicit operator precedence
Francois Perrad
2019-10-24 18:26:25 +0200
2bd76ac166
Merge pull request #408 from libtom/comment-fix-in-helper
Steffen Jaeckel
2019-10-24 10:13:41 +0200
448d00804d
Fix commit in helper.pl
nijtmans
2019-10-23 23:25:37 +0200
a69babcfe6
Merge pull request #403 from libtom/log2
Steffen Jaeckel
2019-10-24 08:44:59 +0200
87b4e51794
move out s_mp_log_pow2, fix limitation of base
Daniel Mendler
2019-10-23 09:06:04 +0200
e1994d99ff
Merge pull request #400 from libtom/rename-cutoffs
Steffen Jaeckel
2019-10-23 18:23:51 +0200
14642642f9
add prefix to cutoff variables
Daniel Mendler
2019-10-22 18:01:08 +0200
121973fc6b
Merge pull request #399 from libtom/private-mp-word
Steffen Jaeckel
2019-10-23 18:20:22 +0200
00b263f303
remove private_mp_word
Daniel Mendler
2019-10-22 17:52:26 +0200
4bab432cec
Merge pull request #397 from libtom/bbs-style
Steffen Jaeckel
2019-10-23 18:18:02 +0200
3180c66ca6
also use MP_YES/NO in tests
Steffen Jaeckel
2019-10-23 18:17:20 +0200
31e64aa640
mp_prime_next_prime: use mp_bool for bbs_style
Daniel Mendler
2019-10-22 15:04:36 +0200
1f210d2945
Merge pull request #370 from czurnieden/recursive_division
Steffen Jaeckel
2019-10-23 18:13:49 +0200
9edd185f66
Addition of fast division (recursive divrem only)
czurnieden
2019-10-04 17:41:09 +0200
6378a90a70
Merge pull request #396 from libtom/radix-size-t
Steffen Jaeckel
2019-10-22 15:08:28 +0200
a29aa59baa
use size_t for mp_radix_size
Daniel Mendler
2019-10-21 19:12:22 +0200
1d0affc0a9
update version
Steffen Jaeckel
2019-10-22 11:54:34 +0200
78d0c0c843
fix date in changelog...again :-\
Steffen Jaeckel
2019-10-22 11:53:41 +0200
d06e2986ca
Merge tag 'v1.2.0' into develop
Steffen Jaeckel
2019-10-22 11:47:42 +0200
6ca6898bf3
Merge branch 'release/1.2.0'
Steffen Jaeckel
2019-10-22 11:44:44 +0200
6a02e94338
final bump
Steffen Jaeckel
2019-10-22 11:43:35 +0200
ddef44e7d3
update changes, bump version, fixup c917f3c
Steffen Jaeckel
2019-10-21 10:49:10 +0200
2ef4c9bdd4
handles MP_BUF in mp_error_to_string
Francois Perrad
2019-10-20 16:37:46 +0200
fd0da0be05
Merge pull request #393 from fperrad/20191020_lint
Steffen Jaeckel
2019-10-21 10:12:53 +0200
35178bfdb4
fixup c917f3c391
Steffen Jaeckel
2019-10-20 19:18:29 +0200
c917f3c391
also remove poster
Steffen Jaeckel
2019-10-20 18:27:56 +0200
7e5b56f2f3
fix printf format
Francois Perrad
2019-10-15 21:01:47 +0200
485be9de79
explicit condition
Francois Perrad
2019-10-20 17:07:43 +0200
3995ece51b
const parameter
Francois Perrad
2019-10-20 17:05:55 +0200
315975db7a
remove useless initialization
Francois Perrad
2019-10-20 16:58:40 +0200
7f05df0a80
const parameter
Francois Perrad
2019-10-20 17:01:14 +0200
463205ecef
explicit condition
Francois Perrad
2019-10-20 16:54:07 +0200
8f7a3939f9
name parameter in prototype
Francois Perrad
2019-10-20 16:51:51 +0200
e2b95007a6
pprime uses mp_word
Francois Perrad
2019-10-20 16:47:59 +0200
4b7e73cddf
literal suffix
Francois Perrad
2019-10-20 17:28:13 +0200
0de27bcbd9
explicit operator precedence
Francois Perrad
2019-10-20 17:27:04 +0200
86aeb91bd8
explicit operand for addition
Francois Perrad
2019-10-20 16:42:37 +0200
a825e0a360
handles MP_BUF in mp_error_to_string
Francois Perrad
2019-10-20 16:37:46 +0200
17ca193fa7
remove LTM book
Steffen Jaeckel
2019-10-20 17:20:30 +0200
f8e9bd27f0
Merge pull request #387 from fperrad/20191019_lint
Steffen Jaeckel
2019-10-20 15:38:32 +0200
5b2aad8868
Merge pull request #388 from libtom/various-fixes
Steffen Jaeckel
2019-10-20 16:27:49 +0200
d8da85a9a4
mp_sqrtmod_prime: use mp_set
Daniel Mendler
2019-10-19 19:54:20 +0200
f0c83aea6c
split mp_log_u32 for more configurability
Daniel Mendler
2019-10-19 19:25:55 +0200
5c6391dd7c
remove some MP_8BIT remnants
Daniel Mendler
2019-10-19 18:35:57 +0200
99df8f7b25
mp_log_u32: remove obsolete todo
Daniel Mendler
2019-10-19 18:33:39 +0200
8095b3b612
Merge pull request #387 from fperrad/20191019_lint
Steffen Jaeckel
2019-10-20 15:38:32 +0200
a1ab90be3c
use enum value
Francois Perrad
2019-10-19 17:10:30 +0200
e33311a1fe
use enum type
Francois Perrad
2019-10-19 17:14:46 +0200
b34aac09cb
remove extraneous comma
Francois Perrad
2019-10-19 16:24:55 +0200
04a1160ea1
Merge pull request #390 from czurnieden/sans_eight_frobenius
Steffen Jaeckel
2019-10-20 12:43:09 +0200
e8fc3a58db
removed code needed for MP_8BIT
czurnieden
2019-10-19 19:39:29 +0200
2c82730e0e
Merge pull request #284 from libtom/move-files
Steffen Jaeckel
2019-10-20 12:35:41 +0200
7a68f12873
Execute move.sh - Rename files from bn_* to match the function names.
Steffen Jaeckel
2019-10-19 16:24:39 +0200
de484635fa
add move script
Daniel Mendler
2019-05-19 10:07:49 +0200
800ec1ed12
Merge pull request #349 from czurnieden/sans_eight
Steffen Jaeckel
2019-10-19 16:21:02 +0200
78588ed6d1
removed the corect preprocessor branch in mp_to_unsigend_bin this time and removed 8-bit tests from testme.sh
czurnieden
2019-09-09 03:54:26 +0200
be9a71fd52
soothed preprocessor
czurnieden
2019-09-09 03:27:25 +0200
70589a00f9
corrected preprocessor branch in bn_mp_montgomery_setup.c
czurnieden
2019-09-09 03:19:22 +0200
36fca2f9a0
remove support for 8-bit (MP_8BIT)
czurnieden
2019-09-09 02:58:18 +0200
4d6a9682e5
fix 'coverage' & add 'check' make-target
Steffen Jaeckel
2019-10-19 15:50:29 +0200
e66be11c36
Merge pull request #366 from czurnieden/radix_size_with_log
Steffen Jaeckel
2019-10-19 16:02:12 +0200
80f5818e0f
Addition of BN_MP_LOG_U32 to tommath_superclass.h
czurnieden
2019-10-16 00:31:43 +0200
de606c034f
adaption of mp_radeix_size to new mp_log_u32
czurnieden
2019-10-15 20:48:37 +0200
d4f6b43fa8
use of mp_ilogb in mp_radix_size
czurnieden
2019-10-11 00:29:20 +0200
0a3fa328c7
Merge pull request #379 from libtom/private-symbols
Steffen Jaeckel
2019-10-19 15:34:13 +0200
3eaa268e21
Adapt mingw-build of libtommath.dll to respect internal symbols too
nijtmans
2019-10-18 10:00:09 +0200
42ebcbfee4
enable MP_PRIVATE (visibility=hidden)
Daniel Mendler
2019-10-16 10:08:15 +0200
b07141387a
Merge pull request #378 from libtom/remove-deprecated
Steffen Jaeckel
2019-10-19 12:24:01 +0200
192fad32e0
Merge pull request #386 from libtom/fix-msvc-3
Steffen Jaeckel
2019-10-18 15:55:54 +0200
4bbadc4f9c
add MSVC2019 build to appveyor
Steffen Jaeckel
2019-10-18 15:41:53 +0200
c54d603a9e
Fix build with latest visual studio (2019)
nijtmans
2019-10-18 15:21:28 +0200
a87236a9c6
Merge pull request #385 from libtom/fix-msvc-2
Steffen Jaeckel
2019-10-18 15:04:22 +0200
7bba19e044
Add comment
nijtmans
2019-10-18 14:53:42 +0200
785e32eb9c
Move disabling of warning C4003 from makefile.msvc to tommath_private.h
nijtmans
2019-10-18 14:35:08 +0200
6ba670909e
use labs() instead of abs()
Steffen Jaeckel
2019-10-18 10:16:49 +0200
700a79ea66
remove deprecated functions from tommath.def too
nijtmans
2019-10-18 09:28:11 +0200
20dcc923f6
rename internal constant radix arrays
Daniel Mendler
2019-10-17 16:59:02 +0200
55acc6ab5b
update docs
Daniel Mendler
2019-10-16 10:32:40 +0200
b4099e1ed2
remove empty bn_deprecated.c file
Daniel Mendler
2019-10-16 10:28:28 +0200
45a3bf7694
remove deprecated functions
Daniel Mendler
2019-10-16 09:21:19 +0200
21b4b01233
add MP_MALLOC etc. to changelog [skip ci]
Steffen Jaeckel
2019-10-17 16:51:15 +0200
45bef94f88
bump version
Steffen Jaeckel
2019-10-17 12:22:11 +0200
11ab738e38
fix SO version
Steffen Jaeckel
2019-10-17 11:48:06 +0200
29c597e0e3
mention MP_WUR
in changelog
Steffen Jaeckel
2019-10-16 15:35:05 +0200
d4f5382cb2
update changelog
Steffen Jaeckel
2019-10-16 15:16:03 +0200
fce429d08b
tommath.h: do not expose limits.h
Daniel Mendler
2019-07-24 15:54:01 +0200
ef1675f1ac
add missing indexes in doc
Steffen Jaeckel
2019-10-16 14:30:45 +0200
7e1c622956
Merge pull request #377 from libtom/use-enums
Steffen Jaeckel
2019-10-16 14:27:46 +0200
554310847a
tommath.h: use enums
Daniel Mendler
2019-10-16 09:26:04 +0200
8adc90411a
bump version
Steffen Jaeckel
2019-10-15 21:09:43 +0200
5c799e88ef
don't build docs, manual is enough
Steffen Jaeckel
2019-10-15 21:05:05 +0200
f8f240a7ba
Merge pull request #375 from libtom/fix-62
Steffen Jaeckel
2019-10-15 20:47:33 +0200
65237bc2bb
fix s_mp_montgomery_reduce_fast
Steffen Jaeckel
2019-09-10 09:35:15 +0200
69a7ca78aa
Merge pull request #376 from fperrad/20191015_lint
Steffen Jaeckel
2019-10-15 19:20:34 +0200
fd7a0a3abb
explicit condition
Francois Perrad
2019-10-15 18:14:00 +0200
fd5c835c99
explicit operator precedence
Francois Perrad
2019-10-15 18:11:38 +0200
28ea368cc5
add missing include
Francois Perrad
2019-10-15 18:09:51 +0200
8b5fc198a7
Merge pull request #372 from libtom/rename-and-fixups
Steffen Jaeckel
2019-10-15 14:48:10 +0200
cb1b2dc879
mp_log_u32: return uint32_t
Daniel Mendler
2019-10-15 14:04:32 +0200
4bbe2cde9c
fix build of demos
Steffen Jaeckel
2019-10-15 10:42:48 +0200
8825ab6064
improve clean
make-target
Steffen Jaeckel
2019-10-09 17:18:56 +0200
c9d41fba73
rename mp_ilogb() to mp_log_u32()
Steffen Jaeckel
2019-10-15 10:40:40 +0200
1cc02f2d88
fix build of timing.c
Steffen Jaeckel
2019-10-14 15:09:42 +0200
8365614f59
Merge pull request #373 from libtom/missing-symbols
Steffen Jaeckel
2019-10-15 14:46:40 +0200
2fefcaa010
copy implementation of mp_to_unsigned_bin_n() to mp_to_signed_bin_n()
Steffen Jaeckel
2019-10-15 14:21:30 +0200
049e2e85e2
add back missing symbols
Daniel Mendler
2019-10-15 14:02:22 +0200
4a373ffa64
Merge pull request #367 from czurnieden/ilogb_shortcuts
Steffen Jaeckel
2019-10-15 10:32:53 +0200
f0a9d3c355
added shortcuts for bases that are powers of two
czurnieden
2019-10-10 23:33:09 +0200
9bf8ce0322
Merge pull request #364 from czurnieden/miller_rabin_rounds_update
Steffen Jaeckel
2019-10-15 10:28:05 +0200
3dd542f2fe
Changed macro 'LTM_USE_FIPS_ONLY' to 'LTM_USE_ONLY_MR'
czurnieden
2019-10-14 23:05:56 +0200
cf08afa498
Update to list of number of Miller-Rabin trials
czurnieden
2019-10-10 01:50:52 +0200
7ed752222a
Merge pull request #365 from fperrad/20191010_lint
Steffen Jaeckel
2019-10-14 14:18:37 +0200
5a4e81c1ea
literal suffix
Francois Perrad
2019-10-10 20:32:02 +0200
e3eb13e4b6
use same parameter name as in the prototype
Francois Perrad
2019-10-10 20:25:56 +0200
b19750633c
use literal char
Francois Perrad
2019-10-10 20:15:13 +0200
67c099ee8c
Merge pull request #361 from libtom/pack_unpack_buf
Steffen Jaeckel
2019-10-10 18:44:00 +0200
b4f7d8d4c8
test: use malloc/free
Daniel Mendler
2019-10-09 20:41:17 +0200
fe2f91a1b8
to_sbin/to_ubin/pack: don't write anything in case of buffer overflow
Daniel Mendler
2019-10-09 20:22:11 +0200
6e3dae5625
add MP_BUF error
Daniel Mendler
2019-10-08 21:47:57 +0200
b6813a4122
replace mp_export/import by mp_pack/unpack
czurnieden
2019-09-27 03:40:08 +0200
c5b901b917
Merge pull request #360 from fperrad/20191007_lint
Steffen Jaeckel
2019-10-07 20:20:09 +0200
b2d29b4334
explicit operator precedence
Francois Perrad
2019-10-07 19:22:46 +0200
ce98f3675d
Merge pull request #348 from czurnieden/to_radix_returns_length_converted
Steffen Jaeckel
2019-10-07 16:09:37 +0200
71d1b7b9d8
make mp_to_radix return the count of characters of the converted number
czurnieden
2019-09-08 23:29:44 +0200
bd7bf50c94
Merge branch 'pr/359' into develop
Steffen Jaeckel
2019-10-06 21:13:03 +0200
d68e28771d
bugfix for an edgecase
czurnieden
2019-10-02 05:47:04 +0200
0018bf4a92
Merge pull request #358 from fperrad/20191006_lint
Steffen Jaeckel
2019-10-06 21:09:50 +0200
8adc0fc328
literal suffix
Francois Perrad
2019-10-06 16:13:44 +0200
62a09c66ca
all computation on unsigned
Francois Perrad
2019-10-06 16:09:48 +0200
d2b739ee18
don't overwrite MP_VAL value
Francois Perrad
2019-10-06 15:47:13 +0200
763b40b490
use same parameter name as in the prototype
Francois Perrad
2019-10-06 15:24:17 +0200
3da2842939
Merge pull request #354 from czurnieden/refactor_bigendian_storage
Steffen Jaeckel
2019-10-06 14:59:04 +0200
abdb033402
Refactored functions to read and write binaries and added "maxlen"
czurnieden
2019-09-25 00:29:19 +0200
24ed43d5b4
Merge pull request #340 from libtom/improve-demo-timing
Steffen Jaeckel
2019-10-06 02:02:30 +0200
4ebdaca223
"fix" warnings
Steffen Jaeckel
2019-09-05 14:24:42 +0200
baff51e9f2
allow to run specific timing tests
Steffen Jaeckel
2019-09-05 14:23:22 +0200
47ab9c60d8
fix printf
Steffen Jaeckel
2019-09-05 14:19:17 +0200
12873fb6f7
Merge pull request #342 from libtom/refactor-tune
Steffen Jaeckel
2019-10-04 14:28:52 +0200
bae1045de5
tommath_cutoffs.h is a private header now
Steffen Jaeckel
2019-10-01 11:30:13 +0200
6caeaf2912
add registry
Steffen Jaeckel
2019-10-01 11:24:53 +0200
538a513ec5
use MP_HAS()
Steffen Jaeckel
2019-10-01 10:39:12 +0200
8bd23b0cd4
add get/set_cutoffs()
Steffen Jaeckel
2019-10-01 10:38:58 +0200
9a51b12957
exit instead of segfault
Steffen Jaeckel
2019-10-01 10:37:30 +0200
b7eb89c3c6
re-write median calculation
Steffen Jaeckel
2019-09-06 15:07:02 +0200
41b6f29165
always run the tune make target
Steffen Jaeckel
2019-09-06 14:56:20 +0200
eca1a49bd3
add s_strtol()
Steffen Jaeckel
2019-09-06 14:53:43 +0200
2b1c83bdd4
refactor the 4 equal loops into a run function
Steffen Jaeckel
2019-09-06 14:02:38 +0200
d0c6a8d5db
put parameters into struct
Steffen Jaeckel
2019-09-06 13:47:28 +0200
0da3c65b3e
Merge pull request #352 from libtom/dedup-test-binary
Steffen Jaeckel
2019-10-01 09:01:23 +0200
f8d64c645a
create mtest_opponent
instead of alt version of test
Steffen Jaeckel
2019-09-10 16:05:27 +0200
6e160216b0
Merge pull request #347 from fperrad/20190907_refactor
Steffen Jaeckel
2019-09-10 09:36:31 +0200
ffdd008dda
use MP_DIGIT_MAX instead of MP_MASK
Francois Perrad
2019-05-07 21:30:27 +0200
d6a8de54f6
Merge pull request #351 from czurnieden/deprecating_eight_bit_warning
Steffen Jaeckel
2019-09-09 17:37:48 +0200
1cb8a22933
removed tests for MP_8BIT from travis
czurnieden
2019-09-09 16:13:46 +0200
6b0caef471
add message that MP-8BIT is deprecated
czurnieden
2019-09-09 15:55:45 +0200
c884b64ffb
Merge pull request #350 from czurnieden/travis_valgrind_logname
Steffen Jaeckel
2019-09-09 11:51:27 +0200
33f4280e45
added printing of valgrind log to travis.yml in case of error
czurnieden
2019-09-09 04:26:59 +0200
287cdf54c2
Merge pull request #346 from fperrad/20190907_fix
Steffen Jaeckel
2019-09-08 13:45:24 +0200
642ef5b08f
fix mp_to_radix
Francois Perrad
2019-09-07 19:07:17 +0200
c63799c392
Merge pull request #341 from libtom/improve-tests
Steffen Jaeckel
2019-09-07 17:41:09 +0200
234d474fe6
only run tests if the module is available
Steffen Jaeckel
2019-09-07 15:01:46 +0200
1687b15249
allow the user to override {C,L,LD}FLAGS
Steffen Jaeckel
2019-09-06 16:10:44 +0200
7482b3a95a
fix missing symbols when building SC_RSA_1
Steffen Jaeckel
2019-09-06 11:51:10 +0200
702e5391d0
add function pointers to tommath_class.h
Steffen Jaeckel
2019-09-06 10:22:45 +0200
8721ca1239
order defines alphabetically
Steffen Jaeckel
2019-09-06 10:18:36 +0200
c4e205183a
add testbuild for RSA superclass
Steffen Jaeckel
2019-09-05 17:26:34 +0200
75c52a893b
be nice and tell when it's hex output
Steffen Jaeckel
2019-09-05 17:12:05 +0200
54661db6a4
allow RSA superclass to be built with tests
Steffen Jaeckel
2019-09-05 17:10:48 +0200
1cd8ab1652
fix define
Steffen Jaeckel
2019-09-05 16:59:23 +0200
f38a65e637
simplify some of the build rules
Steffen Jaeckel
2019-09-05 16:58:39 +0200
9eecab7b49
print jenkins seed on startup
Steffen Jaeckel
2019-09-05 16:41:36 +0200
e5f00d4127
Merge pull request #339 from fperrad/20190527_goto
Steffen Jaeckel
2019-09-07 17:26:40 +0200
06ff695b95
goto without block
Francois Perrad
2019-09-04 08:40:39 +0200
b264fb2b16
Merge pull request #345 from fperrad/20190907_lint
Steffen Jaeckel
2019-09-07 15:14:29 +0200
8cf0d3db85
literal suffix
Francois Perrad
2019-09-07 12:28:26 +0200
84fc6abeb5
Merge pull request #344 from czurnieden/correct_ilogb
Steffen Jaeckel
2019-09-07 10:42:17 +0200
629b88cf9a
removed check against MP_MASK
czurnieden
2019-09-06 20:22:57 +0200
c6e9e99efb
Merge pull request #335 from fperrad/20190902_lint
Steffen Jaeckel
2019-09-04 07:42:05 +0200
b14c8e377c
explicit operator precedence
Francois Perrad
2019-09-02 18:23:32 +0200
7b79264206
Merge pull request #338 from czurnieden/re_issue_332_bis
Steffen Jaeckel
2019-09-03 16:46:04 +0200
f05165ecc5
simplified code
czurnieden
2019-09-03 01:19:48 +0200
9074c7792e
Merge pull request #337 from libtom/fixup-332
Steffen Jaeckel
2019-09-03 15:07:53 +0200
0664a557df
improve doc
Steffen Jaeckel
2019-09-03 14:53:47 +0200
3c9046da0f
fix mp_to_radix macro
Steffen Jaeckel
2019-09-03 10:59:54 +0200
72f9251939
fix last occurrences of mp_toradix()
Steffen Jaeckel
2019-09-03 10:59:32 +0200
33ba5f0b4b
Merge pull request #336 from libtom/deprecated-fixes
Steffen Jaeckel
2019-09-03 11:08:28 +0200
bbe268ebd2
Fix deprecation messages and unnecessary includes
nijtmans
2019-09-03 10:53:40 +0200
1ed76442de
Merge pull request #302 from fperrad/20190525_refactor
Steffen Jaeckel
2019-09-03 08:34:33 +0200
6144ed6fb6
rename label LBL
Francois Perrad
2019-09-03 05:51:56 +0200
a402b462e9
refactor with goto
Francois Perrad
2019-05-29 12:23:08 +0200
49abba0937
refactor with mp_init_multi
Francois Perrad
2019-09-02 18:32:33 +0200
8a1656c01c
refactor with for
Francois Perrad
2018-07-09 20:46:22 +0200
29ef033a0b
refactor without inner scope
Francois Perrad
2019-05-25 20:54:49 +0200
857b112ef2
Merge pull request #334 from czurnieden/re_issue_332
Steffen Jaeckel
2019-09-03 01:04:00 +0200
ad402d4351
no need for that if-else
Steffen Jaeckel
2019-09-03 00:28:02 +0200
8bb11ded99
included tests for mp_prime_next_prime
czurnieden
2019-09-02 21:05:04 +0200
eebe1d26d0
repair of #333
czurnieden
2019-09-02 18:15:33 +0200
9f38acbcbf
Merge pull request #332 from libtom/add-mp_to_radix
Steffen Jaeckel
2019-09-02 18:52:45 +0200
6927326a6a
return error if output-buffer is too small
Steffen Jaeckel
2019-09-02 18:17:23 +0200
6cd570d08b
use mp_to_radix
etc.
Steffen Jaeckel
2019-09-02 17:52:36 +0200
684426b670
add new conversion macros
Steffen Jaeckel
2019-09-02 14:40:10 +0200
f0e6ae59ab
add mp_to_radix()
Steffen Jaeckel
2019-09-02 14:36:06 +0200
a439ddf2f9
Merge pull request #262 from libtom/feature-detection2
Steffen Jaeckel
2019-09-02 13:06:25 +0200
672242bd70
msvc: disable warning C4003: not enough arguments for function-like macro invocation 'MP__STRINGIZE'
Daniel Mendler
2019-06-12 12:11:49 +0200
625defdcff
fix gcc version check for deprecations
Daniel Mendler
2019-05-31 11:31:53 +0200
8c1b296e86
add feature detection macro MP_HAS
Daniel Mendler
2019-04-08 23:48:39 +0200
584405ff8e
Merge pull request #304 from libtom/deprecate-expt-root
Steffen Jaeckel
2019-07-17 15:57:43 +0200
ca89e9c0ef
rename mp_root/mp_expt to mp_*_u32
Daniel Mendler
2019-07-03 13:10:05 +0200
71696549a8
deprecate mp_expt_d and mp_n_root in favor of mp_expt and mp_root
Daniel Mendler
2019-05-29 20:36:18 +0200
18c919fcdb
Merge pull request #326 from nomeata/stdlib
Steffen Jaeckel
2019-07-17 15:42:06 +0200
6c35dd7e11
Import stddef in tommath.h
Joachim Breitner
2019-07-15 12:15:10 +0200
5190ae6cf3
Merge pull request #325 from libtom/rename_mag_fn
Steffen Jaeckel
2019-07-04 09:43:23 +0200
0db64fc83c
Rename bn_get_magxx -> bn_get_mag_uxx. Documentation updated too
nijtmans
2019-07-03 14:45:14 +0200
dad0fbd2d2
Merge pull request #321 from libtom/explicit_symbols_for_l_and_ll
Steffen Jaeckel
2019-07-03 12:51:39 +0200
58ae5c20c7
More doc fixes, texts which no longer were correct due to depreciations
nijtmans
2019-06-13 17:31:04 +0200
9861a37ef5
Update documentation
nijtmans
2019-06-13 17:22:14 +0200
fde8524945
@minad 's suggestions
nijtmans
2019-06-13 16:58:06 +0200
c7cedcbadf
Documentation fixes, handling i32 type correctly
nijtmans
2019-06-12 15:17:00 +0200
91b113cb95
Macro consistancy: Always use function-name as first parameter and type(s) last, as in SET macro's
nijtmans
2019-06-12 13:44:59 +0200
db4afb3d5e
Provide explicit symbols for bn_xxx_l and bn_xxx_ll functions.
nijtmans
2019-06-12 13:11:58 +0200
ca78ed23b0
add appveyor badges
Steffen Jaeckel
2019-06-30 12:09:05 +0200
c7b322ed43
Merge pull request #318 from czurnieden/clang_tidy_reaction
Steffen Jaeckel
2019-06-30 11:46:37 +0200
1803417e03
removed obsolete code
czurnieden
2019-06-12 01:58:03 +0200
aa4864eec4
Merge pull request #319 from libtom/fix/clang-tidy
Steffen Jaeckel
2019-06-30 11:43:08 +0200
e491b4db2d
fix clang-tidy warnings
Steffen Jaeckel
2019-06-12 07:51:04 +0200
dc7c5226ef
Merge pull request #323 from libtom/doc-fix-pri32
Steffen Jaeckel
2019-06-30 11:39:32 +0200
c397cac4a1
fix unescaped _
Steffen Jaeckel
2019-06-30 11:38:14 +0200
8503e7861f
Doc fixes: Using %lu/%ld formatter for int32_t is not portable across platforms.
nijtmans
2019-06-13 09:52:51 +0200
df8c7087e7
Merge pull request #324 from libtom/test-simplify-no-unsigned
Steffen Jaeckel
2019-06-30 11:32:02 +0200
ea3353b673
Simplify test-cases, by using mp_set_l. Also fix use of types in 2 other files
nijtmans
2019-06-13 15:44:00 +0200
e009d400a1
Merge pull request #316 from libtom/more-msvc-warning-free
Steffen Jaeckel
2019-06-12 08:22:55 +0200
8b7c7a36bf
Now all 32-bit warnings should be gone
nijtmans
2019-06-07 17:56:59 +0200
610ff6d26d
Make errors as failures, and (hopefully) fix last 32-bit warning
nijtmans
2019-06-07 17:53:12 +0200
5127596021
Attempt to eliminate more MSVC compiler warnings
nijtmans
2019-06-07 17:20:38 +0200
f562d658cd
Merge pull request #313 from libtom/remove-bn_conversion
Steffen Jaeckel
2019-06-12 08:14:36 +0200
d1013c7726
fix generate_def()
Steffen Jaeckel
2019-06-07 08:33:23 +0200
f5b2106a63
helper.pl: don't use sed, support CC variable for preprocessing
Daniel Mendler
2019-06-07 00:18:51 +0200
8cf4363992
MP_SET_SIGNED: add utype parameter
Daniel Mendler
2019-06-06 23:14:15 +0200
3ef6efd32a
sort tommath_class.h dependencies: this makes it easier to see changes
Daniel Mendler
2019-06-06 23:01:51 +0200
7eb6f32186
helper.pl - do not use heredocs for single lines
Daniel Mendler
2019-06-06 22:48:12 +0200
e856b51b5c
remove version_from_tomcrypt
Daniel Mendler
2019-06-06 22:44:29 +0200
5302b907ff
use MP_SIZEOF_BITS
Daniel Mendler
2019-06-06 21:06:06 +0200
0d06d67ef7
generate tommath_class from pre-processed code
Steffen Jaeckel
2019-06-06 12:44:36 +0200
30e8fbbc8e
Update makefiles etc
Steffen Jaeckel
2019-06-06 12:09:39 +0200
a36374578f
change macros to contain types
Steffen Jaeckel
2019-06-06 11:48:42 +0200
6c39b07bc2
split up again into separate files
Steffen Jaeckel
2019-06-06 11:44:02 +0200
f1097727f4
Merge pull request #315 from libtom/perl-generate-def
Steffen Jaeckel
2019-06-07 08:27:48 +0200
8a1ae868ab
tommath.def should be 644
Daniel Mendler
2019-06-06 18:25:07 +0200
f00cc99f8c
replace generate_def.sh with perl function
Daniel Mendler
2019-06-06 18:15:19 +0200
e24af22875
Merge pull request #314 from libtom/msvc-warning-free
Steffen Jaeckel
2019-06-07 08:22:33 +0200
196d88309b
A little stricter on 32-bit compiles
nijtmans
2019-06-06 17:00:18 +0200
dfbb5ecd56
MSVC compile: higher warning-level -Wall, but warning-free
nijtmans
2019-06-06 16:22:54 +0200
380d03bedc
Merge pull request #300 from libtom/interop-mingw-w64-3
Steffen Jaeckel
2019-06-06 11:15:41 +0200
28dc77ae0a
update tommath.def always when updating the makefiles
Steffen Jaeckel
2019-06-06 10:36:33 +0200
a911999db9
Better interoperability between MSVC and mingw-w64, 3
nijtmans
2019-05-28 14:26:41 +0200
6c29fac702
Merge pull request #312 from libtom/msvc-warning-C4028
Steffen Jaeckel
2019-06-05 21:27:20 +0200
ab309de02f
Fix MSVC warning: bn_mp_rand.c(9): warning C4028: formal parameter 1 different from declaration
nijtmans
2019-06-05 14:50:12 +0200
d12e1781ba
Merge pull request #308 from libtom/fix-alt-compilers
Steffen Jaeckel
2019-06-05 10:40:18 +0200
f5b6cd079e
Fix building on HP-UX 11.11 / PA-RISC
H.Merijn Brand - Tux
2019-04-26 14:38:54 +0200
0ebc4f9268
fix MP_DEPRECATED for non-gcc, -clang or -msvc
Steffen Jaeckel
2019-06-05 09:20:25 +0200
7c2211c87b
Merge pull request #303 from libtom/refactor_mp_div_d
Steffen Jaeckel
2019-06-03 11:35:24 +0200
f2d6f52bb9
Eliminate unneeded static function: Since b==0 and b==1 are already checked for earlier, it can be simplified and inlined.
nijtmans
2019-05-29 13:47:40 +0200
34f2ddbc91
Merge pull request #306 from fperrad/20190524_lint
Steffen Jaeckel
2019-06-03 10:55:40 +0200
3e15a3ff46
literal suffix
Francois Perrad
2019-05-26 08:33:49 +0200
b3a4341ad7
explicit operator precedence
Francois Perrad
2019-05-31 10:53:18 +0200
2b41c95502
Merge pull request #292 from fperrad/20190523_lint
Steffen Jaeckel
2019-05-31 10:14:03 +0200
25ff85d2bf
move cast inside macro
Francois Perrad
2019-05-23 18:00:21 +0200
b9de7c09b1
cast
Francois Perrad
2019-05-23 17:50:07 +0200
e7f34c6969
literal suffix
Francois Perrad
2019-05-23 17:50:58 +0200
431ea331d7
fix most of the makefiles
Steffen Jaeckel
2019-05-28 14:23:38 +0200
b055595bd8
Merge pull request #299 from libtom/fix-appveyor
Steffen Jaeckel
2019-05-28 09:00:59 +0200
7878db6800
use correct version and only build specific branches
Steffen Jaeckel
2019-05-28 08:28:32 +0200
8dfb04f5db
let's try the multi-line cmd again
Steffen Jaeckel
2019-05-28 08:27:06 +0200
fd26938935
Merge pull request #294 from libtom/deprecate-ex-funs
Steffen Jaeckel
2019-05-27 16:53:55 +0200
c7314fa400
deprecate mp_n_root_ex and mp_expt_d_ex
Daniel Mendler
2019-05-25 06:42:01 +0200
c58c7f6ddd
Merge pull request #293 from libtom/simplify-scripts
Steffen Jaeckel
2019-05-27 15:59:23 +0200
64be56e7d0
remove global $deplist
Daniel Mendler
2019-05-24 12:40:17 +0200
dfcaf41f75
remove global %depmap
Daniel Mendler
2019-05-24 12:38:04 +0200
25d663d047
rename deplist to depmap
Daniel Mendler
2019-05-24 12:35:58 +0200
4f26de17a2
fix return value
Daniel Mendler
2019-05-24 12:35:11 +0200
36b4411cc7
remove indent global var
Daniel Mendler
2019-05-24 12:26:50 +0200
26548f0f4e
make helper-dep.pl part of helper.pl
Daniel Mendler
2019-05-24 12:26:17 +0200
712919f337
[WIP] start to make dep.pl part of helper.pl
Daniel Mendler
2019-05-24 12:17:13 +0200
d45a80ec1c
remove updatemakes script, it is just an indirection calling helper.pl
Daniel Mendler
2019-05-24 12:10:07 +0200
53d45ad6aa
Merge pull request #296 from czurnieden/autotune_output_travis
Steffen Jaeckel
2019-05-27 15:54:15 +0200
345173a311
make it possible to run etc/tune_it.sh from wherever you want
Steffen Jaeckel
2019-05-24 11:27:42 +0200
0e1a0e6529
also test mp_shrink()
Steffen Jaeckel
2019-05-24 11:27:03 +0200
80bb97fd96
corrected path for autotune-output
czurnieden
2019-05-26 03:50:33 +0200
7bc487fe8b
Merge pull request #298 from libtom/fix-appveyor
Steffen Jaeckel
2019-05-27 15:33:41 +0200
d2076fdd11
move test execution into test stage
Steffen Jaeckel
2019-05-27 15:12:31 +0200
497ea474bb
try to fix yaml
Steffen Jaeckel
2019-05-27 12:33:40 +0200
04c850493f
Merge pull request #297 from libtom/msvc-fixes
Steffen Jaeckel
2019-05-26 23:41:47 +0200
6ce1bcb396
add appveyor.yml: test both vc2015 and vc2017
Daniel Mendler
2019-05-26 09:36:07 +0200
4b475aca03
fixes for msvc
Daniel Mendler
2019-05-26 09:29:58 +0200
9578d671fa
fix invalid OBJECTS=... definition in makefile.msvc
Karel Miko
2019-05-25 22:31:33 +0200
8e1704d8fe
Merge pull request #288 from libtom/deprecate-is-divisible
Steffen Jaeckel
2019-05-24 12:52:20 +0200
bcec605af5
deprecate mp_prime_is_divisible and ltm_prime_tab
Daniel Mendler
2019-05-22 15:34:49 +0200
50f0bd750e
Merge pull request #290 from libtom/private-mp-prec
Steffen Jaeckel
2019-05-24 12:30:29 +0200
c7a7bd47af
MP_PREC is an internal macro, it should be defined in tommath_private.h
Daniel Mendler
2019-05-23 16:37:34 +0200
3000eaa48d
Merge pull request #291 from libtom/simpler-mp-digit-bit
Steffen Jaeckel
2019-05-24 12:26:25 +0200
b0938d70f3
remove obsolete comment
Daniel Mendler
2019-05-24 11:48:27 +0200
9f607dd5eb
disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
Daniel Mendler
2019-05-23 17:00:47 +0200
e82c42a80b
Merge pull request #273 from czurnieden/cleanup_prime_is_prime
Steffen Jaeckel
2019-05-24 11:48:29 +0200
47af7bf2a9
remove no-deterministic M-R-only tests
Christoph Zurnieden
2019-05-19 17:12:18 +0200
20ae9fbafd
Merge pull request #285 from libtom/set-int3
Steffen Jaeckel
2019-05-24 11:23:24 +0200
0a9f5e9bc1
use u32 i64 suffix
Daniel Mendler
2019-05-24 10:21:54 +0200
d7e1cb4a09
another proposal: use _ul and _l for the long macros
Daniel Mendler
2019-05-24 00:15:11 +0200
b58c996686
use int32 and uint32 instead of sint and uint
Daniel Mendler
2019-05-23 23:39:47 +0200
d795985497
improve comment in tommath.h, extend .gitignore
Daniel Mendler
2019-05-23 11:12:30 +0200
3289c9590b
introduce various mp_set_sint/mp_set_uint functions with precise types
Daniel Mendler
2019-05-20 10:41:06 +0200
51512f99f0
Merge pull request #289 from libtom/static-assert
Steffen Jaeckel
2019-05-23 23:22:11 +0200
18f6e4648b
add MP_STATIC_ASSERT
Daniel Mendler
2019-05-23 16:00:31 +0200
07c1898754
Merge pull request #287 from fperrad/20190522_lint
Steffen Jaeckel
2019-05-22 11:53:57 +0200
7fdd6b507d
literal suffix instead of cast
Francois Perrad
2019-05-22 10:33:12 +0200
7ffc562d28
literal suffix
Francois Perrad
2019-05-21 21:11:56 +0200
9a8b2ecb02
explicit operator precedence
Francois Perrad
2019-05-22 08:16:38 +0200
991aea532f
explicit condition
Francois Perrad
2019-05-22 08:23:37 +0200
e8ae3e8309
Merge pull request #265 from czurnieden/faster_toom_cook_three
Steffen Jaeckel
2019-05-22 07:59:33 +0200
228e487bc4
faster Toom-Cook 3 algorithm
czurnieden
2019-05-16 23:51:02 +0200
c99a88e790
Merge pull request #266 from fperrad/20190517_lint
Steffen Jaeckel
2019-05-21 23:03:48 +0200
d3cbfd587d
remove useless semicolon
Francois Perrad
2019-05-19 11:16:54 +0200
330b980d49
literal char
Francois Perrad
2019-05-18 11:55:27 +0200
8d73e158df
literal suffix
Francois Perrad
2019-05-18 12:37:54 +0200
a4f9818b71
more cast
Francois Perrad
2019-05-18 12:36:45 +0200
5f84f87fbf
explicit operator precedence
Francois Perrad
2019-05-18 11:12:07 +0200
3cf0c18883
const pointer
Francois Perrad
2019-05-17 18:46:47 +0200
3f2d891f45
Merge pull request #279 from libtom/deprecate-bitwise2
Steffen Jaeckel
2019-05-21 18:52:31 +0200
1af0de1f91
deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor)
Daniel Mendler
2019-05-20 19:11:25 +0200
aeeea0d7cb
Merge pull request #277 from libtom/fix-fread
Steffen Jaeckel
2019-05-21 18:24:44 +0200
6552f55f78
handle EOF condition in mp_fread, fix #163
Daniel Mendler
2019-05-20 08:38:25 +0200
fd7cb14ad9
Merge pull request #283 from czurnieden/callgraph_on_demand
Steffen Jaeckel
2019-05-21 18:17:29 +0200
6e01c2b8d8
remove callgraph.txt from repository
czurnieden
2019-05-21 17:38:51 +0200
bdd3ee0287
Merge pull request #275 from libtom/hidden-symbols
Steffen Jaeckel
2019-05-21 18:11:39 +0200
bd8f7e55e6
introduce MP_PRIVATE to hide symbols (opt-in for now)
Daniel Mendler
2019-05-20 06:57:20 +0200
28290072b6
Merge pull request #276 from libtom/fix-137
Steffen Jaeckel
2019-05-21 18:05:56 +0200
a069512b71
fix #137
Daniel Mendler
2019-05-20 07:49:34 +0200
22768cf08c
Merge pull request #271 from libtom/private-headers
Steffen Jaeckel
2019-05-21 18:04:47 +0200
0dfa9da5a6
make tommath_class.h and tommath_superclass.h private
Daniel Mendler
2019-05-19 12:53:49 +0200
7345a6826f
Merge pull request #270 from libtom/macro-fixes
Steffen Jaeckel
2019-05-21 16:27:11 +0200
87edbfe42a
ensure that bn_reverse is compiled in bn_deprecated.c
Daniel Mendler
2019-05-19 20:43:42 +0200
69f03b3aab
gitignore doc/pics/*.ps
Daniel Mendler
2019-05-19 11:50:31 +0200
6d84f15e53
remove comment in bn_deprecated
Daniel Mendler
2019-05-19 10:58:04 +0200
dac8275e1b
fix mp_jacobi ifdef
Daniel Mendler
2019-05-19 10:55:27 +0200
6631d42664
remove __cplusplus stuff from tommath_private.h
Daniel Mendler
2019-05-19 10:05:15 +0200
96b5552cb9
Merge pull request #267 from libtom/private_mp_word
Steffen Jaeckel
2019-05-21 15:57:38 +0200
0b840b78a3
make mp_word private
Daniel Mendler
2019-05-17 20:53:24 +0200
e9c4590d4e
Merge pull request #280 from czurnieden/toom_cook_2_3_tests
Steffen Jaeckel
2019-05-21 15:23:31 +0200
03ca7bcdae
added tests for Karatsuba and Toom-Cook 3-way
czurnieden
2019-05-20 23:33:35 +0200
75d3c57a15
Merge pull request #282 from libtom/restrict-v-algrind
Steffen Jaeckel
2019-05-21 15:20:46 +0200
2555884f34
really last one - reorder once more
Steffen Jaeckel
2019-05-21 15:20:05 +0200
55ce3e350a
last last one - mtest with real rand on gcc, with prng on clang
Daniel Mendler
2019-05-21 14:56:07 +0200
f8ecaf05c5
ok, a last one - reorder stuff ;-)
Steffen Jaeckel
2019-05-21 14:56:01 +0200
c09efffbde
Run gcc 4.9 build on valgrind instead of sanitized clang build
Daniel Mendler
2019-05-21 14:50:44 +0200
77b42459c5
ok, one more - disable gcc mtest-vs-test runs, only run clang tests
Daniel Mendler
2019-05-21 14:44:08 +0200
e379c0f734
COMPILE_DEBUG should not disable optimizations
Daniel Mendler
2019-05-21 14:26:14 +0200
f92d8f0a12
COMPILE_DEBUG=1 for the valgrind build
Daniel Mendler
2019-05-21 13:54:18 +0200
30361df573
v-algrind and tune builds to the beginning
Steffen Jaeckel
2019-05-21 13:49:19 +0200
5c7b9180b7
run tuner only once during CI
Daniel Mendler
2019-05-21 13:43:06 +0200
01e93bb0fc
fix tune for non-v-algrind travis builds
Steffen Jaeckel
2019-05-21 13:25:24 +0200
ce34b3aec2
Restrict running Valgrind
Daniel Mendler
2019-05-21 11:30:33 +0200
e11f70f031
Merge pull request #269 from libtom/fix-miller-rabin-trials
Steffen Jaeckel
2019-05-21 12:08:43 +0200
51cda5b82b
use correct amount of MR trials in tests
Steffen Jaeckel
2019-05-19 09:55:14 +0200
1cbfbe069e
do 2 MR rounds for numbers >=2048bits
Steffen Jaeckel
2019-05-18 12:22:47 +0200
d46cb169f8
removed obsolete check
Christoph Zurnieden
2019-05-19 16:59:47 +0200
b31a1086ed
Merge pull request #268 from libtom/improve-coverage
Steffen Jaeckel
2019-05-21 09:46:05 +0200
cb3ff8c28d
improve coverage
Steffen Jaeckel
2019-05-19 09:54:25 +0200
702ebdf7d3
Merge pull request #274 from fperrad/20190519_refactor
Steffen Jaeckel
2019-05-21 09:44:23 +0200
be42ce203e
remove literal prefix
Francois Perrad
2019-05-19 16:40:38 +0200
150c47cce2
refactor literal suffix with u lowercase
Francois Perrad
2019-05-19 16:36:53 +0200
fd68b6526c
refactor without err initialization
Francois Perrad
2019-05-19 15:32:46 +0200
8b2daf7817
always use varname err with mp_err
Francois Perrad
2019-05-19 17:16:13 +0200
c1f5b06d4b
refactor with mp_init_multi
Francois Perrad
2019-05-20 05:36:08 +0200
d185c1d7bd
refactor without inner scope
Francois Perrad
2019-05-19 14:56:04 +0200
97bc7ca032
Merge pull request #260 from libtom/deprecations2
Steffen Jaeckel
2019-05-18 10:54:44 +0200
f55f0a9ef5
fix some usages of enum types
Daniel Mendler
2019-05-18 09:28:33 +0200
a8239c2465
deprecate mp_get_bit
Daniel Mendler
2019-05-13 11:32:42 +0200
56e7a40123
deprecate mp_jacobi
Daniel Mendler
2019-05-13 02:46:11 +0200
75e85a7341
move mp_prime_random_ex to bn_deprecated.c
Daniel Mendler
2019-05-13 11:18:34 +0200
885e5e19b4
move mp_rand_digit to bn_deprecated.c
Daniel Mendler
2019-05-13 11:14:57 +0200
b96d82dff7
Merge pull request #264 from libtom/rand-test-bugfix
Steffen Jaeckel
2019-05-18 10:00:26 +0200
198418ba5e
bugfix: don't revert to platform rand source, but to jenkins source!
Daniel Mendler
2019-05-14 20:39:33 +0200
07b479a62e
Merge pull request #263 from fperrad/20190514_lint
Steffen Jaeckel
2019-05-18 09:59:27 +0200
91474f6e14
remove useless initialization
Francois Perrad
2019-05-14 18:55:16 +0200
7395cc69c1
final else after a chain of if/else if
Francois Perrad
2019-05-14 18:49:27 +0200
62602414fb
use anonymous struct
Francois Perrad
2019-05-14 18:44:01 +0200
ea3afecc67
avoid shift
Francois Perrad
2019-05-14 18:40:10 +0200
4b334b4e08
Merge pull request #258 from libtom/more-explicit-types
Steffen Jaeckel
2019-05-14 09:27:10 +0200
668cda01e8
remove unnecessary duplication of multiplication
Daniel Mendler
2019-05-13 19:18:09 +0200
334c32e034
fix signature
Daniel Mendler
2019-05-13 18:08:03 +0200
89bac3a7a0
deprecate MP_RANGE
Daniel Mendler
2019-05-13 15:06:54 +0200
0b73dab69f
MP_FREE_DIGITS: add missing cast
Daniel Mendler
2019-05-13 15:04:30 +0200
4534056c28
use enums mp_err, mp_ord, mp_bool, mp_sign
Daniel Mendler
2019-05-13 00:22:18 +0200
38116079e4
literal suffix
Francois Perrad
2019-05-13 17:51:07 +0200
04cff08991
explicit operator precedence
Francois Perrad
2019-05-13 17:44:41 +0200
2d508723aa
const parameter
Francois Perrad
2019-05-13 17:36:12 +0200
3c5afa9115
add missing parameter name in prototype
Francois Perrad
2019-05-13 17:34:12 +0200
fa2d86af95
explicit operator precedence
Francois Perrad
2019-05-13 03:27:02 +0200
07aaa4c381
explicit condition
Francois Perrad
2019-05-13 03:48:20 +0200
783e3cdf82
format block macros
Francois Perrad
2019-05-13 03:47:24 +0200
6327a69321
Merge pull request #256 from libtom/rand-cleanup
Steffen Jaeckel
2019-05-13 10:22:08 +0200
f85bd31e4e
fix undefined behavior in labs
Daniel Mendler
2019-05-12 17:06:40 +0200
16ff016ebe
win32 rand - just leak the crypt handle
Daniel Mendler
2019-05-12 11:18:17 +0200
2a2e2716c2
move jenkins prng to bn_s_mp_rand_jenkins.c
Daniel Mendler
2019-05-12 11:33:17 +0200
c8cc3657e7
mov s_mp_rand_source_platform to separate file
Daniel Mendler
2019-05-11 09:09:12 +0200
8d71a9e33b
travis: add -fsanitize=undefined
Daniel Mendler
2019-05-11 00:19:28 +0200
625c2460af
Merge pull request #257 from libtom/use-fwrite
Steffen Jaeckel
2019-05-12 23:45:23 +0200
dd4863abf4
use fwrite instead of fputc
Daniel Mendler
2019-05-12 16:05:53 +0200
1c9481936c
Merge pull request #253 from libtom/no_grow_in_set_int2
Steffen Jaeckel
2019-05-12 23:42:44 +0200
6fc673d645
statically check MP_PREC >= MP_MIN_PREC
Daniel Mendler
2019-05-12 15:52:32 +0200
7365442ace
No grow necessary in mp_set_int* functions
Daniel Mendler
2019-05-10 23:59:46 +0200
235e831db0
Merge pull request #255 from libtom/hardening
Steffen Jaeckel
2019-05-12 11:52:48 +0200
61d9e528a4
hardening: add MP_ZERO_BUFFER, MP_ZERO_DIGITS
Daniel Mendler
2019-05-11 10:22:20 +0200
55e312b1c1
Merge pull request #244 from libtom/warn-unused-result
Steffen Jaeckel
2019-05-11 20:09:18 +0200
adf9605d6c
add warn_unused_result, found one missing check!
Daniel Mendler
2019-05-09 03:28:49 +0200
5d8f04a944
Merge pull request #241 from fperrad/20190508_lint
Steffen Jaeckel
2019-05-11 19:26:36 +0200
5e66cfc66c
remove useless cast
Francois Perrad
2019-05-08 09:02:52 +0200
67756d7b48
explicit operator precedence
Francois Perrad
2019-05-08 18:20:35 +0200
493c3c23f8
use same paramater name as in prototype
Francois Perrad
2019-05-08 18:19:44 +0200
cc703a849b
add missing parameter name in prototype
Francois Perrad
2019-05-11 12:09:59 +0200
be7ee4d025
Merge pull request #238 from fperrad/20190508_macros
Steffen Jaeckel
2019-05-11 16:11:26 +0200
7d4e8363e0
refactor with new private macro MP_MAXFAST
Francois Perrad
2019-05-08 19:43:21 +0200
556219aa5b
refactor with new private macro MP_SIZEOF_BITS
Francois Perrad
2019-05-09 22:07:13 +0200
17719ea69f
Merge pull request #249 from libtom/remove-artifacts
Steffen Jaeckel
2019-05-11 08:43:14 +0200
483f66c64a
remove some historical artifacts
Daniel Mendler
2019-05-09 14:11:46 +0200
0971e05c7a
Merge pull request #242 from libtom/random-prime
Steffen Jaeckel
2019-05-11 08:35:10 +0200
0669e92e78
deprecate mp_prime_random_ex in favor of mp_prime_rand
Daniel Mendler
2019-05-08 20:18:53 +0200
d4c5fbf572
Merge pull request #245 from libtom/deprecations
Steffen Jaeckel
2019-05-11 00:40:59 +0200
e05215a894
deprecate old macros, deprecate mp_rand_digit
Daniel Mendler
2019-05-09 04:06:12 +0200
385d1a823f
Merge pull request #248 from libtom/test-mp_rand
Steffen Jaeckel
2019-05-09 14:44:19 +0200
1a12486d4b
add mp_rand test
Steffen Jaeckel
2019-05-08 21:08:16 +0200
eedf1624f0
allow filtering of tests executed
Steffen Jaeckel
2019-03-07 15:01:45 +0100
cc3be56501
Merge pull request #246 from libtom/error-string
Steffen Jaeckel
2019-05-09 09:31:49 +0200
53c30fff5f
add MP_ERR to mp_error_to_string
Daniel Mendler
2019-05-09 04:16:24 +0200
be11f12bcd
Merge pull request #236 from libtom/custom-rand-source
Steffen Jaeckel
2019-05-08 17:16:12 +0200
56fb5e4a9a
mp_rand_source(NULL) sets to platform random source
Daniel Mendler
2019-05-08 15:17:37 +0200
9e28ef9fa2
mp_rand: use #else after arcrandom
Daniel Mendler
2019-05-08 15:14:50 +0200
2a0021a447
mp_rand: remove superflous mp_clamp
Daniel Mendler
2019-05-08 14:57:04 +0200
9ddf1e5838
support custom random data source via mp_rand_source
Daniel Mendler
2019-05-07 12:26:46 +0200
f0f75186cd
set std=c89
Daniel Mendler
2019-05-07 17:24:51 +0200
50fe11bfb7
fix help-output of tune program
Steffen Jaeckel
2019-05-07 16:34:19 +0200
f4d8b463f8
Merge pull request #235 from libtom/tune-fixes
Steffen Jaeckel
2019-05-07 16:33:44 +0200
e0e8c3d5f0
just use one .gitignore for simplicity
Daniel Mendler
2019-05-07 12:35:55 +0200
e8ff342904
cleanup make output
Daniel Mendler
2019-05-07 11:55:43 +0200
4f5334e4c6
etc/tune.c: add missing break
Daniel Mendler
2019-05-07 11:50:58 +0200
6fb233c989
gitignore dos2unix, ignore file from make tune
Daniel Mendler
2019-05-07 11:50:18 +0200
e98797263b
Merge pull request #234 from libtom/more-deprecations
Steffen Jaeckel
2019-05-07 12:09:26 +0200
fe9a8189f8
sanitize comments in helper.pl
Daniel Mendler
2019-05-07 10:56:13 +0200
2ea04fb782
dep.pl: strip comments
Daniel Mendler
2019-05-07 10:42:26 +0200
c7596983ae
fix dep.pl - use lookahead to only generated dependencies for 'mp_*('
Daniel Mendler
2019-05-07 10:28:32 +0200
290c28c10e
deprecate PRIME_SIZE in favor of MP_PRIME_SIZE
Daniel Mendler
2019-05-07 09:49:26 +0200
44d03a6f8b
deprecate LTM_PRIME_* macros in favor of MP_PRIME_*
Daniel Mendler
2019-05-07 09:45:38 +0200
e2ee39b536
deprecate ltm_prime_callback
Daniel Mendler
2019-04-26 12:39:26 +0200
80f5fac53b
rename LTM_NO_FILE to MP_NO_FILE
Daniel Mendler
2019-04-26 12:35:39 +0200
0337d48b67
add MP_NULL_TERMINATED
Daniel Mendler
2019-04-25 19:35:19 +0200
250751be46
tommath.h: do not expose stdlib.h
Daniel Mendler
2019-05-07 09:32:59 +0200
79c8743015
Merge pull request #232 from czurnieden/autotune
Steffen Jaeckel
2019-05-07 09:10:37 +0200
a7fcb6f53c
update etc/tune_it.sh after merging #231
Steffen Jaeckel
2019-05-06 22:38:16 +0200
db76bed220
added autotuning functionality for the Toom-Cook cut-offs
czurnieden
2019-05-04 18:57:07 +0200
9e1a75cfdc
Merge pull request #231 from libtom/tune-via-D
Steffen Jaeckel
2019-05-06 22:18:33 +0200
818d8fb7f5
Rework handling of tunable cutoffs
Daniel Mendler
2019-05-03 17:39:10 +0200
91d953ed73
Merge pull request #226 from libtom/deprecate-macros2
Steffen Jaeckel
2019-04-26 11:43:06 +0200
90eccd5768
prefix private macros by PRIVATE_
Daniel Mendler
2019-04-25 15:36:35 +0200
632601f405
MP_WARRAY is an internal macro
Daniel Mendler
2019-04-13 17:34:11 +0200
e45f75fddb
deprecate DIGIT_BIT, use MP_DIGIT_BIT
Daniel Mendler
2019-04-13 08:46:57 +0200
a8c76138f9
deprecate macros in tommath.h
Daniel Mendler
2019-04-12 21:15:56 +0200
a6b5da2f17
Merge pull request #225 from minad/travis/compiler-versions
Steffen Jaeckel
2019-04-24 22:20:39 +0200
e8f56cc4e0
enable -Wconversion and -Wsign-conversion on travis
Daniel Mendler
2019-04-05 11:37:49 +0200
6d092b85a5
travis: test various compiler options
Daniel Mendler
2019-04-19 19:01:38 +0200
cb34cc2b25
ignore emacs and vim files
Daniel Mendler
2019-04-19 18:57:26 +0200
6eae00c82a
Merge pull request #219 from czurnieden/bn_ilogb
Steffen Jaeckel
2019-04-18 09:23:43 +0200
8a886c8284
resolving #218
czurnieden
2019-04-10 16:33:22 +0200
e9e2342b8e
Merge pull request #218 from fperrad/20190410_lint
Steffen Jaeckel
2019-04-18 08:27:35 +0200
bdf93e8308
avoid else if
Francois Perrad
2019-04-10 15:35:23 +0200
a13a7e7c5c
missing cast
Francois Perrad
2019-04-10 15:46:59 +0200
01de1fe12a
literal suffix
Francois Perrad
2019-04-10 15:47:49 +0200
b586fcbd30
explicit condition
Francois Perrad
2019-04-10 15:21:54 +0200
f5a4537f3c
Merge pull request #222 from libtom/fix/includes
Steffen Jaeckel
2019-04-12 22:50:39 +0200
e05b1e181b
fix includes
Steffen Jaeckel
2019-04-12 19:07:08 +0200
a75224277f
Merge pull request #172 from minad/rename-internals
Steffen Jaeckel
2019-04-12 15:49:18 +0200
8bf2eaa111
use MP_IS_ZERO in bn_mp_ilogb
Daniel Mendler
2019-04-12 14:58:27 +0200
fbfcb66184
apply rename
Daniel Mendler
2019-04-12 14:56:29 +0200
7469e852f1
add rename script
Daniel Mendler
2019-03-07 04:02:32 +0100
87292ed10a
move mp_balance_mul to tommath_private.h
Daniel Mendler
2019-04-09 12:19:40 +0200
df8fcb0e4b
add MP_DEPRECATED macro
Daniel Mendler
2019-04-09 11:18:23 +0200
e09a5c99bc
remove s_mp_mul which is only used once
Daniel Mendler
2019-04-09 11:10:57 +0200
c4fb2241dc
rename macros in tommath_private to use MP_* prefix
Daniel Mendler
2019-04-09 11:08:26 +0200
a105bc95c1
Merge pull request #220 from libtom/missing_error_code
Steffen Jaeckel
2019-04-12 13:30:22 +0200
2b6e9d05a2
Change, make it a switch-statement
nijtmans
2019-04-12 11:24:17 +0200
6b3c2ba111
Add handling of MP_ITER error-code to mp_error_to_string()
nijtmans
2019-04-12 10:46:31 +0200
3d51fe164e
Merge pull request #217 from libtom/rename_bn_error_c
Steffen Jaeckel
2019-04-11 10:41:22 +0200
066830ad06
Fix surrounding macro
nijtmans
2019-04-10 15:40:54 +0200
3afec571e7
Re-generate callgraph and tommath_class.h
nijtmans
2019-04-10 15:19:23 +0200
5968263bc4
Rename bn_error.c to bn_mp_error_to_string.c
nijtmans
2019-04-10 14:49:59 +0200
d999fed62c
Merge pull request #191 from czurnieden/bn_ilogb
Steffen Jaeckel
2019-04-10 08:04:55 +0200
35311aea49
added function mp_ilogb
czurnieden
2019-04-03 23:50:57 +0200
96ece822c3
Merge pull request #215 from fperrad/20190409_lint
Steffen Jaeckel
2019-04-09 21:47:13 +0200
42193f8914
explicit operator precedence
Francois Perrad
2019-04-09 20:26:08 +0200
cb8c00d83b
remove useless initialization
Francois Perrad
2019-04-08 05:35:48 +0200
fb3eec2046
final else after a chain of if/else if
Francois Perrad
2019-04-04 19:11:35 +0200
382a561ca1
literal suffix
Francois Perrad
2019-04-04 19:07:24 +0200
2033fb9108
Merge pull request #206 from czurnieden/bn_mul_balance
Steffen Jaeckel
2019-04-07 23:39:31 +0200
27ca25cb82
added multiplcation balancing for the Toom-Cook algorithms
czurnieden
2019-04-06 18:55:43 +0200
7f42ce0968
Merge pull request #211 from libtom/remove-footers
Steffen Jaeckel
2019-04-07 21:30:51 +0200
ff56140462
shorter headers
Daniel Mendler
2019-04-07 15:29:11 +0200
70a30ae7a7
remove footers
Daniel Mendler
2019-04-07 02:29:28 +0200
4f8c353293
Merge pull request #209 from libtom/reintroduce-realloc
Steffen Jaeckel
2019-04-07 14:48:43 +0200
a3651cbd79
apply modifications to XCALLOC according to #192
Steffen Jaeckel
2019-04-04 12:43:08 +0200
d6c6f8c3cc
use calloc
so we don't have to zero the digits ourself
Steffen Jaeckel
2019-04-04 12:38:36 +0200
d01b531897
Revert "Merge pull request #188 from libtom/unused_xcalloc"
Steffen Jaeckel
2019-04-04 12:25:34 +0200
ec4149d03b
Merge pull request #189 from czurnieden/bugfix-n-root
Steffen Jaeckel
2019-04-06 23:40:47 +0200
8312296bf6
workaround for bug in helper.pl
czurnieden
2019-04-06 19:38:23 +0200
984d3ff679
changed seed to make nth-root usable
czurnieden
2019-04-01 03:41:26 +0200
432f995ff3
Merge pull request #205 from libtom/travis_check_sources
Steffen Jaeckel
2019-04-06 18:55:25 +0200
c4bb3c1bd4
let's see if the xenial version of astyle is better
Steffen Jaeckel
2019-04-06 17:59:49 +0200
6dc923efa9
clean-up make astyle
output
Steffen Jaeckel
2019-04-06 17:45:05 +0200
6f5df266f2
fix file headers & footers
Steffen Jaeckel
2019-04-06 17:40:46 +0200
58e9084e1a
run make new_file
Steffen Jaeckel
2019-04-06 17:38:41 +0200
cf80753764
run make astyle
Steffen Jaeckel
2019-04-06 17:37:48 +0200
179daef123
add travis-build to check source-code format
Steffen Jaeckel
2019-04-06 17:37:33 +0200
9e8b71e3a5
remove travis build of clang + x32
Steffen Jaeckel
2019-04-05 11:43:36 +0200
05137105b4
Merge pull request #192 from libtom/alloc-sizes
Steffen Jaeckel
2019-04-05 11:43:22 +0200
db9a47d514
allocation functions: pass size to XREALLOC and XFREE
Daniel Mendler
2019-04-04 11:01:08 +0200
32b3351d15
Merge pull request #200 from libtom/cast-cleanup
Steffen Jaeckel
2019-04-05 10:54:06 +0200
5da4e0ac01
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
Daniel Mendler
2019-04-04 23:06:00 +0200
c1131186c0
Merge pull request #199 from libtom/remove-set-long-specialization
Steffen Jaeckel
2019-04-05 10:49:28 +0200
77143c33ea
remove mp_set_long specialization
Daniel Mendler
2019-04-04 12:57:22 +0200
d256648e12
Merge pull request #193 from czurnieden/develop
Steffen Jaeckel
2019-04-04 13:32:14 +0200
0ed98cf1cd
removed tracing
czurnieden
2019-04-04 12:55:39 +0200
e6902c4a59
Merge pull request #190 from czurnieden/bn_incr
Steffen Jaeckel
2019-04-04 11:46:02 +0200
62ca5158c7
corrected C&P induced problem
czurnieden
2019-04-03 21:22:51 +0200
1af68f471b
soothe compiler
czurnieden
2019-04-03 21:14:03 +0200
769218ccc7
additional functions mp_incr and mp_decr
czurnieden
2019-04-03 18:59:09 +0200
cb1eb16116
run make astyle
Steffen Jaeckel
2019-04-04 07:58:07 +0200
646ac8802f
update callgraph and tommath_class
Steffen Jaeckel
2019-04-04 07:55:02 +0200
42b1609222
how to create a minimized callgraph
Steffen Jaeckel
2019-04-04 07:54:00 +0200
708a8bfd55
Merge pull request #178 from libtom/add-missing-const
Steffen Jaeckel
2019-03-29 10:40:58 +0100
fce2966e25
add missing const to cast
Daniel Mendler
2019-03-22 15:34:59 +0100
12f0abbe86
Merge pull request #177 from libtom/remove-opt-cast
Steffen Jaeckel
2019-03-29 10:39:24 +0100
28e61778b9
remove OPT_CAST
Daniel Mendler
2019-03-22 15:26:59 +0100
27417b85c7
Merge pull request #188 from libtom/unused_xcalloc
Steffen Jaeckel
2019-03-29 08:59:25 +0100
54d673f1a8
XCALLOC is not used anywhere anymore, so it can be removed
nijtmans
2019-03-28 17:00:50 +0100
d449bd44c0
Merge pull request #187 from libtom/unused_mp_min_u32
Steffen Jaeckel
2019-03-29 08:58:28 +0100
a3076677be
previous commit removed a little bit too much
nijtmans
2019-03-28 16:18:41 +0100
ef07da5b8c
mp_min_u32 is not used anywhere anymore, so it can be removed
nijtmans
2019-03-28 16:13:37 +0100
05399033b8
Merge pull request #186 from fperrad/20190326_lint
Steffen Jaeckel
2019-03-26 22:01:36 +0100
9d63882d50
explicit condition
Francois Perrad
2019-03-26 18:42:18 +0100
6d63370370
explicit operator precedence
Francois Perrad
2019-03-26 18:51:35 +0100
3841062016
Merge pull request #176 from libtom/do-not-include-stdio
Steffen Jaeckel
2019-03-26 17:47:34 +0100
8eb3bb282e
do not include stdio.h if LTM_NO_FILE is defined
Daniel Mendler
2019-03-22 15:02:29 +0100
255271ed98
Merge pull request #179 from libtom/avoid-ctype
Steffen Jaeckel
2019-03-26 17:46:36 +0100
32099fdef1
avoid ctype toupper
Daniel Mendler
2019-03-23 02:38:01 +0100
f3ff7064f3
Merge pull request #180 from czurnieden/isprimeerror
Steffen Jaeckel
2019-03-26 17:44:05 +0100
6608eea9e1
bugfix in final fips loop II: alternative version
czurnieden
2019-03-23 19:45:32 +0100
7ecd1ad4f6
bugfix in final fips loop II
czurnieden
2019-03-23 18:50:14 +0100
9771308d11
bugfix in final fips loop
czurnieden
2019-03-23 18:36:47 +0100
b587c954a5
Merge pull request #183 from libtom/get_set_efficiency
Steffen Jaeckel
2019-03-26 15:40:38 +0100
6dc8ae5b64
efficiency improvement in get/set routines
nijtmans
2019-03-26 11:30:21 +0100
0f1abbd1b1
Merge pull request #175 from czurnieden/develop
Steffen Jaeckel
2019-03-26 15:38:55 +0100
39ef9858a3
partially port over valgrind test logic from ltc
Steffen Jaeckel
2019-03-26 14:38:54 +0100
c1a335b7e5
increase timeout of test vs. mtest to 30mins as proposed by @czurnieden
Steffen Jaeckel
2019-03-26 10:27:40 +0100
9ed679ea51
use appropriate bash exit code
Steffen Jaeckel
2019-03-24 23:31:56 +0100
dd0181b7dc
fix invocation of timeout
in test vs. mtest
Steffen Jaeckel
2019-03-24 23:19:17 +0100
a88edbddd3
use CC env var in testme.sh
Steffen Jaeckel
2019-03-24 18:37:03 +0100
db391b6e33
added valgrind tests to testme.sh and travis.yml
czurnieden
2019-03-11 03:12:02 +0100
267763d32a
Merge pull request #182 from libtom/get_bit_overflow_handling
Steffen Jaeckel
2019-03-26 14:30:24 +0100
59e832499c
bug-fix in bn_mp_get_bit.c: handle overflow correctly
nijtmans
2019-03-26 11:20:31 +0100
98a7131055
Merge pull request #184 from libtom/explicit_type_cast
Steffen Jaeckel
2019-03-26 14:29:17 +0100
8ccfabf63f
explicit type-cast
nijtmans
2019-03-26 11:32:33 +0100
810826d78d
Merge pull request #185 from libtom/leftover_digit_macro
Steffen Jaeckel
2019-03-26 14:27:42 +0100
d093324d52
leftover DIGIT() usage
nijtmans
2019-03-26 11:34:06 +0100
6b66e2cea8
Merge pull request #171 from fperrad/20190306_lint
Steffen Jaeckel
2019-03-06 15:47:28 +0100
036551277e
parameter with name in prototype
Francois Perrad
2019-03-06 15:09:32 +0100
15a1adc290
literal suffix
Francois Perrad
2019-03-06 15:08:48 +0100
e1bfee62c6
Merge pull request #166 from fperrad/20190228_coverity
Steffen Jaeckel
2019-03-05 08:29:29 +0100
49105f8d8d
explicit logical XOR
Francois Perrad
2019-02-28 11:43:41 +0100
fe4bdf1236
Merge pull request #169 from minad/split-test-suite
Steffen Jaeckel
2019-03-04 23:27:44 +0100
00a1bcd657
demo: better ndraw
Daniel Mendler
2019-03-04 02:00:28 +0100
1fc7d20dab
opponent/test.c: move ndraw to main.c
Daniel Mendler
2019-03-04 01:56:06 +0100
12b41bbeb5
opponent.c: forgot missing printf("\n") from _cleanup. reason for test failures.
Daniel Mendler
2019-03-04 01:42:05 +0100
03b319ca3e
opponent.c: get rid of global variables and remove cleanup
Daniel Mendler
2019-03-03 23:19:52 +0100
3f42b6a799
test/opponent.c: add todo comments
Daniel Mendler
2019-03-03 23:24:15 +0100
674fdddbfc
remove duplicate T(mp_tc_div_2d)
Daniel Mendler
2019-03-03 23:16:09 +0100
cd1570bb88
split test suite
Daniel Mendler
2019-03-04 01:02:22 +0100
19e225bfba
Merge pull request #165 from czurnieden/develop
Steffen Jaeckel
2019-03-03 11:47:58 +0100
4e138a0e09
added building with ICC
czurnieden
2019-03-01 13:24:49 +0100
ca78050c58
added building howto for NetBSD
czurnieden
2019-03-01 02:44:58 +0100
5557301e30
added building howto for NetBSD
czurnieden
2019-03-01 02:40:54 +0100
346e86edfc
added building howto for OpenBSD
czurnieden
2019-02-28 21:43:37 +0100
13bc0b55e9
removed 'arch' command completely
czurnieden
2019-02-28 11:28:07 +0100
ec79562352
offer alternative to arch
czurnieden
2019-02-27 15:47:28 +0100
9faf305588
Merge pull request #162 from czurnieden/develop
Steffen Jaeckel
2019-02-17 14:20:43 +0100
e88693f782
fix index
Steffen Jaeckel
2019-02-17 13:12:07 +0100
f262343d3e
corrected documentation of mp_complement
czurnieden
2019-02-17 03:55:36 +0100
6e760c2cf3
Merge pull request #135 from libtom/pr/helper-pl-doc-check
Steffen Jaeckel
2019-02-11 15:58:54 +0100
667ce28bb4
add doc checking to helper.pl
Karel Miko
2018-12-08 19:35:28 +0100
adb8d8bd0e
Merge pull request #142 from fperrad/20181228_macros
Steffen Jaeckel
2019-02-10 23:29:10 +0100
6ce271c4db
mp_iseven & mp_isodd becomes C functions
Francois Perrad
2018-12-28 09:41:54 +0100
b879bd495a
refactor with new macros IS_*
Francois Perrad
2018-12-31 12:15:44 +0100
de19b264ca
introduce new private macros
Francois Perrad
2018-12-28 09:01:01 +0100
487cbba03c
refactor without macro mp_isneg
Francois Perrad
2018-12-28 09:34:02 +0100
015c231888
refactor without macro USED
Francois Perrad
2018-12-28 08:51:46 +0100
64298b9a91
refactor without macro SIGN
Francois Perrad
2018-12-27 18:04:25 +0100
b5c2763a53
Merge pull request #153 from libtom/fix/152
Steffen Jaeckel
2019-02-01 23:42:27 +0100
93dea3a416
makefile.shared: fix compilation and linkage
Steffen Jaeckel
2019-01-31 14:12:03 +0100
50abdb8cd0
continue development
Steffen Jaeckel
2019-01-28 21:21:40 +0100
6d54b80456
Merge tag 'v1.1.0' into develop
Steffen Jaeckel
2019-01-28 20:33:16 +0100
08549ad6bc
Merge branch 'release/1.1.0'
Steffen Jaeckel
2019-01-28 20:32:32 +0100
4330991d33
also bump VERSION in makefile.unix
Steffen Jaeckel
2019-01-28 20:32:10 +0100
343489463e
update changes.txt
Steffen Jaeckel
2019-01-28 20:21:04 +0100
7b23243b8e
finally last bump
Steffen Jaeckel
2019-01-23 10:19:58 +0100
5f458dfb95
bump version
Steffen Jaeckel
2019-01-23 10:07:32 +0100
cac3315253
mtest make-target should be PHONY
Steffen Jaeckel
2019-01-23 10:06:35 +0100
35936e02ce
Merge pull request #150 from fperrad/20190122_lint
Steffen Jaeckel
2019-01-23 10:05:30 +0100
998b126fee
explicit operator precedence
Francois Perrad
2019-01-22 18:26:01 +0100
c7f4e81deb
fix cast
Francois Perrad
2019-01-22 18:17:36 +0100
e543ff319a
also bump SO version
Steffen Jaeckel
2019-01-22 13:49:36 +0100
32622afe2f
run make format
Steffen Jaeckel
2019-01-22 09:03:27 +0100
fcea5e3c35
Merge pull request #149 from czurnieden/develop
Steffen Jaeckel
2019-01-22 08:59:30 +0100
55a7af3d62
Merge pull request #149 from czurnieden/develop
Steffen Jaeckel
2019-01-22 08:59:30 +0100
9c2863dae2
re-use the same code pattern
Steffen Jaeckel
2019-01-17 12:52:26 +0100
71b2d2ad49
print error-message instead of error-code
Steffen Jaeckel
2019-01-17 12:42:58 +0100
5aada1b936
preserve original prime and print it as well
Steffen Jaeckel
2019-01-17 10:54:21 +0100
390555f31f
Added overflow check in mp_prime_is_prime and some verbosity in demo.c
czurnieden
2019-01-16 22:45:01 +0100
538cace5cd
bump version
Steffen Jaeckel
2019-01-17 11:03:39 +0100
f9bb011f22
fix doc/bn.tex ... again
Steffen Jaeckel
2019-01-17 11:01:30 +0100
cb4edc7f29
fix doc/bn.tex ... again
Steffen Jaeckel
2019-01-17 11:01:30 +0100
cdfe484869
fix doc/bn.tex
Steffen Jaeckel
2018-12-26 15:48:12 +0100
662a170909
run make new_file
Steffen Jaeckel
2019-01-15 18:28:31 +0100
20f2b26c15
fix doc/bn.tex
Steffen Jaeckel
2019-01-15 18:26:40 +0100
e84c094864
fix doc/bn.tex
Steffen Jaeckel
2019-01-15 18:26:40 +0100
1c8c534885
Merge pull request #147 from czurnieden/moarvm_workarounds
Steffen Jaeckel
2019-01-15 18:20:24 +0100
11d6e03914
Merge pull request #147 from czurnieden/moarvm_workarounds
Steffen Jaeckel
2019-01-15 18:20:24 +0100
c93afda118
run make new_file
Steffen Jaeckel
2019-01-15 17:05:39 +0100
08eb995d01
implemented Steffen Jaeckels superior suggestion regarding MoarVM's problem
czurnieden
2019-01-13 20:21:36 +0100
aadb1efa25
changes for the Clang compiler
czurnieden
2019-01-13 01:07:42 +0100
b7216e89ea
workaround for the MoarVM problem with MP_GEN_RAND et al.
czurnieden
2019-01-13 00:51:02 +0100
e4e2da5143
Merge pull request #148 from czurnieden/develop
Steffen Jaeckel
2019-01-15 16:56:08 +0100
75bbbe5956
Merge pull request #148 from czurnieden/develop
Steffen Jaeckel
2019-01-15 16:56:08 +0100
ad47b63320
added new license and end-comment
czurnieden
2019-01-15 15:57:11 +0100
4cc85c14a6
bump version
Steffen Jaeckel
2019-01-08 12:02:40 +0100
1e5c97f9bd
Merge pull request #146 from libtom/relicense_mtest
Steffen Jaeckel
2019-01-08 12:00:01 +0100
2d80a97a2b
Merge pull request #146 from libtom/relicense_mtest
Steffen Jaeckel
2019-01-08 12:00:01 +0100
a48a5630e9
Re-license mtest/mpi.[ch]
Steffen Jaeckel
2019-01-07 20:24:34 +0100
247e714248
also create versioned PDF's in zipup
Steffen Jaeckel
2018-12-31 12:13:59 +0100
648fbcefc7
run make format
Steffen Jaeckel
2018-12-31 12:08:12 +0100
d81c3d5f03
fix doc/bn.tex
Steffen Jaeckel
2018-12-26 15:48:12 +0100
6a9deb79da
fix & run dep.pl
Steffen Jaeckel
2018-12-26 15:44:26 +0100
7ac11218ca
clarify comment of ltm_rng()
Steffen Jaeckel
2018-12-26 15:19:07 +0100
dd68e313de
update changes.txt
Steffen Jaeckel
2018-12-26 14:35:47 +0100
fb07f33dfc
bump version
Steffen Jaeckel
2018-12-26 14:35:39 +0100
62adf47fb8
Merge pull request #144 from czurnieden/develop
Steffen Jaeckel
2018-12-31 11:53:25 +0100
813963178f
reg. #143 added test to demo.c
czurnieden
2018-12-30 22:35:03 +0100
a428a6d5dc
reg. #143 corrected translation of mpz_fdiv_q_2exp
czurnieden
2018-12-30 22:11:55 +0100
d65b6f40c0
reg. #143 corrected translation of mpz_fdiv_q_2exp
czurnieden
2018-12-30 22:09:12 +0100
af29c51921
reg. #143 corrected translation of mpz_fdiv_q_2exp
czurnieden
2018-12-30 22:05:36 +0100
1eabbca8c4
Merge pull request #138 from libtom/relicense
Steffen Jaeckel
2018-12-29 20:08:07 +0100
18355de625
Update file headers
Steffen Jaeckel
2018-12-29 17:56:20 +0100
c92761eb23
Re-license
Steffen Jaeckel
2018-12-25 15:44:16 +0100
13444a8af2
Merge pull request #141 from fperrad/20181227_lint
Steffen Jaeckel
2018-12-27 15:40:50 +0100
ab074176ab
explicit condition
Francois Perrad
2018-12-27 09:38:26 +0100
f1f6762616
conditional definition of FGETS
Francois Perrad
2018-12-27 09:24:25 +0100
2bde5bb5d5
semicolon
Francois Perrad
2018-12-27 09:34:11 +0100
c63ce5bf1f
fix indentation
Francois Perrad
2018-12-27 09:21:12 +0100
b6fa97c591
explicit operator precedence
Francois Perrad
2018-12-27 09:19:57 +0100
ea44272d41
always use #if LTM_DEMO_TEST_VS_MTEST != 0
Francois Perrad
2018-12-27 09:12:22 +0100
efda3c0e10
declare cnt only when useful
Francois Perrad
2018-12-27 09:10:09 +0100
4f902d9f10
remove useless assignment of cnt
Francois Perrad
2018-12-27 09:02:31 +0100
e519d5ef41
fix format
Francois Perrad
2018-12-27 08:56:32 +0100
4fec1ae6f2
remove side effect inside parameter of macro MAX
Francois Perrad
2018-12-27 08:50:34 +0100
b722832b32
Merge pull request #140 from libtom/fix/missing_check
Steffen Jaeckel
2018-12-26 16:22:58 +0100
d29916b4c5
fix missing check of return value
Steffen Jaeckel
2018-12-26 13:16:15 +0100
bd14983023
Merge pull request #139 from fperrad/20181226_lint
Steffen Jaeckel
2018-12-26 13:14:55 +0100
0f53ceb4cb
improve indentation
Francois Perrad
2018-12-26 08:47:47 +0100
5d090112af
explicit operator precedence
Francois Perrad
2018-12-26 08:33:43 +0100
8e76691203
explicit condition
Francois Perrad
2018-12-26 08:24:49 +0100
7a9cb1d1e5
literal suffix
Francois Perrad
2018-12-26 08:21:51 +0100
29987bca9a
fix cast
Francois Perrad
2018-12-26 08:09:57 +0100
79d47278bb
static const variable
Francois Perrad
2018-12-26 08:08:00 +0100
8dceba2e68
remove useless initialization
Francois Perrad
2018-12-26 08:06:23 +0100
f9eec4350e
Merge pull request #113 from czurnieden/develop
Steffen Jaeckel
2018-12-25 16:52:45 +0100
bb14a70d74
return immediately
Steffen Jaeckel
2018-12-25 16:38:51 +0100
3ed524048f
make astyle
+ some manual adjustments
Steffen Jaeckel
2018-12-25 15:15:30 +0100
a79a7eda65
reverse order of arguments to mp_clear_multi()
Steffen Jaeckel
2018-12-25 14:04:02 +0100
09133c9349
additional bugfixes
czurnieden
2018-12-12 00:18:22 +0100
3ec93dab9e
bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files
czurnieden
2018-12-12 00:14:05 +0100
e6f353b48d
add mp_prime_is_prime to timing demo... ... it's disabled per default for now...
Steffen Jaeckel
2018-12-08 17:46:08 +0100
4f245b0476
Update makefiles etc.
Steffen Jaeckel
2018-12-02 21:18:32 +0100
b19f529c77
Corrected 128 bit entry in bn_mp_prime_miller_rabin_rials.c and extended it slightly
czurnieden
2018-05-27 22:05:52 +0200
f4449362c0
fixes for MP_8BIT and mx32, prefinal design
czurnieden
2018-05-26 01:39:03 +0200
8cb2b5e216
Updated documentation to reflect the sudden disappearance of mp_mul_si()
czurnieden
2018-05-22 01:03:37 +0200
08cee4325d
Moved mp_mul_si() into bn_mp_prime_strong_lucas_selfridge.c as a local function
czurnieden
2018-05-21 22:54:55 +0200
934dd31738
changes and bigfixes, see pull-request #113 at https://github.com/libtom/libtommath/pull/113 for details
czurnieden
2018-05-21 22:17:48 +0200
38e8f93bdb
Handle edge cases with MP_8BIT and use correct upper limit for the random witnesses
czurnieden
2018-05-14 03:46:24 +0200
ba786e6b39
Call mp_kronecker from mp_jacobi to save some bytes while keeping the API
czurnieden
2018-05-11 00:50:52 +0200
9b448bdc08
exchanged direct call to Miller-Rabin in mp_prime_next_prime with mp_prime_is_prime
czurnieden
2018-05-07 23:11:04 +0200
06c8f3ec4e
replaced mp_set_int with mp_set_long, just in case
czurnieden
2018-05-07 02:37:08 +0200
6ee0829d62
bugfix in bn_mp_mul_si. Ouch! strong Lucas_selfridge test switched back on
czurnieden
2018-05-05 15:07:22 +0200
63dc065dc8
Adjusted API compliacnce for MP_8BIT in mp_prime_is_prime
czurnieden
2018-05-05 03:38:23 +0200
a2e15e2d10
Added tests to demo.c, switched off Lucas-Selfridge because it failed a test, and changed MP_8BIT handling in mp_prime_is_prime
czurnieden
2018-05-05 03:20:39 +0200
01dde64e05
In case of a timeout echo last line in logfile of last test before that logfile gets removed
czurnieden
2018-05-04 21:32:46 +0200
fd876e4a7f
bugfix in mp_prime_is_prime for small input
czurnieden
2018-05-04 17:58:56 +0200
fdaad99b1b
make it compile with MP_8BIT
czurnieden
2018-05-04 15:15:13 +0200
44ccca75be
the lost files from the last commit
czurnieden
2018-05-04 00:01:45 +0200
a218ddce9b
Added Fips 186.4 compliance, an additional strong Lucas-Selfridge (for BPSW) and a Frobenius (Paul UNderwood) test, both optional. With documentation.
czurnieden
2018-05-03 23:45:02 +0200
f17d90b96d
Merge pull request #136 from czurnieden/docsupdate
Steffen Jaeckel
2018-12-25 13:50:59 +0100
48c95f2afd
repaired bn.tex
czurnieden
2018-12-12 00:51:10 +0100
9505280693
added most of the missing doumentation to doc/bn.tex
czurnieden
2018-12-09 23:11:38 +0100
9ff526fa22
Merge pull request #133 from libtom/pr/msvc-fixes
karel-m
2018-12-08 17:42:27 +0100
b28608fc93
make libtommath_VS2008 better upgradable to the newer visual studio
Karel Miko
2018-12-08 11:56:08 +0100
9bac5dd954
another msvc warnings: 32-bit shift implicitly converted to 64 bits
Karel Miko
2018-12-03 12:13:27 +0100
6d56e11b1b
more visual studio related items in .gitignore
Karel Miko
2018-12-03 12:00:09 +0100
1221b5e12a
fix #131 - msvc warning: result of 32-bit shift implicitly converted to 64 bits
Karel Miko
2018-12-02 21:42:31 +0100
7b9082554f
Merge pull request #134 from libtom/fixup/123_124
Steffen Jaeckel
2018-12-08 10:29:49 +0100
7ce3d15995
commented additional preprocessor branch in bn_mp_set_double.c
czurnieden
2018-12-07 21:18:43 +0100
44e4986bfe
made preprocessor warning in bn_mp_set_double.c portable
czurnieden
2018-12-07 20:47:51 +0100
dc150614d9
renamed variables in demo/demo.c shadowning another one
czurnieden
2018-12-07 20:24:41 +0100
4de6ea9616
fixup updatemakes.sh
Steffen Jaeckel
2018-12-02 21:18:10 +0100
dd051f69fa
Merge pull request #130 from libtom/pr/helper-pl
Steffen Jaeckel
2018-12-02 21:13:09 +0100
aa12f353c7
properly use test_standalone
Karel Miko
2018-12-02 18:46:35 +0100
0dd096ebec
drop mess.sh (obsolete, from cvs-times)
Karel Miko
2018-12-02 18:39:21 +0100
4dc178ba72
drop obsolete libtommath.dsp
Karel Miko
2018-12-02 18:38:34 +0100
862234b968
genlist.sh and parsenames.pl are not needed anymore (replaced by helper.pl)
Karel Miko
2018-12-02 18:35:01 +0100
0329e828ae
drop broken (not working) makefile.cygwin_dll
Karel Miko
2018-12-02 18:28:59 +0100
8e4edf76d5
drop makefile.bcc+makefile.icc in favour of makefile.unix
Karel Miko
2018-12-02 18:03:07 +0100
4b85095405
fix cygwin build
Karel Miko
2018-12-02 17:56:10 +0100
fc4b7f8008
update makefile.msvc
Karel Miko
2018-12-02 15:11:10 +0100
2c07579f7d
add makefile.mingw
Karel Miko
2018-12-02 14:59:05 +0100
3c69b8851d
update .gitignore to the new MSVC build style
Karel Miko
2018-12-02 14:47:16 +0100
159e5b3c6b
update MSVC .sln file
Karel Miko
2018-12-02 14:42:41 +0100
be93943e52
drop visual studio 2005 support
Karel Miko
2018-12-02 14:32:48 +0100
934ee69bc0
update MSVC project file libtommath_VS2008.vcproj
Karel Miko
2018-12-02 14:32:08 +0100
c852d5abe6
replace updatemakes.sh+filter.pl with updatemakes.sh+helper.pl
Karel Miko
2018-12-02 14:27:53 +0100
a16f34f97e
re-sort OBJECTS in makefile*
Karel Miko
2018-12-02 13:58:50 +0100
a9cc9d119b
add makefile.unix
Karel Miko
2018-12-02 13:54:55 +0100
f4ed78dce7
replaces TABs with spaces
Karel Miko
2018-12-02 13:16:44 +0100
c9f1a0023f
remove trailing spaces
Karel Miko
2018-12-02 13:13:48 +0100
d7f124f563
avoid c++ comments
Karel Miko
2018-12-02 13:12:30 +0100
0493739d2b
add missing comments
Karel Miko
2018-12-02 13:10:09 +0100
0fb29ef1b2
Merge pull request #127 from mikhailnov/develop
Steffen Jaeckel
2018-12-01 15:47:31 +0100
adbadc70f4
Fix includes
Mikhail Novosyolov
2018-11-18 01:30:51 +0300
285b580995
Merge pull request #129 from fperrad/20181201_lint
Steffen Jaeckel
2018-12-01 15:26:35 +0100
4d6a3cdc93
handle the last value of res
Francois Perrad
2018-12-01 08:35:22 +0100
d7b7dfee53
explicit cast
Francois Perrad
2018-12-01 08:33:02 +0100
6d4026d582
Merge pull request #128 from fperrad/20181128_lint
Steffen Jaeckel
2018-11-28 12:16:20 +0100
f186e7bd83
bitwise operation on unsigned
Francois Perrad
2018-11-28 10:51:30 +0100
d1b52524f1
explicit operator precedence
Francois Perrad
2018-11-28 10:50:20 +0100
39a15fca7f
use NULL instead of 0
Francois Perrad
2018-11-28 10:48:59 +0100
70af503a6e
literal suffix
Francois Perrad
2018-11-28 10:48:04 +0100
e9b85f9372
rename parameter as in prototype
Francois Perrad
2018-11-28 10:46:12 +0100
034cd1f444
explicit comparison
Francois Perrad
2018-11-28 10:44:22 +0100
6f652de71e
use literal float
Francois Perrad
2018-11-28 10:42:11 +0100
17f382c549
change C++ comments to C style
Steffen Jaeckel
2018-11-26 12:32:05 +0100
fb884223e3
Merge pull request #123 from minad/additional-operations
Steffen Jaeckel
2018-11-26 12:26:15 +0100
81cdb9aca2
regenerate files
Daniel Mendler
2018-09-10 18:52:29 +0200
2ab527b7e0
add mp_get_double, mp_set_double
Daniel Mendler
2018-09-10 18:51:26 +0200
8b9f98baa1
auto-format
Steffen Jaeckel
2018-09-23 21:37:58 +0200
05dea227be
Merge pull request #125 from fperrad/20180923_lint
Steffen Jaeckel
2018-09-23 21:31:27 +0200
434dbcab27
refactor without bitwise operator
Francois Perrad
2018-09-23 10:16:25 +0200
482cf1e128
explicit condition
Francois Perrad
2018-09-23 10:26:47 +0200
519a1de8da
literal with suffix
Francois Perrad
2018-09-23 09:46:31 +0200
82cd2c7f37
use NULL instead of 0
Francois Perrad
2018-09-23 09:39:53 +0200
af3bc61ea2
Merge pull request #119 from libtom/pr/possible-fix-118
Steffen Jaeckel
2018-09-22 17:14:50 +0200
f1b9bbf593
bn_fast_mp_invmod fix related to #118
Karel Miko
2018-06-30 15:48:40 +0200
a829b87b00
add testcase of #118
Steffen Jaeckel
2018-09-22 16:36:56 +0200
cbe30703ef
Merge pull request #124 from minad/two-complement
Steffen Jaeckel
2018-09-22 16:21:50 +0200
109bfa57bf
regenerate files
Daniel Mendler
2018-09-10 18:49:10 +0200
eebbcf0644
add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor
Daniel Mendler
2018-09-10 18:48:58 +0200
bc685fd4a5
Merge pull request #108 from ararslan/aa/freebsd
Steffen Jaeckel
2018-06-10 23:34:19 +0200
33870d7be2
Make the build logic more robust for BSD systems
Alex Arslan
2018-04-12 16:19:40 -0700
c707ee22ad
Merge pull request #111 from fperrad/20180502_lint
Steffen Jaeckel
2018-06-10 18:20:23 +0200
bd4167e883
const mp_s_rmap
Francois Perrad
2018-05-03 03:44:47 +0200
f86aecf356
Merge pull request #116 from libtom/pr/better-MP_64BIT
karel-m
2018-06-04 07:02:53 +0200
92e8719b80
improved detection of MP_64BIT
Karel Miko
2018-05-28 22:02:13 +0200
9f7e1a3cb2
Merge pull request #114 from orbea/libtool
Steffen Jaeckel
2018-05-20 14:21:15 +0200
0a8a162669
makefile.shared: Respect LIBTOOL.
orbea
2018-05-19 07:11:49 -0700
06965eab71
Merge pull request #110 from czurnieden/develop
Steffen Jaeckel
2018-05-02 23:32:40 +0200
22550d41ad
Do not use tommath.h from the system for building
czurnieden
2018-05-02 22:01:09 +0200
9034e712b8
Do not use installed headers for building
czurnieden
2018-05-02 21:43:17 +0200
71c5c8ac4b
Merge pull request #105 from libtom/fix/103
Steffen Jaeckel
2018-05-01 20:57:43 +0200
ef6d85a1a6
don't use rand() in mp_rand()
Steffen Jaeckel
2018-04-14 14:33:36 +0200
baf3d5ee3c
Merge pull request #107 from libtom/improve/release
Steffen Jaeckel
2018-04-23 22:31:38 +0200
89f2bfea83
improve build
Steffen Jaeckel
2018-04-11 23:33:39 +0200
3994dc8610
auto-format bn_mp_radix_smap.c
Steffen Jaeckel
2018-04-11 23:25:38 +0200
7781472696
generate pre_gen/mpi.c on zipup
Steffen Jaeckel
2018-04-11 23:20:46 +0200
8028ebc268
remove pre_gen/mpi.c from repo
Steffen Jaeckel
2018-04-11 23:12:13 +0200
337d05b7fa
update README.md
Steffen Jaeckel
2017-12-06 23:46:42 +0100
02d6192d5a
Merge pull request #106 from samcv/solaris-fix
Steffen Jaeckel
2018-04-11 23:04:55 +0200
42970eb427
Fix build on Solaris by using LBL_ERR instead of ERR
Samantha McVey
2018-04-11 13:46:35 -0700
651715b033
Merge pull request #101 from libtom/cleanup
Steffen Jaeckel
2018-03-26 22:04:07 +0200
0bc755139c
add e2k/lcc support
Michael Shigorin
2018-02-26 09:32:12 +0100
ee241c95e6
fix makefile.msvc
Steffen Jaeckel
2018-02-02 13:43:13 +0100
1a00b42c47
add fixme-check to zipup make-target
Steffen Jaeckel
2018-02-02 12:08:58 +0100
f51249b6aa
clean-up file headers
Steffen Jaeckel
2018-02-02 12:07:21 +0100
f9536dcdc2
update results when running the timing demo
Steffen Jaeckel
2018-02-02 10:55:39 +0100
bf61c0be58
fix timing & logs/*.png generation
Steffen Jaeckel
2018-02-02 10:54:54 +0100
82376cb19b
format output of timing demo
Steffen Jaeckel
2018-02-02 10:23:17 +0100
c69c3907c3
rename timing demo
Steffen Jaeckel
2018-02-02 10:09:08 +0100
db1a8b1919
Merge pull request #102 from fperrad/20180202_lint
Steffen Jaeckel
2018-02-27 23:27:45 +0100
802d8294db
fix type & cast
Francois Perrad
2018-02-05 20:22:17 +0100
9960fe3fe8
literal suffix
Francois Perrad
2018-02-13 19:04:25 +0100
e3598dc8b2
explicit condition
Francois Perrad
2018-02-02 17:44:40 +0100
d051d6ba58
remove unused code
Francois Perrad
2018-02-02 13:38:56 +0100
7c671e10d7
remove unreachable code
Francois Perrad
2018-02-02 13:14:05 +0100
0e67c5cd51
Merge pull request #100 from fperrad/20180202_indent
Steffen Jaeckel
2018-02-02 14:21:29 +0100
2e04831e29
fix indentation
Francois Perrad
2018-02-02 11:55:01 +0100
9f41e565bf
Merge pull request #97 from fperrad/20171210_lint
Steffen Jaeckel
2018-02-02 09:44:07 +0100
44d14a398d
check fopen
Francois Perrad
2017-12-10 10:12:09 +0100
0dbea3b69f
explicit precedence operator with parenthesis
Francois Perrad
2017-12-10 10:19:11 +0100
f5876db051
fix format
Francois Perrad
2017-12-10 09:45:29 +0100
31aac2cea7
const variable
Francois Perrad
2017-12-09 21:08:32 +0100
987911bd61
const parameter
Francois Perrad
2017-12-09 21:08:54 +0100
d74f3d741a
static variable & function
Francois Perrad
2018-02-01 22:28:43 +0100
8a8659f283
remove useless variable
Francois Perrad
2017-12-09 21:08:08 +0100
80bb9e7b52
add missing fclose
Francois Perrad
2017-12-10 09:35:50 +0100
c60eeb0bed
add missing include
Francois Perrad
2017-12-09 20:05:39 +0100
a82d02ad25
remove useless include
Francois Perrad
2017-12-09 20:05:20 +0100
57c769c8ff
Merge branch 'fix/doc' into develop
Steffen Jaeckel
2017-12-21 18:20:36 +0100
2bf7d3a432
add function name to index
Steffen Jaeckel
2017-12-18 23:43:26 +0100
a768850525
improve generated output
Steffen Jaeckel
2017-12-18 23:37:01 +0100
f3fa95e402
Merge pull request #96 from fperrad/20171208_perlcritic
Steffen Jaeckel
2017-12-18 15:37:05 +0100
eb0a4b1f93
run perlcritic against booker.pl
Francois Perrad
2017-12-08 06:49:00 +0100
99057f6759
Merge pull request #93 from fperrad/20171017_format
Steffen Jaeckel
2017-12-06 21:46:11 +0100
2f35c79c00
refactor with FGETS
Francois Perrad
2017-10-18 11:39:14 +0200
08741a141c
run astyle
Francois Perrad
2017-10-18 10:44:06 +0200
32e710ae07
remove trailing spaces
Francois Perrad
2017-10-17 20:51:19 +0200
4f6420bc02
Merge pull request #95 from libtom/improve/travis
Steffen Jaeckel
2017-10-19 13:56:19 +0200
aaa52a3d71
also run test vs mtest with real random data
Steffen Jaeckel
2017-10-19 12:01:58 +0200
e156e7efcf
fix clang build for MP_{8,16}BIT
Steffen Jaeckel
2017-10-19 11:41:10 +0200
d5328bfade
create a travis build matrix
Steffen Jaeckel
2017-10-19 11:40:16 +0200
1ca973b6b8
Merge pull request #94 from fperrad/20171018_cast
Steffen Jaeckel
2017-10-19 09:46:36 +0200
c098e37e2f
restore previous cast
Francois Perrad
2017-10-19 05:51:17 +0200
faea5da30a
Merge pull request #43 from fperrad/20151127_lint
Steffen Jaeckel
2017-10-15 22:35:08 +0200
3f8e0b62b2
add name of parameters
Francois Perrad
2016-01-06 20:30:23 +0100
43c26b3a3d
use same parameter name between prototype declaration and definition
Francois Perrad
2015-12-09 19:16:30 +0100
6b191732da
remove extra whitespaces
Francois Perrad
2017-10-04 18:57:25 +0200
dabf9217a1
add parentheses for explicit operator precedence
Francois Perrad
2017-10-15 16:27:41 +0200
f1d6c88759
refactor cast
Francois Perrad
2017-10-15 19:58:35 +0200
bdbed00079
literal suffix
Francois Perrad
2017-10-15 19:57:12 +0200
40c763a18d
literal suffix in call function
Francois Perrad
2017-10-15 16:11:09 +0200
d0cb8ba954
Merge branch 'better/read_radix' into develop
Steffen Jaeckel
2017-10-15 12:03:10 +0200
0a7ecc3bd4
add the inverse of mp_s_rmap
Steffen Jaeckel
2017-10-09 14:34:20 +0200
6a268ef463
Merge branch 'fix/54' into develop
Steffen Jaeckel
2017-10-15 12:01:52 +0200
1bc0088330
use correct printf format specifier in timing.c
Steffen Jaeckel
2017-10-14 20:27:05 +0200
efcac86cac
Merge branch 'fix/67' into develop
Steffen Jaeckel
2017-10-15 12:01:15 +0200
8dbfaff04e
Handle corner-cases of invmod()
Steffen Jaeckel
2017-10-14 20:21:48 +0200
6fa127b707
add testcase for #67
Steffen Jaeckel
2017-10-09 14:56:38 +0200
5bb73c6f74
Merge branch 'fix/issues' into develop
Steffen Jaeckel
2017-10-15 12:00:26 +0200
356084ee31
improve mp_lshd
Steffen Jaeckel
2017-08-29 23:53:02 +0200
1d03522625
make sure fast_s_mp_mul_digs() doesn't BOF
Steffen Jaeckel
2017-08-29 16:53:31 +0200
a4d905a030
make sure fast_mp_montgomery_reduce() doesn't BOF
Steffen Jaeckel
2017-08-29 16:41:08 +0200
e9ce32a16d
improve README
Steffen Jaeckel
2017-10-14 18:50:04 +0200
7800276855
Merge pull request #91 from libtom/fix/microsoft_build
Steffen Jaeckel
2017-10-10 14:30:51 +0200
a40e32b21c
suppress some warnings when compiling with mingw-gcc
Steffen Jaeckel
2017-10-10 14:30:01 +0200
d1fc4a71d3
LLP64 indicates a windows environment
Steffen Jaeckel
2017-10-03 15:18:33 +0200
1346d9830a
there's no __int128 on MSVC, fall back to 32bit MPI's
Steffen Jaeckel
2017-10-03 09:19:50 +0200
fd81ac754a
Merge pull request #88 from libtom/const_api
Steffen Jaeckel
2017-10-02 17:13:56 +0200
d293ab6604
more constify
Francois Perrad
2017-09-30 22:57:00 +0200
f674018a41
constify remaining functions
nijtmans
2017-09-20 16:59:43 +0200
eca200d7cf
fix mp_cmp() and mp_cmp_mag() API
Steffen Jaeckel
2017-09-20 15:02:52 +0200
41de585524
Add 'const' keyword in various places. Adopted from Tcl
nijtmans
2017-09-19 13:35:15 +0200
5aec0c4094
add astyle
make target
Steffen Jaeckel
2017-09-15 12:47:06 +0200
fedc15b625
Merge pull request #85 from fperrad/20170830_format
Steffen Jaeckel
2017-09-15 12:46:38 +0200
2344bcea3a
format with astyle (step 6)
Francois Perrad
2017-08-30 20:23:46 +0200
e2cd147a46
generate tommath_class.h with astyle format
Francois Perrad
2015-12-10 21:38:02 +0100
f89cda034b
format with astyle (step 5)
Francois Perrad
2017-08-30 19:15:27 +0200
a20d9b102c
format with astyle (step 4)
Francois Perrad
2017-08-30 19:13:53 +0200
4439fae168
format with astyle (step 3)
Francois Perrad
2017-08-30 19:11:35 +0200
9eed07f09b
format with astyle (step 2)
Francois Perrad
2017-08-29 22:23:48 +0200
45771cc91c
format with astyle (step 1)
Francois Perrad
2017-08-30 19:07:12 +0200
71266b3eb9
format block
Francois Perrad
2017-08-30 19:19:29 +0200
ef6c71f1d2
return type of function on the same line
Francois Perrad
2015-11-29 14:58:46 +0100
cdbb9ca925
fix format
Francois Perrad
2017-08-30 19:03:58 +0200
82a2d385db
refactor indentation of preprocessor directives
Francois Perrad
2017-08-30 05:56:38 +0200
aab1b3d99f
split label & statement
Francois Perrad
2017-08-28 22:34:46 +0200
d263dc727c
add space after keyword
Francois Perrad
2017-08-29 18:50:19 +0200
d6a9a58f64
remove space after function name and cast
Francois Perrad
2017-08-30 20:08:58 +0200
378be117a3
add missing space after comma
Francois Perrad
2017-08-28 21:40:10 +0200
0135749e44
convert tab indentation
Francois Perrad
2017-08-30 05:52:16 +0200
0ff04a4f6f
remove hard tab
Francois Perrad
2015-11-26 18:43:42 +0100
15681f9a12
trim trailing spaces
Francois Perrad
2017-08-30 05:51:11 +0200
a0a86c696a
Merge branch 'tcl-fixes' into develop
Steffen Jaeckel
2017-08-29 23:48:49 +0200
b2971381e5
don't be that strict regarding illegal characters in mp_read_radix()
Steffen Jaeckel
2017-08-29 12:02:18 +0200
ba95ef76e0
ensure string is null-terminated
Kevin B Kenny
2005-05-10 17:20:39 +0000
71e3024f30
fix mp_iseven
Kevin B Kenny
2005-05-10 17:20:39 +0000
f5dfd8e75e
fix date in changes.txt
Steffen Jaeckel
2017-08-29 22:50:45 +0200
89f95214dc
Merge tag 'v1.0.1' into develop
Steffen Jaeckel
2017-08-29 22:27:52 +0200
5953f62e42
Merge branch 'release/1.0.1'
Steffen Jaeckel
2017-08-29 22:27:36 +0200
29007333fd
bump version
Steffen Jaeckel
2017-08-29 22:27:20 +0200
95fd0f8d66
handle non-existing 'timeout' on MacOS
Steffen Jaeckel
2017-08-29 17:12:36 +0200
465933ebf8
disable some compiler warnings
Steffen Jaeckel
2017-08-29 16:57:48 +0200
e8c27ba7df
bump version
Steffen Jaeckel
2017-08-29 10:48:46 +0200
ac4f48eeec
fix install make-target
Steffen Jaeckel
2017-08-29 10:40:05 +0200
3e2ebd3b47
auto-determine correct libtool binary for MacOS
Steffen Jaeckel
2017-08-29 10:29:58 +0200
c107b6593a
also build release-branch in travis
Steffen Jaeckel
2017-08-28 17:06:32 +0200
36ef587709
bump version
Steffen Jaeckel
2017-08-28 17:02:30 +0200
49e5432060
update tommath_class.h
Steffen Jaeckel
2017-08-28 16:59:11 +0200
233df836b7
update callgraph
Steffen Jaeckel
2017-08-28 16:59:03 +0200
c6e34cffd0
update pre_gen/mpi.c
Steffen Jaeckel
2017-08-28 16:58:46 +0200
957f161890
update makefiles
Steffen Jaeckel
2017-08-28 16:58:26 +0200
afedcd8999
fix docs creation
Steffen Jaeckel
2017-08-28 16:28:59 +0200
6f21294212
replace SVN tags
Steffen Jaeckel
2017-08-28 16:27:26 +0200
b4bd9788de
update changelog
Steffen Jaeckel
2017-08-28 16:08:39 +0200
a29e9fa7c4
add uninstall make-target
Steffen Jaeckel
2017-08-28 15:56:30 +0200
237b49ad4a
correct usage of DESTDIR, PREFIX, etc. for the install make-target
Steffen Jaeckel
2017-08-28 15:56:12 +0200
504b3cbde7
add primality figure to doc
Steffen Jaeckel
2017-08-25 13:58:58 +0200
14c79a2c18
update coveralls make-target
Steffen Jaeckel
2017-08-25 13:01:23 +0200
1a2f3bdb7a
update clean make-target
Steffen Jaeckel
2017-08-25 13:00:50 +0200
5ade6248ff
always use the same order of objects to create the library
Steffen Jaeckel
2017-08-25 13:00:34 +0200
8a6a892c42
fix manual creation
Steffen Jaeckel
2017-08-25 13:00:05 +0200
7cc18ffd11
rename/move some files; fix some stuff regarding this
Steffen Jaeckel
2017-08-25 12:59:22 +0200
edb72ca04b
Merge pull request #79 from mkj/init_size
Steffen Jaeckel
2017-06-25 16:32:50 +0200
f515ef955a
initialise with appropriate size
Matt Johnston
2017-06-24 22:48:10 +0800
ec6bebf157
update travis notifications
Steffen Jaeckel
2017-06-06 23:31:30 +0200
72d116a5b6
Merge branch 'pr/78' into develop
Steffen Jaeckel
2017-06-06 21:35:08 +0200
96624b3719
fixup
Steffen Jaeckel
2017-06-06 21:34:53 +0200
5b8e73a9fc
LBL_ERR not _ERR (patch from Ben Gardner)
Matt Johnston
2017-06-02 23:07:04 +0800
b7bf7dada1
Merge pull request #77 from serval2412/develop
Steffen Jaeckel
2017-06-06 21:32:01 +0200
33d74e223b
cppcheck: va_list 'args' used before va_start() was called
Julien Nabet
2017-05-14 13:58:32 +0200
141a98931e
fixup install and clean
Steffen Jaeckel
2017-05-10 11:37:48 +0200
f40568ba1e
add pkg-config file for shared library
Steffen Jaeckel
2017-05-09 14:25:11 +0200
d2e8179c21
install per default to /usr/local
Steffen Jaeckel
2017-05-09 14:24:41 +0200
ddddcf2e71
move all documentation to doc/
Steffen Jaeckel
2017-05-09 14:01:11 +0200
27115d4b4c
use 64-bit detection code from libtomcrypt
Steffen Jaeckel
2017-05-09 14:00:26 +0200
4617de4f7f
let's have the same amount of invmod tests than the other tests
Steffen Jaeckel
2017-04-20 13:03:21 +0200
a8b81498d0
Fixup 676e7ea488
Steffen Jaeckel
2017-04-11 16:21:36 +0200
e8e8fc4ccb
improve testme.sh
Steffen Jaeckel
2017-04-11 11:43:45 +0200
ff7603a309
run tests for all MP configurations
Steffen Jaeckel
2017-04-10 16:45:37 +0200
712b359764
fix mp_rand() for MP_{8,16}BIT
Steffen Jaeckel
2017-04-10 16:34:03 +0200
db66145774
improve testme.sh
Steffen Jaeckel
2017-04-10 16:30:40 +0200
3ab918e7ea
update tommath_class.h
Steffen Jaeckel
2017-04-09 01:00:00 +0200
0cc303863f
update callgraph
Steffen Jaeckel
2017-04-09 00:59:55 +0200
1f01ae5435
Merge branch 'fp/perlcritic' into develop
Steffen Jaeckel
2017-04-09 00:56:21 +0200
38fe9eec7c
sanitize some Perl scripts
Francois Perrad
2015-12-10 07:30:09 +0100
2bc7bdbb3f
Merge branch 'pr/55' into develop
Steffen Jaeckel
2017-04-09 00:51:00 +0200
27e6485995
Avoid temporary
Matt Johnston
2016-03-17 22:37:56 +0800
c17c47715a
allow external define of MP_GEN_RANDOM
Steffen Jaeckel
2017-04-09 00:44:01 +0200
393a527364
fix fast_mp_invmod() not being able to handle case where b=1
Karel Miko
2017-04-09 00:36:50 +0200
bc11ea7585
don't include static function in callgraph
Steffen Jaeckel
2017-04-09 00:32:57 +0200
2dad1298ad
only define MIN/MAX if they are not defined yet
Steffen Jaeckel
2017-04-01 00:35:03 +0200
a7d5af27a3
fix testme.sh and compilation
Steffen Jaeckel
2017-04-01 00:34:19 +0200
b8527e92f8
Merge branch 'fix/56' into develop
Steffen Jaeckel
2016-10-10 00:48:15 +0200
d5b0f1e993
loop&shift until enough random data has been read
Steffen Jaeckel
2016-04-10 13:55:42 +0200
7cf5c050e2
make sure the entire mp_digit is filled with random data
Steffen Jaeckel
2016-04-10 01:01:29 +0200
2e1446f936
Add testcase for mp_add_d('0',...)
Steffen Jaeckel
2016-06-02 09:52:42 +0200
62442d4f33
Fix mp_add_d()
Dmitry Kovalenko
2016-06-02 09:40:55 +0200
0b9e9b5b08
improve trivial tests
Steffen Jaeckel
2016-06-02 09:40:05 +0200
1c3aa803c4
Improve readability of mp_exptmod_fast()
Dmitry Kovalenko
2016-05-16 12:41:11 +0200
5f8fb25f64
fix memory leak in mp_init_copy()
Dmitry Kovalenko
2016-05-16 00:27:13 +0200
447f7b8148
mtest takes a while... don't let travis kill it
Steffen Jaeckel
2016-04-22 00:53:29 +0200
0bccf0eb75
show master build state on main pagein readme
Steffen Jaeckel
2016-04-24 13:49:58 +0200
9048c9b6d7
also build master on travis
Steffen Jaeckel
2016-04-21 23:09:29 +0200
f551dbc8ac
Remove all traces of ulong64 as per comment by Karel M
Tom St Denis
2016-02-03 13:07:27 -0500
5cba7dd8fe
consistent version numbers
Tom St Denis
2016-02-03 13:00:45 -0500
09bcf7da97
convert line endings for the zip archive
Steffen Jaeckel
2016-02-03 18:12:04 +0100
adf125473f
add gpg signatures back to zipup target
Steffen Jaeckel
2016-02-03 18:07:51 +0100
37a92dd079
Simplify versioning to drop patch level
Tom St Denis
2016-02-02 11:54:57 -0500
afb4224186
Re-added ability to make zip files
Tom St Denis
2016-01-31 14:57:39 -0500
6aa1cb9de5
Remove PDF from worktree since it's produced in tarball stage
Tom St Denis
2016-01-31 14:54:09 -0500
432e3bd8eb
Bump to v1.0.0
Tom St Denis
2016-01-31 13:52:03 -0500
dd82833cde
Disable optimizations for mtest due to bug(s) in mpi.c causing it to fail checked against tfm/external
Tom St Denis
2016-01-31 12:54:06 -0500
d07425e670
'make coverage' create the same results for regular and shared makefile
Steffen Jaeckel
2016-01-13 23:23:19 +0100
3ae9d0fbd2
demo: verify that negative number handling in mp_jacobi works
Steffen Jaeckel
2016-01-12 13:49:18 +0100
e8d2609f81
mp_jacobi: error-out until #44 is fixed
Steffen Jaeckel
2016-01-12 13:48:37 +0100
d231f1a1a7
update gitignore
Steffen Jaeckel
2016-01-09 10:22:11 +0100
f9a6e0bf2f
Move coveralls make target to makefile
Steffen Jaeckel
2015-12-25 19:47:49 +0100
da9fa5bd04
Exclude timing tests on various architectures
Dennis Fateyev
2015-12-25 19:43:29 +0100
039a707e66
Fix some tommath.src errors
Steffen Jaeckel
2015-12-25 19:36:44 +0100
8fde8fa41b
Improve package version assignment
Dennis Fateyev
2015-12-25 19:23:46 +0100
087d2b4cf1
refactor & clean-up makefiles
Steffen Jaeckel
2015-12-12 20:19:15 +0100
68a360ab7f
timing: create reproducable results
Steffen Jaeckel
2015-12-12 18:15:04 +0100
ed8e8fdb0a
Small fixes
Dennis Fateyev
2015-12-12 18:12:42 +0100
91e18b2974
add notification for #libtom irc
Steffen Jaeckel
2015-12-05 13:58:21 +0100
2792ab8984
update travis.yml and adjust README
Steffen Jaeckel
2015-12-05 13:47:22 +0100
7d9a225a69
add Travis CI
Francois Perrad
2015-11-18 20:24:58 +0100
c40eed57d9
add --all to testme.sh
Steffen Jaeckel
2015-12-05 13:09:43 +0100
2e3ed19c3d
improve testme.sh
Steffen Jaeckel
2015-12-05 13:01:19 +0100
543ffc7a03
improve demo.c a bit
Steffen Jaeckel
2015-12-03 00:10:06 +0100
b505db8f48
Merge branch 'register' into develop
Steffen Jaeckel
2015-12-02 22:53:12 +0100
8714ee55cc
remove register
Francois Perrad
2015-11-25 21:59:46 +0100
edef6ca191
Merge branch '20151112_lint' into develop
Steffen Jaeckel
2015-12-02 22:51:48 +0100
a0b8ce68f7
use unsigned literal
Francois Perrad
2015-11-13 17:47:30 +0100
81d5f0e39a
add parentheses for explicit operator association
Francois Perrad
2015-10-17 18:28:05 +0200
99c84acc4c
add parentheses for explicit operator precedence
Francois Perrad
2015-11-13 10:28:23 +0100
10cfb95508
use same parameter name between prototype declaration and function definition
Francois Perrad
2015-11-12 22:43:38 +0100
c0b14e3df4
handle the return value of function
Francois Perrad
2015-11-13 17:46:32 +0100
babf35c64a
explicit condition
Francois Perrad
2015-11-12 21:54:52 +0100
1e7ca501fd
fixup demo.c
Steffen Jaeckel
2015-11-29 23:14:50 +0100
6d4467daba
Merge branch 'fix/jacobi' into develop
Steffen Jaeckel
2015-11-29 23:12:43 +0100
7176a8777a
Add tests for mp_jacobi()
Steffen Jaeckel
2015-11-29 22:43:52 +0100
34e6b723ff
Implement handling of special case (0 | 1)
Steffen Jaeckel
2015-11-25 21:24:21 +0100
ce70362ace
Rename parameter p to n
Steffen Jaeckel
2015-11-25 21:24:13 +0100
6c536e4bd0
Speed up testing and temporarily disable clang testing
Tom St Denis
2015-11-25 09:41:58 -0500
10ba45b717
Merge branch 'fperrad-private' into develop
Tom St Denis
2015-11-25 09:35:25 -0500
e6cfefc1ac
more private stuff
Francois Perrad
2015-11-19 21:53:32 +0100
f771e317ff
move standard includes
Francois Perrad
2015-11-19 21:34:58 +0100
2e28a7db97
Removed out of date contact info from textbook.
Tom St Denis
2015-11-13 15:01:19 -0500
53f1b93595
Updated zipup to support git and simplified it somewhat.
Tom St Denis
2015-11-13 14:56:05 -0500
b98147c972
update install steps in makefiles
Steffen Jaeckel
2015-11-12 02:02:18 +0100
4e3f1344a5
provide tommath_private.h
Steffen Jaeckel
2015-11-12 01:49:07 +0100
5a15247b6a
improve testme.sh
Steffen Jaeckel
2015-11-12 01:34:28 +0100
489bf69f65
Merge branch '20151025_lint' into develop
Steffen Jaeckel
2015-11-12 01:33:57 +0100
bd39da2397
use correct value to compare to in mp_isneg() macro
Steffen Jaeckel
2015-11-12 01:33:25 +0100
00ff6da1cc
trim trailing spaces
Steffen Jaeckel
2015-11-12 01:18:15 +0100
1c1baaa755
Don't cast the potential problems away, handle them appropriately
Steffen Jaeckel
2015-11-12 01:18:00 +0100
5bed36d997
explicit ignoring the return value of function
Francois Perrad
2015-10-11 10:52:10 +0200
b9abe0a316
refactor with macros MP_NO/MP_YES
Francois Perrad
2015-10-25 16:34:43 +0100
0522eef288
refactor cast in ternary op
Francois Perrad
2015-10-18 17:04:43 +0200
64177349fc
avoid side effects on right hand of logical operator
Francois Perrad
2015-10-25 16:25:20 +0100
38f90d1b17
explicit condition (part C)
Francois Perrad
2015-10-25 16:49:26 +0100
e25f1701e4
explicit condition (part H)
Francois Perrad
2015-10-25 16:21:17 +0100
9f7811624a
add parentheses for explicit operator association
Francois Perrad
2015-10-17 18:27:56 +0200
84db6f9dbc
add parentheses for explicit operator precedence
Francois Perrad
2015-10-17 18:12:48 +0200
b6636ee46a
uppercase L avoid confusion between lowercase l and digit 1
Francois Perrad
2015-10-11 19:02:01 +0200
09b8fd9c98
explicit block
Francois Perrad
2015-10-11 19:01:04 +0200
4430c6bc5f
array declaration with its size
Francois Perrad
2015-10-11 15:54:43 +0200
759ed1f050
union initialization is not supported by ISO C
Francois Perrad
2015-10-11 12:11:00 +0200
2404bd3c13
suspicious use of ;
Francois Perrad
2015-10-11 12:09:29 +0200
2d40b4deb1
fix indentation (part 2)
Francois Perrad
2015-10-25 16:09:43 +0100
614da3deec
fix indentation (part 1)
Francois Perrad
2015-10-25 16:09:26 +0100
6d43d42f17
update make zipup, add make pre_gen
Steffen Jaeckel
2015-11-07 16:23:27 +0100
7ab90a48ee
use stdint.h for mp_digit and mp_word typedefs
Steffen Jaeckel
2015-06-07 14:19:06 +0200
25480d57b7
demo: test one big montgomery reduction
Steffen Jaeckel
2015-04-26 16:58:36 +0200
0d816a1a2e
makefile: include timing in coverage creation
Steffen Jaeckel
2015-04-26 16:57:42 +0200
f82599933b
timing: add compile-time option to disable logging
Steffen Jaeckel
2015-04-26 16:57:07 +0200
b6d76643db
timing: some changes
Steffen Jaeckel
2015-04-26 16:56:36 +0200
c4501e1eb5
work a bit on code coverage
Steffen Jaeckel
2015-04-26 15:27:52 +0200
d32e7a3dd0
makefile: improve a bit more
Steffen Jaeckel
2015-04-26 15:22:49 +0200
91df2129ec
add minimal mp_sqrtmod_prime() tests to demo.c
Steffen Jaeckel
2015-04-26 15:32:34 +0200
d0f73e7c59
update tommath.src
Steffen Jaeckel
2015-06-07 14:57:57 +0200
9a64eec831
add mp_sqrtmod_prime()
Steffen Jaeckel
2015-04-25 22:47:23 +0200
4a63ec534e
Merge branch 'feature/doc' into develop
Tom St Denis
2015-10-30 18:12:13 -0400
3d5afb420d
update changes
Steffen Jaeckel
2014-12-11 23:15:35 +0100
8432c4eda5
clarify documentation of mp_div_2d() and mp_mul_2d()
Steffen Jaeckel
2014-12-11 22:44:50 +0100
183350603c
update changes
Steffen Jaeckel
2014-12-10 19:08:54 +0100
14e843e02e
update documentation
Steffen Jaeckel
2014-12-10 19:08:42 +0100
fc95249186
update changes.txt
Steffen Jaeckel
2014-10-12 18:48:52 +0200
42a3c25175
trim trailing spaces
Steffen Jaeckel
2014-10-12 18:48:26 +0200
eca442b01d
add documentation of mp_expt_d_ex()
Steffen Jaeckel
2014-10-10 19:49:40 +0200
575d9bac4b
Add error check to mp_sqrtmod_prime()
Tom St Denis
2015-10-30 18:08:42 -0400
5b3178d83e
Merge branch 'feature/mp_sqrtmod_prime' into develop
Tom St Denis
2015-10-30 18:05:12 -0400
c31102bc0e
fix warning: expected "mp_digit *" but argument is of type "long unsigned int *"
Karel Miko
2015-04-18 19:32:09 +0200
1f8894790b
update makefiles etc.
Steffen Jaeckel
2015-04-18 11:03:22 +0200
1c85a28372
adding bn_mp_sqrtmod_prime.c
Karel Miko
2015-04-17 22:46:11 +0200
079b0f65a9
Getting ready for v0.43.0 release
Tom St Denis
2015-10-30 17:55:29 -0400
7916c4035b
Fix parenthesis in bn_mp_div.c to correctly return error code if init fails.
Tom St Denis
2015-10-30 17:49:09 -0400