Open the file "rijndael.cpp" and change:
CRYPTOPP_NAKED void CRYPTOPP_FASTCALL
Rijndael_Enc_AdvancedProcessBlocks(void *locals, const word32 *k)
{
....
#if !defined(_MSC_VER) || (_MSC_VER < 1400)
AS_PUSH_IF86(bx)
#endif
....
#if !defined(_MSC_VER) || (_MSC_VER < 1400)
AS_POP_IF86(bx)
#endif
....
}
to:
CRYPTOPP_NAKED void CRYPTOPP_FASTCALL
Rijndael_Enc_AdvancedProcessBlocks(void *locals, const word32 *k)
{
....
#if !defined(_MSC_VER) || (_MSC_VER <= 1400) // Is this condition
needed ?
AS_PUSH_IF86(bx)
#endif
....
#if !defined(_MSC_VER) || (_MSC_VER <= 1400) // Is this condition
needed ?
AS_POP_IF86(bx)
#endif
....
}
BTW, is the condition "!defined(_MSC_VER) || (_MSC_VER <= 1400)"
really needed ? I think AS_PUSH_IF86(bx)/AS_POP_IF86(bx) should be on
unconditionally for correct prolog/epilog code, although I dont have
any compiler except gcc & msvc2005sp1 to test this.
Regards,
An
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---