- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
which version of IPP Crypto do you use?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite