Hi,
After unpacking the CVS tree the
compile/link succeeded. Just with one warning for linking the lib:
eccrypto.obj
: warning LNK4221: no public symbols found; archive member will be inaccessible
I took a quick look in
the test program and saw no tests for elliptic curves provided.
I’m interested in
testing the ECC with ECDSA sign/verif and ECIES enc/dec using the primes(2P)
and not 2|m polinoom.
Are there any examples available to have a
start to use this library doing ECC ?
From: Søren Dreijer
[mailto:[EMAIL PROTECTED]
Sent: dinsdag 6 juni 2006 16:24
To: [email protected]
Subject: RE: SV: Crypto++ on
VS.NET2005
However, as mentioned in the
following post, using VS 2005 and Crypto++ is a bad idea:
http://www.mail-archive.com/[email protected]/msg02732.html
At least for some classes.. (I'm still waiting for a reply from the developers
of the library)
Cheers,
> Subject: SV: Crypto++ on VS.NET2005
> Date: Tue, 6 Jun 2006 12:42:36 +0200
> From: [EMAIL PROTECTED]
> To: [email protected]
>
> Thanks!
>
>
It seems to work very well now! And to get an answer within 3 minutes! :-)
>
> Regards
> Nicklas
>
> -----Ursprungligt meddelande-----
> Från: Marko Kaiser [mailto:[EMAIL PROTECTED]
> Skickat: den 6 juni 2006 12:51
> Till: [email protected]
> Ämne: RE: Crypto++ on VS.NET2005
>
> Hello Nicklas,
>
>
Wie Dei published a snapshot from the cvs tree which can be compiled with VS .NET 2005.
>
> See here: http://www.ibiblio.org/weidai/cryptopp_20060419.zip
>
> Kind regards,
> Marko
>
> -----Original Message-----
> From: Nicklas Kittelmann [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 06, 2006 10:42 AM
> To: [email protected]
> Subject: VB: Crypto++ on VS.NET2005
>
> Hi!
>
>
I have used Crypto++ for a few years now, starting with 4.2 on VS6.0 and step by step I've moved up to VS.NET2005 (on a 32-bit Win2003 running on a Athlon 64 X2).
>
>
So, I guess you already understand my problem... Crypto++ isn't supported on VS2005.
>
>
But I still thought I'd ask if that support is a far distance in time away, or if I should forget it and go back to VS.NET2003 ?
>
>
I've done 2 tests: Compiling 5.2.1 on VS.NET2005 goes the best; the errors are in 4 categories:
>
*) A few deprecated functions: seems easy to fix
> *) 1500 warnings of truncation in conversions, seems easy to fix
>
*) A few errors where an explicit cast is needed between char * and LPCWSTR, easy to fix
>
*) Some template errors (which I have no idea on how to fix) like:
> 1>d:\programs\microsoft visual studio 2005\vc\include\xutility(303) :
>
error C2664: 'bool CryptoPP::FreqLessThan::operator ()(const CryptoPP::HuffmanNode &,const CryptoPP::HuffmanNode &) const' : cannot convert parameter 2 from 'const int' to 'const CryptoPP::HuffmanNode &'
> 1> Reason: cannot convert from 'const int' to 'const
> CryptoPP::HuffmanNode'
>
1> No constructor could take the source type, or constructor
> overload resolution was ambiguous
>
1> d:\programs\microsoft visual studio
> 2005\vc\include\algorithm(2099) : see reference to function template instantiation 'bool std::_Debug_lt_pred<_Pr,_Ty,T>(_Pr,const _Ty1 &,_Ty2 &,const wchar_t *,unsigned int)' being compiled
> 1> with
> 1> [
>
1> _Pr=CryptoPP::FreqLessThan,
>
1> _Ty=int,
> 1> T=CryptoPP::HuffmanNode,
>
1> _Ty1=int,
>
1> _Ty2=CryptoPP::HuffmanNode
> 1> ]
>
1> d:\programs\microsoft visual studio
>
2005\vc\include\algorithm(2113) : see reference to function template instantiation '_FwdIt std::_Upper_bound<CryptoPP::HuffmanNode*,_Ty,std::iterator_traits<_Iter>
>
::difference_type,_Pr>(_FwdIt,_FwdIt,const _Ty &,_Pr,_Diff *)' being compiled
> 1> with
> 1> [
>
1> _FwdIt=CryptoPP::HuffmanNode *,
>
1> _Ty=int,
>
1> _Iter=CryptoPP::HuffmanNode *,
>
1> _Pr=CryptoPP::FreqLessThan,
>
1> _Diff=std::iterator_traits<CryptoPP::HuffmanNode
> *>::difference_type
> 1> ]
>
1> d:\data\projects\test1\test1\zdeflate.cpp(115) : see reference
>
to function template instantiation '_FwdIt std::upper_bound<CryptoPP::HuffmanNode*,int,CryptoPP::FreqLessThan>(_Fwd
> It,_FwdIt,const _Ty &,_Pr)' being compiled
> 1> with
> 1> [
>
1> _FwdIt=CryptoPP::HuffmanNode *,
>
1> _Ty=int,
>
1> _Pr=CryptoPP::FreqLessThan
> 1> ]
>
>
>
Trying 5.1 on VS.NET2005 produces even worse results...
>
> /Nicklas Kittelmann
>
>
It's the future of instant messaging: Try Windows Live Messenger beta for free