kc3-lang/libtommath

Branch :


Log

Author Commit Date CI Message
8cf43639 2019-06-06 23:14:15 MP_SET_SIGNED: add utype parameter
3ef6efd3 2019-06-06 23:01:51 sort tommath_class.h dependencies: this makes it easier to see changes
e856b51b 2019-06-06 22:44:29 remove version_from_tomcrypt
5302b907 2019-06-06 21:06:06 use MP_SIZEOF_BITS
7eb6f321 2019-06-06 22:48:12 helper.pl - do not use heredocs for single lines
0d06d67e 2019-06-06 12:44:36 generate tommath_class from pre-processed code
30e8fbbc 2019-06-06 12:09:39 Update makefiles etc
a3637457 2019-06-06 11:48:42 change macros to contain types
6c39b07b 2019-06-06 11:44:02 split up again into separate files
f1097727 2019-06-07 08:27:48 Merge pull request #315 from libtom/perl-generate-def remove generate_def.sh, move code to helper.pl
8a1ae868 2019-06-06 18:25:07 tommath.def should be 644
f00cc99f 2019-06-06 18:15:19 replace generate_def.sh with perl function
e24af228 2019-06-07 08:22:33 Merge pull request #314 from libtom/msvc-warning-free MSVC compile: higher warning-level -Wall, but warning-free
196d8830 2019-06-06 17:00:18 A little stricter on 32-bit compiles
dfbb5ecd 2019-06-06 16:22:54 MSVC compile: higher warning-level -Wall, but warning-free
380d03be 2019-06-06 11:15:41 Merge pull request #300 from libtom/interop-mingw-w64-3 Better interoperability between MSVC and mingw-w64, 3
28dc77ae 2019-06-06 10:36:33 update tommath.def always when updating the makefiles
a911999d 2019-05-28 14:26:41 Better interoperability between MSVC and mingw-w64, 3
6c29fac7 2019-06-05 21:27:20 Merge pull request #312 from libtom/msvc-warning-C4028 Fix MSVC warning
ab309de0 2019-06-05 14:50:12 Fix MSVC warning: bn_mp_rand.c(9): warning C4028: formal parameter 1 different from declaration
d12e1781 2019-06-05 10:40:18 Merge pull request #308 from libtom/fix-alt-compilers Fix alt compilers
f5b6cd07 2019-04-26 14:38:54 Fix building on HP-UX 11.11 / PA-RISC $ perl -v This is perl 5, version 28, subversion 2 (v5.28.2) built for PA-RISC2.0-thread-multi-LP64 $ perl Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CryptX Writing MYMETA.yml and MYMETA.json $ make : : gcc64 -Iltm -Iltc/headers -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mpa-risc-2-0 -fPIC -D_HPUX_SOURCE -fwrapv -fno-strict-aliasing -pipe -I/usr/local/pa20_64/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -g -O -DARGTYPE=4 -c ltc/math/ltm_desc.c -o ltc/math/ltm_desc.o In file included from ltc/math/ltm_desc.c:15:0: ltm/tommath.h:74:1: error: unable to emulate 'TI' make[1]: *** [ltc/math/ltm_desc.o] Error 1 make[1]: Leaving directory `/data/cpan-build/CryptX-0.063-0/src' make: *** [src/liballinone.a] Error 2 $ gcc64 --version gcc64 (GCC) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ perl -V:cppsymbols cppsymbols='_FILE_OFFSET_BITS=64 _HPUX_SOURCE=1 _LARGEFILE_SOURCE=1 _LFS64_LARGEFILE=1 _LFS_LARGEFILE=1 _LP64=1 _PA_RISC2_0=1 _POSIX_C_SOURCE=199506L _PROTOTYPES= _REENTRANT=1 _XOPEN_SOURCE_EXTENDED=1 _XPG4= _XPG4_EXTENDED= __BYTE_ORDER__=4321 __ELF__=1 __GNUC_MINOR__=6 __GNUC__=4 __LP64__=1 __PIC__=2 __STDC_EXT__=1 __STDC__=1 __hp9000s700=1 __hp9000s700__=1 __hp9000s800=1 __hp9000s800__=1 __hppa=1 __hppa__=1 __hpux=1 __hpux__=1 __pic__=2 __unix=1 __unix__=1';
0ebc4f92 2019-06-05 09:20:25 fix MP_DEPRECATED for non-gcc, -clang or -msvc
7c2211c8 2019-06-03 11:35:24 Merge pull request #303 from libtom/refactor_mp_div_d Eliminate unneeded static function
f2d6f52b 2019-05-29 13:47:40 Eliminate unneeded static function: Since b==0 and b==1 are already checked for earlier, it can be simplified and inlined.
34f2ddbc 2019-06-03 10:55:40 Merge pull request #306 from fperrad/20190524_lint some linting
3e15a3ff 2019-05-26 08:33:49 literal suffix
b3a4341a 2019-05-31 10:53:18 explicit operator precedence
2b41c955 2019-05-31 10:14:03 Merge pull request #292 from fperrad/20190523_lint some linting
e7f34c69 2019-05-23 17:50:58 literal suffix
25ff85d2 2019-05-23 18:00:21 move cast inside macro
b9de7c09 2019-05-23 17:50:07 cast
431ea331 2019-05-28 14:23:38 fix most of the makefiles [skip ci]
b055595b 2019-05-28 09:00:59 Merge pull request #299 from libtom/fix-appveyor let's try to fix appveyor.yml
7878db68 2019-05-28 08:28:32 use correct version and only build specific branches
8dfb04f5 2019-05-28 08:27:06 let's try the multi-line cmd again
fd269389 2019-05-27 16:53:55 Merge pull request #294 from libtom/deprecate-ex-funs deprecate mp_n_root_ex and mp_expt_d_ex
c7314fa4 2019-05-25 06:42:01 deprecate mp_n_root_ex and mp_expt_d_ex These functions were introduced to give some timing guarantees. However the guarantees are too weak to be useful. The functions seem to be unused essentially by downstream users.
c58c7f6d 2019-05-27 15:59:23 Merge pull request #293 from libtom/simplify-scripts Simplify scripts
64be56e7 2019-05-24 12:40:17 remove global $deplist
dfcaf41f 2019-05-24 12:38:04 remove global %depmap
25d663d0 2019-05-24 12:35:58 rename deplist to depmap
4f26de17 2019-05-24 12:35:11 fix return value
36b4411c 2019-05-24 12:26:50 remove indent global var
26548f0f 2019-05-24 12:26:17 make helper-dep.pl part of helper.pl
712919f3 2019-05-24 12:17:13 [WIP] start to make dep.pl part of helper.pl
d45a80ec 2019-05-24 12:10:07 remove updatemakes script, it is just an indirection calling helper.pl
53d45ad6 2019-05-27 15:54:15 Merge pull request #296 from czurnieden/autotune_output_travis minor improvements&fixes
345173a3 2019-05-24 11:27:42 make it possible to run etc/tune_it.sh from wherever you want
0e1a0e65 2019-05-24 11:27:03 also test mp_shrink()
80bb97fd 2019-05-26 03:50:33 corrected path for autotune-output
7bc487fe 2019-05-27 15:33:41 Merge pull request #298 from libtom/fix-appveyor fix appveyor.yml
d2076fdd 2019-05-27 15:12:31 move test execution into test stage
497ea474 2019-05-27 12:33:40 try to fix yaml
04c85049 2019-05-26 23:41:47 Merge pull request #297 from libtom/msvc-fixes Msvc fixes (appveyor works!)
6ce1bcb3 2019-05-26 09:36:07 add appveyor.yml: test both vc2015 and vc2017
4b475aca 2019-05-26 09:29:58 fixes for msvc
9578d671 2019-05-25 22:31:33 fix invalid OBJECTS=... definition in makefile.msvc
8e1704d8 2019-05-24 12:52:20 Merge pull request #288 from libtom/deprecate-is-divisible deprecate mp_prime_is_divisible and ltm_prime_tab
bcec605a 2019-05-22 15:34:49 deprecate mp_prime_is_divisible and ltm_prime_tab * it is an implementation detail used for prime testing * there is upcoming work by @czurnieden regarding a generalised prime sieve * furthermore remove jacobi test (replaced by kronecker)
50f0bd75 2019-05-24 12:30:29 Merge pull request #290 from libtom/private-mp-prec MP_PREC is an internal macro, it should be defined in tommath_private.h
c7a7bd47 2019-05-23 16:37:34 MP_PREC is an internal macro, it should be defined in tommath_private.h
3000eaa4 2019-05-24 12:26:25 Merge pull request #291 from libtom/simpler-mp-digit-bit disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
b0938d70 2019-05-24 11:48:27 remove obsolete comment
9f607dd5 2019-05-23 17:00:47 disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
e82c42a8 2019-05-24 11:48:29 Merge pull request #273 from czurnieden/cleanup_prime_is_prime prime_is_prime: remove obsolete restriction on PRIME_SIZE
47af7bf2 2019-05-19 17:12:18 remove no-deterministic M-R-only tests
20ae9fba 2019-05-24 11:23:24 Merge pull request #285 from libtom/set-int3 introduce mp_set_sint and mp_set_uint functions with precise types
0a9f5e9b 2019-05-24 10:21:54 use u32 i64 suffix
d7e1cb4a 2019-05-24 00:15:11 another proposal: use _ul and _l for the long macros
b58c9966 2019-05-23 23:39:47 use int32 and uint32 instead of sint and uint
d7959854 2019-05-23 11:12:30 improve comment in tommath.h, extend .gitignore
3289c959 2019-05-20 10:41:06 introduce various mp_set_sint/mp_set_uint functions with precise types
51512f99 2019-05-23 23:22:11 Merge pull request #289 from libtom/static-assert add MP_STATIC_ASSERT
18f6e464 2019-05-23 16:00:31 add MP_STATIC_ASSERT
07c18987 2019-05-22 11:53:57 Merge pull request #287 from fperrad/20190522_lint some linting
7fdd6b50 2019-05-22 10:33:12 literal suffix instead of cast
7ffc562d 2019-05-21 21:11:56 literal suffix
9a8b2ecb 2019-05-22 08:16:38 explicit operator precedence
991aea53 2019-05-22 08:23:37 explicit condition
e8ae3e83 2019-05-22 07:59:33 Merge pull request #265 from czurnieden/faster_toom_cook_three faster Toom-Cook 3 algorithms
228e487b 2019-05-16 23:51:02 faster Toom-Cook 3 algorithm
c99a88e7 2019-05-21 23:03:48 Merge pull request #266 from fperrad/20190517_lint more linting
d3cbfd58 2019-05-19 11:16:54 remove useless semicolon
330b980d 2019-05-18 11:55:27 literal char
8d73e158 2019-05-18 12:37:54 literal suffix
a4f9818b 2019-05-18 12:36:45 more cast
5f84f87f 2019-05-18 11:12:07 explicit operator precedence
3cf0c188 2019-05-17 18:46:47 const pointer
3f2d891f 2019-05-21 18:52:31 Merge pull request #279 from libtom/deprecate-bitwise2 deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor)
1af0de1f 2019-05-20 19:11:25 deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor) * same behavior for positive numbers * generalisation for negative numbers, treating them as two complement * improve algorithm, iterate once over the digits, manually perform two complement * simplify mp_add_d, mp_sub_d * functions are safe in case of a==c or b==c * renamed mp_tc_div_2d to mp_signed_rsh (signed right shift)
aeeea0d7 2019-05-21 18:24:44 Merge pull request #277 from libtom/fix-fread handle EOF condition in mp_fread, fix #163
6552f55f 2019-05-20 08:38:25 handle EOF condition in mp_fread, fix #163
fd7cb14a 2019-05-21 18:17:29 Merge pull request #283 from czurnieden/callgraph_on_demand remove callgraph.txt from repository
6e01c2b8 2019-05-21 17:38:51 remove callgraph.txt from repository
bdd3ee02 2019-05-21 18:11:39 Merge pull request #275 from libtom/hidden-symbols introduce MP_PRIVATE to hide symbols
bd8f7e55 2019-05-20 06:57:20 introduce MP_PRIVATE to hide symbols (opt-in for now)
28290072 2019-05-21 18:05:56 Merge pull request #276 from libtom/fix-137 fix #137
a069512b 2019-05-20 07:49:34 fix #137
22768cf0 2019-05-21 18:04:47 Merge pull request #271 from libtom/private-headers make tommath_class.h and tommath_superclass.h private