On Saturday, November 30, 2013 12:36:49 AM UTC-5, vineet jain wrote: > > Trying to compile cryptlib project as a static library, but getting a > compilation error when vmac.cpp is compiled : > > *../AppData/Local/Temp/ccqfXDHE.s: Assembler messages:* > *1>..\AppData\Local\Temp\ccqfXDHE.s(5652): error : suffix or operands > invalid for `adc'* > > Following this, i tried disabling the assembly code present in VMAC.cpp > using the statement : #define CRYPTOPP_DISABLE_ASM / #define > CRYPTOPP_DISABLE_X86ASM. The compiler still wasn't happy and complained the > following error then : > > *nacl_sdk\nacl_sdk\cryptopp562\vmac.cpp(832): internal compiler error : in > add_const_value_attribute, at dwarf2out.c:11263* > > vmac.cpp(832) is the last line line of code in this file which is > : NAMESPACE_END , so not getting what exactly this is all about. > > Note: i am compiling this for NaCl(Native client for Google chrome) > platform, though i have to agree compilation for Win32 platform goes > through successfully. So any insight as what this error is all about would > be very helpful. >
I haven't see "*internal compiler error"* in quite some time. What compiler are you using? If its an older GCC, it looks like you should consider upgrading since this appears to have been reported back in 2009. Also, DJB is very sensitive about timing leaks - some say he's fanatical (but he is correct ;). He may not be happy if you use a library like Crypto++ or OpenSSL since they sometimes perform variable-time operations on secret data. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.