Thanks a lot Joe,
I changed the code and now I transfer the DH public value (struct BIGNUM) in
the binary form and it works fine.
Most probably it was not endian-normalized (even though I put attention to
it, because it's a multi platform application).
I am too embarrassed to admit that I sent the BIGNUM as is... so maybe it's
a sign to do things right!!!
Thanks a lot again for your patient.
Ohad.
-----Original Message-----
From: Joseph Ashwood [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: Re: symmetric key produced by Diffie-Helman alg. not equal in
both sides
And let me say it again, this time with a bit more information.
Windows runs on x86, which is little endian, Linux I assume you are also
running on little-endian (x86). Solaris I assume you are running on
UltraSPARC which if I remember correctly is big-endian. You are not
transferring your keys correctly, they need to be endian-normalized.
Joe
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]