Help on Diffie Hellman key exchange

Jason Qian jqian at
Mon Nov 4 22:34:36 UTC 2019


   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.

Thanks for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list