demo


Log

Author Commit Date CI Message
Daniel Mendler e45f75fd 2019-04-13T08:46:57 deprecate DIGIT_BIT, use MP_DIGIT_BIT
Daniel Mendler e8f56cc4 2019-04-05T11:37:49 enable -Wconversion and -Wsign-conversion on travis * no changes to the library code * conversion issues in the demo testsuite fixed * add CONV_WARNINGS and enable the warnings only for clang-7 (for now) * disable Wsystem-headers if Wconversion is enabled, to avoid warnings from the system headers
Daniel Mendler fbfcb661 2019-04-12T14:56:29 apply rename
czurnieden 35311aea 2019-04-03T23:50:57 added function mp_ilogb
czurnieden 27ca25cb 2019-04-06T18:55:43 added multiplcation balancing for the Toom-Cook algorithms
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
czurnieden 984d3ff6 2019-04-01T03:41:26 changed seed to make nth-root usable
czurnieden 0ed98cf1 2019-04-04T12:55:39 removed tracing
czurnieden 769218cc 2019-04-03T18:59:09 additional functions mp_incr and mp_decr
Steffen Jaeckel cb1eb161 2019-04-04T07:58:07 run `make astyle` [skip ci]
Francois Perrad 03655127 2019-03-06T15:09:32 parameter with name in prototype
Francois Perrad 15a1adc2 2019-03-06T15:08:48 literal suffix
Daniel Mendler 00a1bcd6 2019-03-04T02:00:28 demo: better ndraw
Daniel Mendler 1fc7d20d 2019-03-04T01:56:06 opponent/test.c: move ndraw to main.c
Daniel Mendler 12b41bbe 2019-03-04T01:42:05 opponent.c: forgot missing printf("\n") from _cleanup. reason for test failures.
Daniel Mendler 03b319ca 2019-03-03T23:19:52 opponent.c: get rid of global variables and remove cleanup
Daniel Mendler 3f42b6a7 2019-03-03T23:24:15 test/opponent.c: add todo comments
Daniel Mendler 674fdddb 2019-03-03T23:16:09 remove duplicate T(mp_tc_div_2d)
Daniel Mendler cd1570bb 2019-03-04T01:02:22 split test suite
Steffen Jaeckel fcea5e3c 2019-01-22T08:59:30 Merge pull request #149 from czurnieden/develop Added overflow check in mp_prime_is_prime and some verbosity in demo.c (cherry picked from commit 55a7af3d62cbbdd174276c4ee8117b57777ce634)
Steffen Jaeckel 9c2863da 2019-01-17T12:52:26 re-use the same code pattern
Steffen Jaeckel 71b2d2ad 2019-01-17T12:42:58 print error-message instead of error-code
Steffen Jaeckel 5aada1b9 2019-01-17T10:54:21 preserve original prime and print it as well
czurnieden 390555f3 2019-01-16T22:45:01 Added overflow check in mp_prime_is_prime and some verbosity in demo.c
Steffen Jaeckel 648fbcef 2018-12-31T12:08:12 run make format
czurnieden 81396317 2018-12-30T22:35:03 reg. #143 added test to demo.c
Francois Perrad ab074176 2018-12-27T09:38:26 explicit condition
Francois Perrad f1f67626 2018-12-27T09:24:25 conditional definition of FGETS
Francois Perrad 2bde5bb5 2018-12-27T09:34:11 semicolon
Francois Perrad c63ce5bf 2018-12-27T09:21:12 fix indentation
Francois Perrad b6fa97c5 2018-12-27T09:19:57 explicit operator precedence
Francois Perrad ea44272d 2018-12-27T09:12:22 always use #if LTM_DEMO_TEST_VS_MTEST != 0
Francois Perrad efda3c0e 2018-12-27T09:10:09 declare cnt only when useful
Francois Perrad 4f902d9f 2018-12-27T09:02:31 remove useless assignment of cnt
Steffen Jaeckel 3ed52404 2018-12-25T15:15:30 `make astyle` + some manual adjustments
czurnieden 3ec93dab 2018-12-12T00:14:05 bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files
Steffen Jaeckel e6f353b4 2018-12-08T17:46:08 add mp_prime_is_prime to timing demo... ... it's disabled per default for now...
czurnieden a2e15e2d 2018-05-05T03:20:39 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 dc150614 2018-12-07T20:24:41 renamed variables in demo/demo.c shadowning another one
Karel Miko d7f124f5 2018-12-02T13:12:30 avoid c++ comments
Steffen Jaeckel 17f382c5 2018-11-26T12:32:05 change C++ comments to C style
Daniel Mendler 2ab527b7 2018-09-10T18:51:26 add mp_get_double, mp_set_double
Steffen Jaeckel a829b87b 2018-09-22T16:36:56 add testcase of #118
Daniel Mendler eebbcf06 2018-09-10T18:48:58 add mp_complement, mp_tc_div_2d, mp_tc_and, mp_tc_or, mp_tc_xor
Steffen Jaeckel bf61c0be 2018-02-02T10:54:54 fix timing & logs/*.png generation
Steffen Jaeckel 82376cb1 2018-02-02T10:23:17 format output of timing demo
Francois Perrad 802d8294 2018-02-05T20:22:17 fix type & cast
Francois Perrad 9960fe3f 2018-02-13T19:04:25 literal suffix
Francois Perrad e3598dc8 2018-02-02T17:44:40 explicit condition
Francois Perrad d051d6ba 2018-02-02T13:38:56 remove unused code
Francois Perrad 0dbea3b6 2017-12-10T10:19:11 explicit precedence operator with parenthesis
Francois Perrad f5876db0 2017-12-10T09:45:29 fix format
Francois Perrad 31aac2ce 2017-12-09T21:08:32 const variable
Francois Perrad 987911bd 2017-12-09T21:08:54 const parameter
Francois Perrad d74f3d74 2018-02-01T22:28:43 static variable & function
Francois Perrad 8a8659f2 2017-12-09T21:08:08 remove useless variable
Francois Perrad 2f35c79c 2017-10-18T11:39:14 refactor with FGETS
Francois Perrad 08741a14 2017-10-18T10:44:06 run astyle
Steffen Jaeckel 1bc00883 2017-10-14T20:27:05 use correct printf format specifier in timing.c This fixes #54
Steffen Jaeckel 6fa127b7 2017-10-09T14:56:38 add testcase for #67
Steffen Jaeckel 6f212942 2017-08-28T16:27:26 replace SVN tags
Steffen Jaeckel 2e1446f9 2016-06-02T09:52:42 Add testcase for mp_add_d('0',...) This closes #65
Steffen Jaeckel 0b9e9b5b 2016-06-02T09:40:05 improve trivial tests
Tom St Denis f551dbc8 2016-02-03T13:07:27 Remove all traces of ulong64 as per comment by Karel M
Steffen Jaeckel 3ae9d0fb 2016-01-12T13:49:18 demo: verify that negative number handling in mp_jacobi works
Steffen Jaeckel 68a360ab 2015-12-12T18:15:04 timing: create reproducable results
Steffen Jaeckel 543ffc7a 2015-12-03T00:10:06 improve demo.c a bit - fix mp_get_long_long() tests - more verbose output of ndraw() - use all output of rand() - move montgomery to the end of the tests, it's slow
Steffen Jaeckel 1e7ca501 2015-11-29T23:14:50 fixup demo.c
Steffen Jaeckel 7176a877 2015-11-29T22:43:52 Add tests for mp_jacobi()
Francois Perrad f771e317 2015-11-19T21:34:58 move standard includes
Steffen Jaeckel 25480d57 2015-04-26T16:58:36 demo: test one big montgomery reduction ...only for coverage reasons...
Steffen Jaeckel f8259993 2015-04-26T16:57:07 timing: add compile-time option to disable logging
Steffen Jaeckel b6d76643 2015-04-26T16:56:36 timing: some changes - also use toom-cook for mul and sqr - don't test too huge numbers with invmod (takes too long) - remove the goto and labels
Steffen Jaeckel c4501e1e 2015-04-26T15:27:52 work a bit on code coverage
Steffen Jaeckel 91df2129 2015-04-26T15:32:34 add minimal mp_sqrtmod_prime() tests to demo.c
Steffen Jaeckel cb085f06 2015-04-18T14:58:15 demo: read from urandom if someone requests real random data
Steffen Jaeckel 35488c9e 2014-12-14T12:35:46 fix errors in demo/demo.c found by clang CC='clang' CFLAGS='-fsanitize=address,undefined -O3 -g -fPIC -I./'
Steffen Jaeckel 9d83fce7 2014-12-10T18:59:42 add tests
Steffen Jaeckel 5d3ee880 2014-12-10T18:27:03 less noise plz
Steffen Jaeckel 158e3266 2014-12-10T17:20:15 add tests for mp_set_long() and mp_get_long()
Steffen Jaeckel 9ca37ca0 2014-10-15T16:22:35 mtest vs. test: add possibility to exit testing 'mtest' can now optionally only run a given amount of loops. the first parameter <n> when invoking 'mtest' is considered to determine the amount when <n> is in the range -63..-1: mtest will run 2^-n runs when <n> is > 0: mtest will run n runs else: mtest will exit immediately
Steffen Jaeckel 5c5d600a 2014-10-14T14:33:36 demo: calm compiler warnings & improve a bit
Steffen Jaeckel 52bb535f 2014-02-14T12:53:48 demo: test both mp_n_root() implementations
Steffen Jaeckel 759a926c 2014-09-28T13:12:10 minor changes & clean-up & small fixes gitignore: add libtool output booker.pl: fix source code parsing and trim trailing spaces demo/demo: fix compiler warning, add informational output demo/timing & etc/tune: fix TIMFUNC() makefile: minor changes makefile.shared: increase version, add missing mp_balance_mul tommath: make sure that DIGIT_BIT is correct
Steffen Jaeckel 6fc38508 2014-02-14T12:59:04 demo: clean-up on exit
Steffen Jaeckel f47c0f20 2014-02-14T12:58:49 demo: allow mp_reduce_2k_l tests to be switched off
Steffen Jaeckel ca150960 2014-02-14T12:57:52 demo: fix compiler warnings, return values & output format
Steffen Jaeckel e0987507 2014-02-14T11:48:34 demo: "improve" a bit allow reproducible testcases add easy switch to compile either a version for "test vs. mtest" or to run internal tests
Steffen Jaeckel ddd788a1 2014-02-14T11:30:15 trim trailing spaces
Steffen Jaeckel fe406736 2011-03-23T23:25:15 fixed compilation error of demo/demo.c because of missing macro LTM_PRIME_2MSB_OFF
Tom St Denis 9294e791 2005-08-01T16:37:28 added libtommath-0.36
Tom St Denis fdfa2f4f 2005-03-12T11:55:11 added libtommath-0.35
Tom St Denis 3d0fcaab 2005-02-12T08:40:15 added libtommath-0.34
Tom St Denis 4b7111d9 2004-12-23T02:40:37 added libtommath-0.33
Tom St Denis e549ccfe 2004-10-29T22:07:18 added libtommath-0.32
Tom St Denis 8eaa9880 2004-08-09T22:15:59 added libtommath-0.31
Tom St Denis 350578d4 2004-04-11T20:46:22 added libtommath-0.30
Tom St Denis 6c48a9b3 2004-01-25T17:40:21 added libtommath-0.29
Tom St Denis 455bb4db 2003-12-24T18:59:22 added libtommath-0.28
Tom St Denis c343371b 2003-09-19T22:43:07 added libtommath-0.27