On Thu, Nov 10, 2005, Steffen Fiksdal wrote:
I have investigated some more on this issue.
I have traced the problem down to the MONT_HELPER call int the
RSA_eay_public_decrypt function in file rsa_eay.c.
If I mutex this call everything works fine, if I don't the verifications
failes in a few occations.
So it seems that the MONT_HELPER has a threading issue ?
What OS are you using and is it multi processor or does it use hyperthreading?
It seems strange that this small macro should create any threading issues.
I use Linux 2.4.21-27 SMP. It has two Intel processors, but only one is
physically in use. No hyperthreading.
I should try this on a non-SMP kernel and check ?
Maybe it's the pthread implementation that does not cope well with SMP.
Best Regards
Steffen
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]