dh: Fix CVE-2016-0739
dh: Fix CVE-2016-0739

Due to a byte/bit confusion, the DH secret was too short. This file was
completely reworked and will be commited in a future version.

Signed-off-by: Aris Adamantiadis <78e305742ac743ecf22d8139502576ac8709e0ad@0xbadc0de.be>
Reviewed-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@cryptomilk.org>

nviennot/libssh,kedazo/libssh,nviennot/libssh,kedazo/libssh,nviennot/libssh,kedazo/libssh,kedazo/libssh,nviennot/libssh