Commit Graph

353 Commits

Author SHA1 Message Date
Steffen Jaeckel d0cb8ba954 Merge branch 'better/read_radix' into develop
This closes #92
2017-10-15 12:03:10 +02:00
Steffen Jaeckel 0a7ecc3bd4 add the inverse of mp_s_rmap 2017-10-15 12:03:00 +02:00
Steffen Jaeckel 6a268ef463 Merge branch 'fix/54' into develop
This closes #54
2017-10-15 12:01:52 +02:00
Steffen Jaeckel 1bc0088330 use correct printf format specifier in timing.c
This fixes #54
2017-10-15 12:01:38 +02:00
Steffen Jaeckel efcac86cac Merge branch 'fix/67' into develop
This closes #67
2017-10-15 12:01:15 +02:00
Steffen Jaeckel 8dbfaff04e Handle corner-cases of invmod()
This fixes #67
2017-10-15 12:01:04 +02:00
Steffen Jaeckel 6fa127b707 add testcase for #67 2017-10-15 12:01:04 +02:00
Steffen Jaeckel 5bb73c6f74 Merge branch 'fix/issues' into develop
This closes #90
2017-10-15 12:00:26 +02:00
Steffen Jaeckel 356084ee31 improve mp_lshd
This fixes #61
2017-10-15 12:00:11 +02:00
Steffen Jaeckel 1d03522625 make sure fast_s_mp_mul_digs() doesn't BOF
This fixes #60 and #80
2017-10-15 12:00:11 +02:00
Steffen Jaeckel a4d905a030 make sure fast_mp_montgomery_reduce() doesn't BOF
This fixes #63
2017-10-15 12:00:11 +02:00
Steffen Jaeckel e9ce32a16d improve README 2017-10-14 18:50:04 +02:00
Steffen Jaeckel 7800276855 Merge pull request #91 from libtom/fix/microsoft_build
there's no __int128 on MSVC, fall back to 32bit MPI's
2017-10-10 14:30:51 +02:00
Steffen Jaeckel a40e32b21c suppress some warnings when compiling with mingw-gcc
[skip ci]
2017-10-10 14:30:01 +02:00
Steffen Jaeckel d1fc4a71d3 LLP64 indicates a windows environment
as of [1] the only architecture using a LLP64 data model is windows

[1]: https://en.wikipedia.org/wiki/64-bit_computing
2017-10-03 15:18:33 +02:00
Steffen Jaeckel 1346d9830a there's no __int128 on MSVC, fall back to 32bit MPI's 2017-10-03 09:19:50 +02:00
Steffen Jaeckel fd81ac754a Merge pull request #88 from libtom/const_api
Add 'const' keyword in various places. Adopted from Tcl
2017-10-02 17:13:56 +02:00
Francois Perrad d293ab6604 more constify 2017-09-30 22:57:00 +02:00
nijtmans f674018a41 constify remaining functions 2017-09-20 16:59:43 +02:00
Steffen Jaeckel eca200d7cf fix mp_cmp() and mp_cmp_mag() API 2017-09-20 15:02:52 +02:00
nijtmans 41de585524 Add 'const' keyword in various places. Adopted from Tcl 2017-09-19 13:35:15 +02:00
Steffen Jaeckel 5aec0c4094 add `astyle` make target 2017-09-15 12:47:06 +02:00
Steffen Jaeckel fedc15b625 Merge pull request #85 from fperrad/20170830_format
rebase formating code
2017-09-15 12:46:38 +02:00
Francois Perrad 2344bcea3a format with astyle (step 6) 2017-08-30 20:23:46 +02:00
Francois Perrad e2cd147a46 generate tommath_class.h with astyle format
(refactor with heredoc)
2017-08-30 20:23:28 +02:00
Francois Perrad f89cda034b format with astyle (step 5) 2017-08-30 20:23:26 +02:00
Francois Perrad a20d9b102c format with astyle (step 4) 2017-08-30 20:23:22 +02:00
Francois Perrad 4439fae168 format with astyle (step 3) 2017-08-30 20:23:20 +02:00
Francois Perrad 9eed07f09b format with astyle (step 2) 2017-08-30 20:23:17 +02:00
Francois Perrad 45771cc91c format with astyle (step 1) 2017-08-30 20:09:49 +02:00
Francois Perrad 71266b3eb9 format block 2017-08-30 20:09:38 +02:00
Francois Perrad ef6c71f1d2 return type of function on the same line 2017-08-30 20:09:32 +02:00
Francois Perrad cdbb9ca925 fix format 2017-08-30 20:09:28 +02:00
Francois Perrad 82a2d385db refactor indentation of preprocessor directives 2017-08-30 20:09:16 +02:00
Francois Perrad aab1b3d99f split label & statement 2017-08-30 20:09:13 +02:00
Francois Perrad d263dc727c add space after keyword 2017-08-30 20:09:07 +02:00
Francois Perrad d6a9a58f64 remove space after function name and cast 2017-08-30 20:08:58 +02:00
Francois Perrad 378be117a3 add missing space after comma 2017-08-30 05:52:31 +02:00
Francois Perrad 0135749e44 convert tab indentation 2017-08-30 05:52:16 +02:00
Francois Perrad 0ff04a4f6f remove hard tab 2017-08-30 05:51:22 +02:00
Francois Perrad 15681f9a12 trim trailing spaces 2017-08-30 05:51:11 +02:00
Steffen Jaeckel a0a86c696a Merge branch 'tcl-fixes' into develop
This closes #75
2017-08-29 23:48:49 +02:00
Steffen Jaeckel b2971381e5 don't be that strict regarding illegal characters in `mp_read_radix()` 2017-08-29 23:48:32 +02:00
Kevin B Kenny ba95ef76e0 ensure string is null-terminated 2017-08-29 23:48:32 +02:00
Kevin B Kenny 71e3024f30 fix mp_iseven 2017-08-29 23:48:32 +02:00
Steffen Jaeckel f5dfd8e75e fix date in changes.txt 2017-08-29 22:51:01 +02:00
Steffen Jaeckel 89f95214dc v1.0.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 Comment: Gnu Privacy Tools
 
 iF4EABEIAAYFAlmlzkEACgkQrwyxdiHtrXI+lAD/WnR+nLczFnlApnQuakw+ALDC
 qx5j7ORoqvOWjgxuOcsA/RysZuz71OMK0PwjGOBZtUaseRF6EqSUQ+Y7opygFBBF
 =H/gr
 -----END PGP SIGNATURE-----

Merge tag 'v1.0.1' into develop

v1.0.1
2017-08-29 22:27:52 +02:00
Steffen Jaeckel 5953f62e42 Merge branch 'release/1.0.1' 2017-08-29 22:27:36 +02:00
Steffen Jaeckel 29007333fd bump version 2017-08-29 22:27:20 +02:00
Steffen Jaeckel 95fd0f8d66 handle non-existing 'timeout' on MacOS 2017-08-29 22:26:59 +02:00