Steffen Jaeckel
7453eddae9
improve ltc_math_descriptor a bit
...
* introduce LTC_MILLER_RABIN_REPS which is used as default value
in the isprime() implementations
2017-06-22 11:55:08 +02:00
Steffen Jaeckel
fe19dad623
replace SVN tags
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
4dc211e19d
clean-up headers
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
258de3cecc
use ltc_mp_digit instead of unsigned long
2017-06-15 01:07:44 +02:00
Karel Miko
54a26525dc
avoid C++ style comments
2017-03-15 15:22:06 +01:00
Steffen Jaeckel
afaef3993c
fix compiler warning when compiling with GMP_DESC
2014-09-10 16:16:46 +02:00
Steffen Jaeckel
f597f29ece
math: change get_digit() return value
...
unsigned long is 32bit wide when compiling with the compiler flag "-mx32"
but the digit size of the math libraries is still 64 bit which lead to
the buggy ecc code.
Therefore define a new type ltc_mp_digit with the correct width and use
that as return value of get_digit()
Has been tested with all three math providers
2014-09-10 16:15:35 +02:00
Steffen Jaeckel
ca42862d52
math descriptor: add parameter "b" to isprime()
2014-05-09 23:07:41 +02:00
Steffen Jaeckel
5d2fe0da8c
trim trailing spaces
2014-05-09 23:07:41 +02:00
Patrick Pelletier
e3acd4cabe
Make GMP use uppercase to match LibTomMath.
2012-11-18 15:24:11 +01:00
Patrick Pelletier
3fbccfcb5c
support base 64 for GMP
2012-11-18 15:24:11 +01:00
Patrick Pelletier
d61c537a2a
missing a comma
2012-11-18 15:20:08 +01:00
Steffen Jaeckel
8dc8a2d551
Added define LTC_RSA_BLINDING to be able to disable rsa blinding
2011-03-21 22:50:49 +01:00
Steffen Jaeckel
edf11c62c0
Diffie-Hellman/Math: introduced the proposed changes by Alexander Kurpiers
...
addmod and submod are moved to the end of the math descriptor, in order
to be able to run existing software against a new version of ltc without need
to rebuild the software.
2011-01-18 21:16:11 +01:00
Steffen Jaeckel
6fecec107d
rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers
2011-01-18 20:06:03 +01:00
Tom St Denis
bbc52b9e1b
added libtomcrypt-1.17
2010-06-16 12:39:13 +02:00
Tom St Denis
e24b01d392
added libtomcrypt-1.16
2010-06-16 12:39:09 +02:00
Tom St Denis
1eed98f629
added libtomcrypt-1.13
2010-06-16 12:39:00 +02:00
Tom St Denis
2945dea3e2
added libtomcrypt-1.12
2010-06-16 12:38:57 +02:00
Tom St Denis
64d7ebe166
added libtomcrypt-1.11
2010-06-16 12:38:54 +02:00