Log

Author Commit Date CI Message
Daniel Mendler 8c1b296e 2019-04-08T23:48:39 add feature detection macro MP_HAS
Steffen Jaeckel 584405ff 2019-07-17T15:57:43 Merge pull request #304 from libtom/deprecate-expt-root deprecate mp_expt_d and mp_n_root in favor of mp_expt and mp_root
Daniel Mendler 71696549 2019-05-29T20:36:18 deprecate mp_expt_d and mp_n_root in favor of mp_expt and mp_root
Daniel Mendler ca89e9c0 2019-07-03T13:10:05 rename mp_root/mp_expt to mp_*_u32
Steffen Jaeckel 18c919fc 2019-07-17T15:42:06 Merge pull request #326 from nomeata/stdlib Import stddef in tommath.h
Joachim Breitner 6c35dd7e 2019-07-15T12:15:10 Import stddef in tommath.h At least here (compiling for WebAssembly (`wasm32-unknown-unknown-wasm`), I need this, otherwise `size_t` is not available.
Steffen Jaeckel 5190ae6c 2019-07-04T09:43:23 Merge pull request #325 from libtom/rename_mag_fn Rename bn_get_magxx -> bn_get_mag_uxx. Documentation updated too
nijtmans 0db64fc8 2019-07-03T14:45:14 Rename bn_get_magxx -> bn_get_mag_uxx. Documentation updated too
Steffen Jaeckel dad0fbd2 2019-07-03T12:51:39 Merge pull request #321 from libtom/explicit_symbols_for_l_and_ll Provide explicit symbols for bn_xxx_l and bn_xxx_ll functions.
nijtmans 58ae5c20 2019-06-13T17:31:04 More doc fixes, texts which no longer were correct due to depreciations
nijtmans 9861a37e 2019-06-13T17:22:14 Update documentation
nijtmans fde85249 2019-06-13T16:58:06 @minad 's suggestions
nijtmans c7cedcba 2019-06-12T15:17:00 Documentation fixes, handling i32 type correctly
nijtmans 91b113cb 2019-06-12T13:44:59 Macro consistancy: Always use function-name as first parameter and type(s) last, as in SET macro's
nijtmans db4afb3d 2019-06-12T13:11:58 Provide explicit symbols for bn_xxx_l and bn_xxx_ll functions.
Steffen Jaeckel ca78ed23 2019-06-30T12:09:05 add appveyor badges [skip ci]
Steffen Jaeckel c7b322ed 2019-06-30T11:46:37 Merge pull request #318 from czurnieden/clang_tidy_reaction Removed obsolete code
czurnieden 1803417e 2019-06-12T01:58:03 removed obsolete code
Steffen Jaeckel aa4864ee 2019-06-30T11:43:08 Merge pull request #319 from libtom/fix/clang-tidy fix clang-tidy warnings
Steffen Jaeckel e491b4db 2019-06-12T07:51:04 fix clang-tidy warnings
Steffen Jaeckel dc7c5226 2019-06-30T11:39:32 Merge pull request #323 from libtom/doc-fix-pri32 Doc fixes: Using %lu/%ld formatter for int32_t is not portable across platforms
Steffen Jaeckel c397cac4 2019-06-30T11:38:14 fix unescaped _ [skip ci]
nijtmans 8503e786 2019-06-13T09:52:51 Doc fixes: Using %lu/%ld formatter for int32_t is not portable across platforms.
Steffen Jaeckel df8c7087 2019-06-30T11:32:02 Merge pull request #324 from libtom/test-simplify-no-unsigned Simplify test-cases, by using mp_set_l
nijtmans ea3353b6 2019-06-13T15:44:00 Simplify test-cases, by using mp_set_l. Also fix use of types in 2 other files
Steffen Jaeckel e009d400 2019-06-12T08:22:55 Merge pull request #316 from libtom/more-msvc-warning-free Attempt to eliminate more MSVC compiler warnings
nijtmans 8b7c7a36 2019-06-07T17:56:59 Now all 32-bit warnings should be gone
nijtmans 610ff6d2 2019-06-07T17:53:12 Make errors as failures, and (hopefully) fix last 32-bit warning
nijtmans 51275960 2019-06-07T17:20:38 Attempt to eliminate more MSVC compiler warnings
Steffen Jaeckel f562d658 2019-06-12T08:14:36 Merge pull request #313 from libtom/remove-bn_conversion #311 with macros
Steffen Jaeckel d1013c77 2019-06-07T08:33:23 fix generate_def()
Daniel Mendler f5b2106a 2019-06-07T00:18:51 helper.pl: don't use sed, support CC variable for preprocessing
Daniel Mendler 8cf43639 2019-06-06T23:14:15 MP_SET_SIGNED: add utype parameter
Daniel Mendler 3ef6efd3 2019-06-06T23:01:51 sort tommath_class.h dependencies: this makes it easier to see changes
Daniel Mendler 7eb6f321 2019-06-06T22:48:12 helper.pl - do not use heredocs for single lines
Daniel Mendler e856b51b 2019-06-06T22:44:29 remove version_from_tomcrypt
Daniel Mendler 5302b907 2019-06-06T21:06:06 use MP_SIZEOF_BITS
Steffen Jaeckel 0d06d67e 2019-06-06T12:44:36 generate tommath_class from pre-processed code
Steffen Jaeckel 30e8fbbc 2019-06-06T12:09:39 Update makefiles etc
Steffen Jaeckel a3637457 2019-06-06T11:48:42 change macros to contain types
Steffen Jaeckel 6c39b07b 2019-06-06T11:44:02 split up again into separate files
Steffen Jaeckel f1097727 2019-06-07T08:27:48 Merge pull request #315 from libtom/perl-generate-def remove generate_def.sh, move code to helper.pl
Daniel Mendler 8a1ae868 2019-06-06T18:25:07 tommath.def should be 644
Daniel Mendler f00cc99f 2019-06-06T18:15:19 replace generate_def.sh with perl function
Steffen Jaeckel e24af228 2019-06-07T08:22:33 Merge pull request #314 from libtom/msvc-warning-free MSVC compile: higher warning-level -Wall, but warning-free
nijtmans 196d8830 2019-06-06T17:00:18 A little stricter on 32-bit compiles
nijtmans dfbb5ecd 2019-06-06T16:22:54 MSVC compile: higher warning-level -Wall, but warning-free
Steffen Jaeckel 380d03be 2019-06-06T11:15:41 Merge pull request #300 from libtom/interop-mingw-w64-3 Better interoperability between MSVC and mingw-w64, 3
Steffen Jaeckel 28dc77ae 2019-06-06T10:36:33 update tommath.def always when updating the makefiles
nijtmans a911999d 2019-05-28T14:26:41 Better interoperability between MSVC and mingw-w64, 3
Steffen Jaeckel 6c29fac7 2019-06-05T21:27:20 Merge pull request #312 from libtom/msvc-warning-C4028 Fix MSVC warning
nijtmans ab309de0 2019-06-05T14:50:12 Fix MSVC warning: bn_mp_rand.c(9): warning C4028: formal parameter 1 different from declaration
Steffen Jaeckel d12e1781 2019-06-05T10:40:18 Merge pull request #308 from libtom/fix-alt-compilers Fix alt compilers
H.Merijn Brand - Tux f5b6cd07 2019-04-26T14: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';
Steffen Jaeckel 0ebc4f92 2019-06-05T09:20:25 fix MP_DEPRECATED for non-gcc, -clang or -msvc
Steffen Jaeckel 7c2211c8 2019-06-03T11:35:24 Merge pull request #303 from libtom/refactor_mp_div_d Eliminate unneeded static function
nijtmans f2d6f52b 2019-05-29T13:47:40 Eliminate unneeded static function: Since b==0 and b==1 are already checked for earlier, it can be simplified and inlined.
Steffen Jaeckel 34f2ddbc 2019-06-03T10:55:40 Merge pull request #306 from fperrad/20190524_lint some linting
Francois Perrad 3e15a3ff 2019-05-26T08:33:49 literal suffix
Francois Perrad b3a4341a 2019-05-31T10:53:18 explicit operator precedence
Steffen Jaeckel 2b41c955 2019-05-31T10:14:03 Merge pull request #292 from fperrad/20190523_lint some linting
Francois Perrad e7f34c69 2019-05-23T17:50:58 literal suffix
Francois Perrad 25ff85d2 2019-05-23T18:00:21 move cast inside macro
Francois Perrad b9de7c09 2019-05-23T17:50:07 cast
Steffen Jaeckel 431ea331 2019-05-28T14:23:38 fix most of the makefiles [skip ci]
Steffen Jaeckel b055595b 2019-05-28T09:00:59 Merge pull request #299 from libtom/fix-appveyor let's try to fix appveyor.yml
Steffen Jaeckel 7878db68 2019-05-28T08:28:32 use correct version and only build specific branches
Steffen Jaeckel 8dfb04f5 2019-05-28T08:27:06 let's try the multi-line cmd again
Steffen Jaeckel fd269389 2019-05-27T16:53:55 Merge pull request #294 from libtom/deprecate-ex-funs deprecate mp_n_root_ex and mp_expt_d_ex
Daniel Mendler c7314fa4 2019-05-25T06: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.
Steffen Jaeckel c58c7f6d 2019-05-27T15:59:23 Merge pull request #293 from libtom/simplify-scripts Simplify scripts
Daniel Mendler 64be56e7 2019-05-24T12:40:17 remove global $deplist
Daniel Mendler dfcaf41f 2019-05-24T12:38:04 remove global %depmap
Daniel Mendler 25d663d0 2019-05-24T12:35:58 rename deplist to depmap
Daniel Mendler 4f26de17 2019-05-24T12:35:11 fix return value
Daniel Mendler 36b4411c 2019-05-24T12:26:50 remove indent global var
Daniel Mendler 26548f0f 2019-05-24T12:26:17 make helper-dep.pl part of helper.pl
Daniel Mendler 712919f3 2019-05-24T12:17:13 [WIP] start to make dep.pl part of helper.pl
Daniel Mendler d45a80ec 2019-05-24T12:10:07 remove updatemakes script, it is just an indirection calling helper.pl
Steffen Jaeckel 53d45ad6 2019-05-27T15:54:15 Merge pull request #296 from czurnieden/autotune_output_travis minor improvements&fixes
Steffen Jaeckel 345173a3 2019-05-24T11:27:42 make it possible to run etc/tune_it.sh from wherever you want
Steffen Jaeckel 0e1a0e65 2019-05-24T11:27:03 also test mp_shrink()
czurnieden 80bb97fd 2019-05-26T03:50:33 corrected path for autotune-output
Steffen Jaeckel 7bc487fe 2019-05-27T15:33:41 Merge pull request #298 from libtom/fix-appveyor fix appveyor.yml
Steffen Jaeckel d2076fdd 2019-05-27T15:12:31 move test execution into test stage
Steffen Jaeckel 497ea474 2019-05-27T12:33:40 try to fix yaml
Steffen Jaeckel 04c85049 2019-05-26T23:41:47 Merge pull request #297 from libtom/msvc-fixes Msvc fixes (appveyor works!)
Daniel Mendler 6ce1bcb3 2019-05-26T09:36:07 add appveyor.yml: test both vc2015 and vc2017
Daniel Mendler 4b475aca 2019-05-26T09:29:58 fixes for msvc
Karel Miko 9578d671 2019-05-25T22:31:33 fix invalid OBJECTS=... definition in makefile.msvc
Steffen Jaeckel 8e1704d8 2019-05-24T12:52:20 Merge pull request #288 from libtom/deprecate-is-divisible deprecate mp_prime_is_divisible and ltm_prime_tab
Daniel Mendler bcec605a 2019-05-22T15:34:49 deprecate mp_prime_is_divisible and ltm_prime_tab * it is an implementation detail used for prime testing * there is upcoming work by @czurnieden regarding a generalised prime sieve * furthermore remove jacobi test (replaced by kronecker)
Steffen Jaeckel 50f0bd75 2019-05-24T12: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
Daniel Mendler c7a7bd47 2019-05-23T16:37:34 MP_PREC is an internal macro, it should be defined in tommath_private.h
Steffen Jaeckel 3000eaa4 2019-05-24T12: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
Daniel Mendler b0938d70 2019-05-24T11:48:27 remove obsolete comment
Daniel Mendler 9f607dd5 2019-05-23T17:00:47 disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
Steffen Jaeckel e82c42a8 2019-05-24T11:48:29 Merge pull request #273 from czurnieden/cleanup_prime_is_prime prime_is_prime: remove obsolete restriction on PRIME_SIZE
Christoph Zurnieden 47af7bf2 2019-05-19T17:12:18 remove no-deterministic M-R-only tests
Steffen Jaeckel 20ae9fba 2019-05-24T11:23:24 Merge pull request #285 from libtom/set-int3 introduce mp_set_sint and mp_set_uint functions with precise types