|
c7cedcba
|
2019-06-12T15:17:00
|
|
Documentation fixes, handling i32 type correctly
|
|
91b113cb
|
2019-06-12T13:44:59
|
|
Macro consistancy: Always use function-name as first parameter and type(s) last, as in SET macro's
|
|
db4afb3d
|
2019-06-12T13:11:58
|
|
Provide explicit symbols for bn_xxx_l and bn_xxx_ll functions.
|
|
ca78ed23
|
2019-06-30T12:09:05
|
|
add appveyor badges
[skip ci]
|
|
c7b322ed
|
2019-06-30T11:46:37
|
|
Merge pull request #318 from czurnieden/clang_tidy_reaction
Removed obsolete code
|
|
1803417e
|
2019-06-12T01:58:03
|
|
removed obsolete code
|
|
aa4864ee
|
2019-06-30T11:43:08
|
|
Merge pull request #319 from libtom/fix/clang-tidy
fix clang-tidy warnings
|
|
e491b4db
|
2019-06-12T07:51:04
|
|
fix clang-tidy warnings
|
|
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
|
|
c397cac4
|
2019-06-30T11:38:14
|
|
fix unescaped _
[skip ci]
|
|
8503e786
|
2019-06-13T09:52:51
|
|
Doc fixes: Using %lu/%ld formatter for int32_t is not portable across platforms.
|
|
df8c7087
|
2019-06-30T11:32:02
|
|
Merge pull request #324 from libtom/test-simplify-no-unsigned
Simplify test-cases, by using mp_set_l
|
|
ea3353b6
|
2019-06-13T15:44:00
|
|
Simplify test-cases, by using mp_set_l. Also fix use of types in 2 other files
|
|
e009d400
|
2019-06-12T08:22:55
|
|
Merge pull request #316 from libtom/more-msvc-warning-free
Attempt to eliminate more MSVC compiler warnings
|
|
610ff6d2
|
2019-06-07T17:53:12
|
|
Make errors as failures, and (hopefully) fix last 32-bit warning
|
|
51275960
|
2019-06-07T17:20:38
|
|
Attempt to eliminate more MSVC compiler warnings
|
|
8b7c7a36
|
2019-06-07T17:56:59
|
|
Now all 32-bit warnings should be gone
|
|
f562d658
|
2019-06-12T08:14:36
|
|
Merge pull request #313 from libtom/remove-bn_conversion
#311 with macros
|
|
d1013c77
|
2019-06-07T08:33:23
|
|
fix generate_def()
|
|
f5b2106a
|
2019-06-07T00:18:51
|
|
helper.pl: don't use sed, support CC variable for preprocessing
|
|
8cf43639
|
2019-06-06T23:14:15
|
|
MP_SET_SIGNED: add utype parameter
|
|
3ef6efd3
|
2019-06-06T23:01:51
|
|
sort tommath_class.h dependencies: this makes it easier to see changes
|
|
7eb6f321
|
2019-06-06T22:48:12
|
|
helper.pl - do not use heredocs for single lines
|
|
e856b51b
|
2019-06-06T22:44:29
|
|
remove version_from_tomcrypt
|
|
5302b907
|
2019-06-06T21:06:06
|
|
use MP_SIZEOF_BITS
|
|
0d06d67e
|
2019-06-06T12:44:36
|
|
generate tommath_class from pre-processed code
|
|
30e8fbbc
|
2019-06-06T12:09:39
|
|
Update makefiles etc
|
|
a3637457
|
2019-06-06T11:48:42
|
|
change macros to contain types
|
|
6c39b07b
|
2019-06-06T11:44:02
|
|
split up again into separate files
|
|
f1097727
|
2019-06-07T08:27:48
|
|
Merge pull request #315 from libtom/perl-generate-def
remove generate_def.sh, move code to helper.pl
|
|
f00cc99f
|
2019-06-06T18:15:19
|
|
replace generate_def.sh with perl function
|
|
8a1ae868
|
2019-06-06T18:25:07
|
|
tommath.def should be 644
|
|
e24af228
|
2019-06-07T08:22:33
|
|
Merge pull request #314 from libtom/msvc-warning-free
MSVC compile: higher warning-level -Wall, but warning-free
|
|
196d8830
|
2019-06-06T17:00:18
|
|
A little stricter on 32-bit compiles
|
|
dfbb5ecd
|
2019-06-06T16:22:54
|
|
MSVC compile: higher warning-level -Wall, but warning-free
|
|
380d03be
|
2019-06-06T11:15:41
|
|
Merge pull request #300 from libtom/interop-mingw-w64-3
Better interoperability between MSVC and mingw-w64, 3
|
|
28dc77ae
|
2019-06-06T10:36:33
|
|
update tommath.def always when updating the makefiles
|
|
a911999d
|
2019-05-28T14:26:41
|
|
Better interoperability between MSVC and mingw-w64, 3
|
|
6c29fac7
|
2019-06-05T21:27:20
|
|
Merge pull request #312 from libtom/msvc-warning-C4028
Fix MSVC warning
|
|
ab309de0
|
2019-06-05T14:50:12
|
|
Fix MSVC warning: bn_mp_rand.c(9): warning C4028: formal parameter 1 different from declaration
|
|
d12e1781
|
2019-06-05T10:40:18
|
|
Merge pull request #308 from libtom/fix-alt-compilers
Fix alt compilers
|
|
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';
|
|
0ebc4f92
|
2019-06-05T09:20:25
|
|
fix MP_DEPRECATED for non-gcc, -clang or -msvc
|
|
7c2211c8
|
2019-06-03T11:35:24
|
|
Merge pull request #303 from libtom/refactor_mp_div_d
Eliminate unneeded static function
|
|
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.
|
|
34f2ddbc
|
2019-06-03T10:55:40
|
|
Merge pull request #306 from fperrad/20190524_lint
some linting
|
|
3e15a3ff
|
2019-05-26T08:33:49
|
|
literal suffix
|
|
b3a4341a
|
2019-05-31T10:53:18
|
|
explicit operator precedence
|
|
2b41c955
|
2019-05-31T10:14:03
|
|
Merge pull request #292 from fperrad/20190523_lint
some linting
|
|
25ff85d2
|
2019-05-23T18:00:21
|
|
move cast inside macro
|
|
b9de7c09
|
2019-05-23T17:50:07
|
|
cast
|
|
e7f34c69
|
2019-05-23T17:50:58
|
|
literal suffix
|
|
431ea331
|
2019-05-28T14:23:38
|
|
fix most of the makefiles
[skip ci]
|
|
b055595b
|
2019-05-28T09:00:59
|
|
Merge pull request #299 from libtom/fix-appveyor
let's try to fix appveyor.yml
|
|
7878db68
|
2019-05-28T08:28:32
|
|
use correct version and only build specific branches
|
|
8dfb04f5
|
2019-05-28T08:27:06
|
|
let's try the multi-line cmd again
|
|
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
|
|
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.
|
|
c58c7f6d
|
2019-05-27T15:59:23
|
|
Merge pull request #293 from libtom/simplify-scripts
Simplify scripts
|
|
36b4411c
|
2019-05-24T12:26:50
|
|
remove indent global var
|
|
26548f0f
|
2019-05-24T12:26:17
|
|
make helper-dep.pl part of helper.pl
|
|
712919f3
|
2019-05-24T12:17:13
|
|
[WIP] start to make dep.pl part of helper.pl
|
|
d45a80ec
|
2019-05-24T12:10:07
|
|
remove updatemakes script, it is just an indirection calling helper.pl
|
|
64be56e7
|
2019-05-24T12:40:17
|
|
remove global $deplist
|
|
dfcaf41f
|
2019-05-24T12:38:04
|
|
remove global %depmap
|
|
25d663d0
|
2019-05-24T12:35:58
|
|
rename deplist to depmap
|
|
4f26de17
|
2019-05-24T12:35:11
|
|
fix return value
|
|
53d45ad6
|
2019-05-27T15:54:15
|
|
Merge pull request #296 from czurnieden/autotune_output_travis
minor improvements&fixes
|
|
345173a3
|
2019-05-24T11:27:42
|
|
make it possible to run etc/tune_it.sh from wherever you want
|
|
0e1a0e65
|
2019-05-24T11:27:03
|
|
also test mp_shrink()
|
|
80bb97fd
|
2019-05-26T03:50:33
|
|
corrected path for autotune-output
|
|
7bc487fe
|
2019-05-27T15:33:41
|
|
Merge pull request #298 from libtom/fix-appveyor
fix appveyor.yml
|
|
d2076fdd
|
2019-05-27T15:12:31
|
|
move test execution into test stage
|
|
497ea474
|
2019-05-27T12:33:40
|
|
try to fix yaml
|
|
04c85049
|
2019-05-26T23:41:47
|
|
Merge pull request #297 from libtom/msvc-fixes
Msvc fixes (appveyor works!)
|
|
6ce1bcb3
|
2019-05-26T09:36:07
|
|
add appveyor.yml: test both vc2015 and vc2017
|
|
4b475aca
|
2019-05-26T09:29:58
|
|
fixes for msvc
|
|
9578d671
|
2019-05-25T22:31:33
|
|
fix invalid OBJECTS=... definition in makefile.msvc
|
|
8e1704d8
|
2019-05-24T12:52:20
|
|
Merge pull request #288 from libtom/deprecate-is-divisible
deprecate mp_prime_is_divisible and ltm_prime_tab
|
|
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)
|
|
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
|
|
c7a7bd47
|
2019-05-23T16:37:34
|
|
MP_PREC is an internal macro, it should be defined in tommath_private.h
|
|
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
|
|
b0938d70
|
2019-05-24T11:48:27
|
|
remove obsolete comment
|
|
9f607dd5
|
2019-05-23T17:00:47
|
|
disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
|
|
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
|
|
47af7bf2
|
2019-05-19T17:12:18
|
|
remove no-deterministic M-R-only tests
|
|
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
|
|
0a9f5e9b
|
2019-05-24T10:21:54
|
|
use u32 i64 suffix
|
|
d7e1cb4a
|
2019-05-24T00:15:11
|
|
another proposal: use _ul and _l for the long macros
|
|
b58c9966
|
2019-05-23T23:39:47
|
|
use int32 and uint32 instead of sint and uint
|
|
d7959854
|
2019-05-23T11:12:30
|
|
improve comment in tommath.h, extend .gitignore
|
|
3289c959
|
2019-05-20T10:41:06
|
|
introduce various mp_set_sint/mp_set_uint functions with precise types
|
|
51512f99
|
2019-05-23T23:22:11
|
|
Merge pull request #289 from libtom/static-assert
add MP_STATIC_ASSERT
|
|
18f6e464
|
2019-05-23T16:00:31
|
|
add MP_STATIC_ASSERT
|
|
07c18987
|
2019-05-22T11:53:57
|
|
Merge pull request #287 from fperrad/20190522_lint
some linting
|
|
7fdd6b50
|
2019-05-22T10:33:12
|
|
literal suffix instead of cast
|
|
7ffc562d
|
2019-05-21T21:11:56
|
|
literal suffix
|
|
9a8b2ecb
|
2019-05-22T08:16:38
|
|
explicit operator precedence
|
|
991aea53
|
2019-05-22T08:23:37
|
|
explicit condition
|