Thank you!

This is a vast improvement for me. What used to take 75 seconds now
takes 2. It still seems to scale with the number of allocations, so I
can make it take 20 seconds by doing 10 times the allocations.
However, that takes 750 seconds with the old version.

-Greg

On Sun, Feb 14, 2010 at 6:21 PM, Mounir IDRASSI
<mounir.idra...@idrix.net> wrote:
> Hi,
>
> Just in case you still don't have a version of libeay32.dll with the patch,
> I'm attaching with this email the one I have just compiled by applying the
> suggested patch to the latest snapshot of the 0.9.8 source tree.
>
> Cheers,
>
> --
> Mounir IDRASSI
> IDRIX
> http://www.idrix.fr
>
>
> On 2/13/2010 5:13 PM, gha...@gmail.com wrote:
>>>
>>> I don't have access to Windows 7 at the moment so I can't test this
>>> myself. I've heard that the Windows 7 behaviour is not a bug and the
>>> only reason previous versions weren't so slow is that *they* are buggy.
>>>
>>> I'd suggest you try one workaround mentioned above. Include a time limit
>>> on the inner loop. You can do this by duplicating the GetTickCount line.
>>> I.e. in rand_win.c at about line 530 you add the line indicated:
>>>
>>>                while (heap_next(&hentry)
>>> -------------->           &&  (!good ||
>>> (GetTickCount()-starttime)<MAXDELAY)
>>>                                                        &&  --entrycnt>
>>>  0);
>>>
>>> If that makes the delay more tolerable I'll commit it as a temporary fix
>>> for now. Longer term we need to find an alternative technique for
>>> additional entropy gathering.
>>>
>>
>> I do not yet have an OpenSSL build environment set up. If you have any
>> Windows environment, could you compile a DLL with the change, and I'll
>> test it on Windows 7?
>>
>> -Greg
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> Development Mailing List                       openssl-dev@openssl.org
>> Automated List Manager                           majord...@openssl.org
>>
>
> --
> --
> Mounir IDRASSI
> IDRIX
> http://www.idrix.fr
>
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to