- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
This is Sreekanth here. We are using an old version of IPP library, in prebuilt form from one of the other teams. (This other team is no more with Intel).
However, we have a crypto module in our platform that supports ECC operations. To this end, we are using this API, ippsECCPGet during the generation of ECC keys.
When we use this API we see this error, ippStsLnNegArg, not sure why, though.
Could anyone please help?
Best Regards
Sreekanth Muralidharan
- Tags:
- Development Tools
- General Support
- Intel® Integrated Performance Primitives
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
follow the IPP Crypo manual (https://software.intel.com/en-us/ipp-crypto-reference-eccpget). ippsECCPGet doesn't return ippStsLnNegArg status. Could you give us a short example which we could build and check the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
which version of IPP Crypto do you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Status code "ippStsLnNegArg" defined in IPP (but in crypto) and means Negative Argument in Ln function.
So, the situation is not clear. Let us know
1) version of IPP you are using
2) If you send short reproducer we can try to to detect the root case
Consider possibility to re-fresh the library
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sergey Kirillov (Intel) wrote:Status code "ippStsLnNegArg" defined in IPP (but in crypto) and means Negative Argument in Ln function.
So, the situation is not clear. Let us know
Hi Gennady, Sergey,
>> 1) version of IPP you are usingHere is the version we use:
#define IPP_VERSION_MAJOR 2017
#define IPP_VERSION_MINOR 0
#define IPP_VERSION_UPDATE 1#define IPP_VERSION_STR "2017.0.1"
>> 2) If you send short reproducer we can try to to detect the root case
Here is the snippet of the sample code which we use to call ippsECCPGet
IppsBigNumState *pPr;
IppsBigNumState *pa;
IppsBigNumState *pb;
IppsBigNumState *pgx;
IppsBigNumState *pgy;
IppsBigNumState *pO;
int cftr = 0;// We initialize ECC context into ptr_ecc_state_context
IppStatus = ippsECCPGet(pPr, pa, pb, pgx, pgy, pO, &cftr, ptr_ecc_state_context);
printf("ippsECCPGet - %d\n", IppStatus);
Moreover, does this library send this error in case of a random number generator that might have not seeded with enough randomness?
>> Consider possibility to re-fresh the library
Thanks for the quick response
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page