Dr. Stephen Henson 09599b52d4 Auto DH support.
Add auto DH parameter support. This is roughly equivalent to the
ECDH auto curve selection but for DH. An application can just call

SSL_CTX_set_auto_dh(ctx, 1);

and appropriate DH parameters will be used based on the size of the
server key.

Unlike ECDH there is no way a peer can indicate the range of DH parameters
it supports. Some peers cannot handle DH keys larger that 1024 bits for
example. In this case if you call:

SSL_CTX_set_auto_dh(ctx, 2);

Only 1024 bit DH parameters will be used.

If the server key is 7680 bits or more in size then 8192 bit DH parameters
will be used: these will be *very* slow.

The old export ciphersuites aren't supported but those are very
insecure anyway.
2014-03-28 14:49:04 +00:00
..
2012-04-16 17:42:36 +00:00
2013-11-01 21:41:52 +00:00
2013-04-09 14:02:48 +01:00
2013-09-17 18:55:41 +01:00
2013-04-09 14:02:48 +01:00
2012-07-05 13:20:19 +00:00
2009-04-23 16:32:42 +00:00
2014-02-26 15:33:11 +00:00
2014-02-20 18:48:56 +00:00
2013-02-06 14:16:55 +00:00
2014-01-07 15:39:21 +00:00
2014-02-20 22:55:24 +00:00
2014-03-28 14:49:04 +00:00
2014-03-28 14:49:04 +00:00
2010-06-12 14:13:23 +00:00
2002-07-10 07:01:54 +00:00
2011-11-21 22:52:13 +00:00
2013-05-13 22:49:58 +02:00
2014-03-28 14:49:04 +00:00
2013-11-06 14:18:41 +00:00
2014-03-28 14:49:04 +00:00
2014-03-28 14:49:04 +00:00
2014-02-05 18:25:46 +00:00
2012-07-05 13:20:02 +00:00
2014-03-28 14:49:04 +00:00
2014-03-28 14:49:04 +00:00
2009-12-27 22:58:55 +00:00
2011-12-14 22:17:06 +00:00