Files
crypto/ssh
Adam Langley dc7f3af03e ssh: bound DH public values to [2, p-2].
Previously this code bounded the values to [1, p-1]. This protects
against invalid values that could take lots of CPU time to calculate
with. But the standard bounding is [2, p-2] so mirror that.

Since the DH exchange is signed anyway, this is not a security fix.

Change-Id: Ibef01805a596a433b0699d7a09c076344fa8c070
Reviewed-on: https://go-review.googlesource.com/30590
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-10 21:14:46 +00:00
..
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2015-05-14 18:39:32 +00:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00