Help on Diffie Hellman key exchange
tmraz at redhat.com
Tue Nov 12 08:14:32 UTC 2019
On Mon, 2019-11-04 at 17:34 -0500, Jason Qian via openssl-users wrote:
> We have an application that does the Diffie Hellman key exchange
> It works fine, but under heavy loaded conditions, sometimes an
> invalide secret been generated and other side couldn't decrypt the
> data (the secret seems offset by one).
> The client side is c++ and the server side is java.
> DH_compute_key(secretKey, bnY, m_DH);
> Someone in the openssl group also talks about a similar issue, but
> not sure if have a solution.
Could it be a padding issue? I.E. use DH_compute_key_padded() instead.
No matter how far down the wrong road you've gone, turn back.
[You'll know whether the road is wrong if you carefully listen to your
More information about the openssl-users