Hi,
I'm trying to use the IPP-ECC functionality (for the first time), and I have a 'weird' issue.
Doing a very simple example in C on Linux, heavily inspired by https://software.intel.com/en-us/node/503782:
static IppsECCPState* newStd_256_ECP(void)
{
IppsECCPState *pCtx = NULL;
int ctxSize=0;
if (ippStsNoErr != ippsECCPGetSize(256, &ctxSize))
{
return NULL;
}
pCtx = malloc(ctxSize);
if (NULL == pCtx)
{
return NULL;
}
if (ippStsNoErr != ippsECCPInit(256, pCtx))
{
free(pCtx);
return NULL;
}
/*
if (ippStsNoErr != ippsECCPSetStd(IppECCPStd256r1, pCtx))
{
free(pCtx);
return NULL;
}
*/
return pCtx;
}
If I comment in the outcommented section (with the call to the ippsECCPSetStd(), but not even calling the overall newStd_256_ECP function at all), it seems as my program hangs, and after some time times out.
Is this something that has been observed before somehow, and do we have 'a solution' for this ?
- LSB