hello, everyone.
i am using Cryptlib v4.1 for ECC-239.
I am using VC6.0 sp6.
It works well in simple test, but error in complex program.
sample code is following
int main(int argc, char* argv[])
{
//////////////////////////////////////////////////////////////////////////
ECParameters<EC2N> params239(ASN1::sect239k1());
Integer kTest239(3);
int i;
int nByteCount239;
byte rx239[256];
byte ry239[256];
EC2N::Point basePoint239(params239.GetBasePoint());
EC2N::Point rPoint239;
rPoint239=params239.GetCurve().Multiply(kTest239,basePoint239);
nByteCount239=rPoint239.x.ByteCount();
for(i=0;i<nByteCount239;i++)
{
rx239[i]=rPoint239.x.GetByte(i);
}
printf("Hello World!\n");
return 0;
}
It works well, but when I added socket and other codes, unhandled
exception handler....
when I debuged code, ECC class member is not initialized properly.
i referened following doc,but can't find why it crashed.
http://www.codeproject.com/Articles/16388/Compiling-and-Integrating-Crypto-into-the-Microsof
please help me.
--
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.