|
From: Chuck H. <ch...@wo...> - 2002-10-13 12:01:20
|
>Hi,
>
>I'm compiling MacCVS Pro from source using CodeWarrior 8.2 Mac OS 10.2.
>The Crypto++ session that comes with MacCVS Pro gets version 4.1 of
>Crypto.
>When I try to compile this, I get a compile error (sorry I don't have a
>copy of it
>right now). When I update to the latest version of Crypto++, it
>compiles fine
>and I can compile the rest of MacCVS Pro.
>
>Has anyone else observed this behavior? Should the Crypto++ session
>be updated?
Yes, I also ran into this problem when I moved up to CW 8 (see errors
below). I didn't know that the latest Crypto++ source would work, so
I just used the libs compiled with CW7.
It sounds like the Crypto++ Session should be updated to use
CRYPTOPP_4_2 as the default revision. I don't know if any of the
other changes in 4.2 would cause problems. Here's what the README
says has changed:
4.2 - added HMAC support for longer keys
- added MD4 (which is not secure so use for compatibility purposes only)
- added compatibility fixes/workarounds for STLport 4.5, GCC 3.0.2,
and MSVC 7.0
- changed MD2 to use public domain code
- fixed a bug with decompressing multiple messages with the same object
- fixed a bug in CBC-MAC with MACing multiple messages with the same object
- fixed a bug in RC5 and RC6 with zero-length keys
- fixed a bug in Adler32 where incorrect checksum may be generated
Cheers - Chuck
Error Messages:
Error : function call
'[CryptoPP::RawIDA].PrepareBulkPolynomialInterpolationAt({lval} const
CryptoPP::GF2_32, {lval} unsigned long *, {lval} unsigned long,
std::__wrap_iterator<std::vector<unsigned long,
std::allocator<unsigned long>>, unsigned long *>, {lval} unsigned
long *, {lval} unsigned int)' does not match
'CryptoPP::PrepareBulkPolynomialInterpolationAt<...>(const __T0 &,
__T1 *, const __T1 &, const __T1 *, const __T1 *, unsigned int)'
ida.cpp line 119 [i].ptr, m_outputChannelIds[i],
m_inputChannelIds.begin(), m_w.ptr, m_threshold);
Error : function call
'[CryptoPP::RawIDA].PrepareBulkPolynomialInterpolation({lval} const
CryptoPP::GF2_32, {lval} unsigned long *,
std::__wrap_iterator<std::vector<unsigned long,
std::allocator<unsigned long>>, unsigned long *>, {lval} unsigned
int)' does not match
'CryptoPP::PrepareBulkPolynomialInterpolation<...>(const __T0 &, __T1
*, const __T1 *, unsigned int)'
ida.cpp line 135 kPolynomialInterpolation(field, m_w.ptr,
m_inputChannelIds.begin(), m_threshold);
Error : function call
'[CryptoPP::RawIDA].PrepareBulkPolynomialInterpolationAt({lval} const
CryptoPP::GF2_32, {lval} unsigned long *, {lval} unsigned long,
std::__wrap_iterator<std::vector<unsigned long,
std::allocator<unsigned long>>, unsigned long *>, {lval} unsigned
long *, {lval} unsigned int)' does not match
'CryptoPP::PrepareBulkPolynomialInterpolationAt<...>(const __T0 &,
__T1 *, const __T1 &, const __T1 *, const __T1 *, unsigned int)'
ida.cpp line 169 m_u.ptr, m_outputChannelIds[i],
m_inputChannelIds.begin(), m_w.ptr, m_threshold);
|