Using "ZCCryptEC161CreateContext" in ZC API Library.


[ Follow Ups ] [ BasicCard User Forum ]

Posted by vutaviva (203.210.214.57) on June 28, 2006 at 13:45:56:

Hi,
I have included *.H and linked *.lib properly with my Visual Studio 2005 (Pro Edition). And I compiled it successfully but when runtime, I used that function and the returned result was "ZCCRYPT_ERROR_PARM". My source code :

PZCCRYPT_CONTEXT_EC161 pEC161;
ZCCRYPTRET cryret;
cryret = ZCCryptEC161CreateContext(pEC161,1);
if (cryret != ZCCRYPT_NOERROR)
{
return false;
}

I think the error happened because ZCCryptEC161CreateContext could not find out the data of curve number 1 ?!
Please, help me solve this problems. Thank you.



Follow Ups:


[ Follow Ups ] [ BasicCard User Forum ]