Yes, that should be the right fix. Thanks for reporting this bug and
providing the fix.
--------------------------------------------------
From: "Andrew Bromba" <
Andrew.Bromba@...>
Sent: Friday, July 03, 2009 2:59 AM
To: "Crypto++ Users" <
cryptopp-users@...>
Subject: Re: Seg fault in x64dll.asm in x64 Release configuration
>
> Hello again,
>
> changing the line 69 in x64dll.asm from
>
> mov rdi, QWORD PTR [?g_cacheLineSize@CryptoPP@@3IA]
>
> to
>
> mov edi, DWORD PTR [?g_cacheLineSize@CryptoPP@@3IA]
>
> solved the problem for me. Please confirm that what I am doing makes
> sense, because I am not used to assembly language:
>
> - g_cacheLineSize is a word32 -> DWORD PTR [...] tells the compiler
> about it
> - edi is 32Bit access to rdi register -> the high order bits in rdi
> are zero-padded which is what I want
>
> Best regards,
>
> Andrew Bromba
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to
cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---