Commit Graph

1132 Commits

Author SHA1 Message Date
Steffen Jaeckel
8095b3b612
Merge pull request #387 from fperrad/20191019_lint
some linting
2019-10-20 15:38:32 +02:00
Francois Perrad
a1ab90be3c use enum value 2019-10-20 14:34:05 +02:00
Francois Perrad
e33311a1fe use enum type 2019-10-20 14:34:05 +02:00
Francois Perrad
b34aac09cb remove extraneous comma 2019-10-20 14:34:05 +02:00
Steffen Jaeckel
04a1160ea1
Merge pull request #390 from czurnieden/sans_eight_frobenius
removed code needed for MP_8BIT
2019-10-20 12:43:09 +02:00
czurnieden
e8fc3a58db removed code needed for MP_8BIT 2019-10-20 12:38:20 +02:00
Steffen Jaeckel
2c82730e0e
Merge pull request #284 from libtom/move-files
Get rid of BN prefix
2019-10-20 12:35:41 +02:00
Steffen Jaeckel
7a68f12873 Execute move.sh - Rename files from bn_* to match the function names.
* git blame <renamed-file> is not affected
* git log --follow <renamed-file> can be used to show log across renames
2019-10-19 16:24:39 +02:00
Daniel Mendler
de484635fa
add move script 2019-10-19 16:24:32 +02:00
Steffen Jaeckel
800ec1ed12
Merge pull request #349 from czurnieden/sans_eight
Remove support for 8-bit (MP_8BIT)
2019-10-19 16:21:02 +02:00
czurnieden
78588ed6d1
removed the corect preprocessor branch in mp_to_unsigend_bin this time and removed 8-bit tests from testme.sh 2019-10-19 16:03:26 +02:00
czurnieden
be9a71fd52
soothed preprocessor 2019-10-19 16:03:26 +02:00
czurnieden
70589a00f9
corrected preprocessor branch in bn_mp_montgomery_setup.c 2019-10-19 16:03:26 +02:00
czurnieden
36fca2f9a0
remove support for 8-bit (MP_8BIT) 2019-10-19 16:03:26 +02:00
Steffen Jaeckel
4d6a9682e5 fix 'coverage' & add 'check' make-target 2019-10-19 16:02:23 +02:00
Steffen Jaeckel
e66be11c36
Merge pull request #366 from czurnieden/radix_size_with_log
Use of mp_ilogb in mp_radix_size
2019-10-19 16:02:12 +02:00
czurnieden
80f5818e0f
Addition of BN_MP_LOG_U32 to tommath_superclass.h 2019-10-19 15:35:04 +02:00
czurnieden
de606c034f
adaption of mp_radeix_size to new mp_log_u32 2019-10-19 15:35:04 +02:00
czurnieden
d4f6b43fa8
use of mp_ilogb in mp_radix_size 2019-10-19 15:35:04 +02:00
Steffen Jaeckel
0a3fa328c7
Merge pull request #379 from libtom/private-symbols
enable MP_PRIVATE (visibility=hidden)
2019-10-19 15:34:13 +02:00
nijtmans
3eaa268e21
Adapt mingw-build of libtommath.dll to respect internal symbols too 2019-10-19 15:01:33 +02:00
Daniel Mendler
42ebcbfee4
enable MP_PRIVATE (visibility=hidden) 2019-10-19 15:00:47 +02:00
Steffen Jaeckel
b07141387a
Merge pull request #378 from libtom/remove-deprecated
Remove deprecated functions
2019-10-19 12:24:01 +02:00
nijtmans
700a79ea66 remove deprecated functions from tommath.def too 2019-10-18 09:28:11 +02:00
Daniel Mendler
20dcc923f6
rename internal constant radix arrays 2019-10-17 17:07:02 +02:00
Daniel Mendler
55acc6ab5b
update docs 2019-10-17 16:56:30 +02:00
Daniel Mendler
b4099e1ed2
remove empty bn_deprecated.c file 2019-10-17 16:56:30 +02:00
Daniel Mendler
45a3bf7694
remove deprecated functions 2019-10-17 16:56:27 +02:00
Daniel Mendler
fce429d08b
tommath.h: do not expose limits.h 2019-10-16 14:42:21 +02:00
Steffen Jaeckel
7e1c622956
Merge pull request #377 from libtom/use-enums
tommath.h: use enums
2019-10-16 14:27:46 +02:00
Daniel Mendler
554310847a
tommath.h: use enums 2019-10-16 09:32:37 +02:00
Steffen Jaeckel
f8f240a7ba
Merge pull request #375 from libtom/fix-62
fix s_mp_montgomery_reduce_fast
2019-10-15 20:47:33 +02:00
Steffen Jaeckel
65237bc2bb fix s_mp_montgomery_reduce_fast
as proposed by @dmitry-lipetsk

This fixes #62
2019-10-15 20:47:09 +02:00
Steffen Jaeckel
69a7ca78aa
Merge pull request #376 from fperrad/20191015_lint
some linting
2019-10-15 19:20:34 +02:00
Francois Perrad
fd7a0a3abb explicit condition 2019-10-15 18:33:21 +02:00
Francois Perrad
fd5c835c99 explicit operator precedence 2019-10-15 18:33:19 +02:00
Francois Perrad
28ea368cc5 add missing include 2019-10-15 18:33:16 +02:00
Steffen Jaeckel
8b5fc198a7
Merge pull request #372 from libtom/rename-and-fixups
Rename and fixups
2019-10-15 14:48:10 +02:00
Daniel Mendler
cb1b2dc879
mp_log_u32: return uint32_t 2019-10-15 14:47:43 +02:00
Steffen Jaeckel
4bbe2cde9c
fix build of demos 2019-10-15 14:47:43 +02:00
Steffen Jaeckel
8825ab6064
improve clean make-target 2019-10-15 14:47:43 +02:00
Steffen Jaeckel
c9d41fba73
rename mp_ilogb() to mp_log_u32() 2019-10-15 14:47:43 +02:00
Steffen Jaeckel
1cc02f2d88
fix build of timing.c 2019-10-15 14:47:43 +02:00
Steffen Jaeckel
8365614f59
Merge pull request #373 from libtom/missing-symbols
add back missing symbols
2019-10-15 14:46:40 +02:00
Steffen Jaeckel
2fefcaa010 copy implementation of mp_to_unsigned_bin_n() to mp_to_signed_bin_n() 2019-10-15 14:21:30 +02:00
Daniel Mendler
049e2e85e2
add back missing symbols 2019-10-15 14:02:44 +02:00
Steffen Jaeckel
4a373ffa64
Merge pull request #367 from czurnieden/ilogb_shortcuts
ilog: added shortcuts for bases that are powers of two
2019-10-15 10:32:53 +02:00
czurnieden
f0a9d3c355 added shortcuts for bases that are powers of two 2019-10-15 10:31:40 +02:00
Steffen Jaeckel
9bf8ce0322
Merge pull request #364 from czurnieden/miller_rabin_rounds_update
Update to list of number of Miller-Rabin trials
2019-10-15 10:28:05 +02:00
czurnieden
3dd542f2fe Changed macro 'LTM_USE_FIPS_ONLY' to 'LTM_USE_ONLY_MR' 2019-10-14 23:05:56 +02:00