|
a402b462
|
2019-05-29T12:23:08
|
|
refactor with goto
|
|
49abba09
|
2019-09-02T18:32:33
|
|
refactor with mp_init_multi
|
|
29ef033a
|
2019-05-25T20:54:49
|
|
refactor without inner scope
|
|
8a1656c0
|
2018-07-09T20:46:22
|
|
refactor with for
|
|
857b112e
|
2019-09-03T01:04:00
|
|
Merge pull request #334 from czurnieden/re_issue_332
repair of #333
|
|
ad402d43
|
2019-09-03T00:28:02
|
|
no need for that if-else
|
|
eebe1d26
|
2019-09-02T18:15:33
|
|
repair of #333
|
|
8bb11ded
|
2019-09-02T21:05:04
|
|
included tests for mp_prime_next_prime
|
|
9f38acbc
|
2019-09-02T18:52:45
|
|
Merge pull request #332 from libtom/add-mp_to_radix
Add `mp_to_radix()`
|
|
6927326a
|
2019-09-02T18:17:23
|
|
return error if output-buffer is too small
|
|
6cd570d0
|
2019-09-02T17:52:36
|
|
use `mp_to_radix` etc.
|
|
684426b6
|
2019-09-02T14:40:10
|
|
add new conversion macros
|
|
f0e6ae59
|
2019-09-02T14:36:06
|
|
add `mp_to_radix()`
...a 100% copy&paste of `mp_toradix_n()` besides the changed API signature
|
|
a439ddf2
|
2019-09-02T13:06:25
|
|
Merge pull request #262 from libtom/feature-detection2
add feature detection macro MP_HAS (2)
|
|
625defdc
|
2019-05-31T11:31:53
|
|
fix gcc version check for deprecations
|
|
672242bd
|
2019-06-12T12:11:49
|
|
msvc: disable warning C4003: not enough arguments for function-like macro invocation 'MP__STRINGIZE'
|
|
8c1b296e
|
2019-04-08T23:48:39
|
|
add feature detection macro MP_HAS
|
|
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
|
|
ca89e9c0
|
2019-07-03T13:10:05
|
|
rename mp_root/mp_expt to mp_*_u32
|
|
71696549
|
2019-05-29T20:36:18
|
|
deprecate mp_expt_d and mp_n_root in favor of mp_expt and mp_root
|
|
18c919fc
|
2019-07-17T15:42:06
|
|
Merge pull request #326 from nomeata/stdlib
Import stddef in tommath.h
|
|
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.
|
|
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
|
|
0db64fc8
|
2019-07-03T14:45:14
|
|
Rename bn_get_magxx -> bn_get_mag_uxx. Documentation updated too
|
|
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.
|
|
58ae5c20
|
2019-06-13T17:31:04
|
|
More doc fixes, texts which no longer were correct due to depreciations
|
|
9861a37e
|
2019-06-13T17:22:14
|
|
Update documentation
|
|
fde85249
|
2019-06-13T16:58:06
|
|
@minad 's suggestions
|
|
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
|
|
8b7c7a36
|
2019-06-07T17:56:59
|
|
Now all 32-bit warnings should be gone
|
|
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
|
|
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
|
|
8a1ae868
|
2019-06-06T18:25:07
|
|
tommath.def should be 644
|
|
f00cc99f
|
2019-06-06T18:15:19
|
|
replace generate_def.sh with perl function
|
|
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
|
|
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
|
|
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
|
|
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
|