Karel Miko
4f12e41d29
fix trailing ;
2017-06-12 16:35:27 +02:00
Karel Miko
114b694735
trying to fix dh_shared_secret - #119
2017-06-11 23:20:46 +02:00
Karel Miko
bc4236d90f
tuning dh_make_key
2017-06-11 21:12:14 +02:00
Karel Miko
361778d2ac
another dh_make_key redesign
2017-06-11 19:43:08 +02:00
Karel Miko
71884788e3
fix warning: comparison between signed and unsigned integer
2017-06-11 10:12:18 +02:00
Karel Miko
532c511f52
improved dh_make_key
2017-06-10 23:02:30 +02:00
Steffen Jaeckel
c9f4628693
don't call rng_make_prng()
from dh_make_key()
...
While testing with multiple threads I had spurious errors where some tests
can't read from the PRNG.
If I tracked it down correctly that's caused by `dh_make_key()`
calling `rng_make_prng()` which re-initializes the selected PRNG.
I like the idea of "refreshing" the PRNG with entropy from a hopefully
secure RNG before generating a new key, but I don't think it's the duty
of a key-generation function to ensure that, but merely the application
that implements key-generation.
2017-06-09 18:56:04 +02:00
Steffen Jaeckel
f31d8ff864
implement smaller private key sizes
2017-06-09 18:33:51 +02:00
Karel Miko
f46b32ba2e
better DH primes
2017-06-09 14:14:07 +02:00
Francois Perrad
5d7036ebe2
remove hard tab
2017-02-24 16:26:48 +01:00
Steffen Jaeckel
318dbbccc3
fix wrongly used LTC_ARGCHK/LTC_ARGCHKVD macros
2015-12-05 14:31:37 +01:00
Steffen Jaeckel
2bdebb3932
dh: remove including of c-files
2014-04-04 00:38:08 +02:00
Steffen Jaeckel
65fd19c1fb
dh: fix renamed macro
2014-02-25 10:09:35 +01:00
Steffen Jaeckel
8e7777b554
trim trailing spaces/clean up
2014-02-16 18:41:28 +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
72412f6dac
added libtomcrypt-1.06
2010-06-16 12:38:41 +02:00
Tom St Denis
3964a6523a
added libtomcrypt-1.03
2010-06-16 12:38:34 +02:00
Tom St Denis
6ac9952498
added libtomcrypt-1.01
2010-06-16 12:38:29 +02:00
Tom St Denis
bfc2f5b078
added libtomcrypt-1.00
2010-06-16 12:38:26 +02:00