Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

cryptography:ippsECCPComparePoint misprint

achrzesz2
New Contributor I
195 Views
Hi
In ipp 6.1.0.038 (64) the function ippsECCPComparePoint returns:

Points are equial

A Chrzeszczyk
0 Kudos
4 Replies
Vladimir_Dudnik
Employee
195 Views

Hello,

what do you actually mean? According function description it is one of the valid function results..

ECCPComparePoint

Compares two points on the elliptic curve defined over GF(p).

Syntax

IppStatus ippsECCPComparePoint(const IppsECCPPoint* pP, const IppsECCPPoint* pQ, IppECResult* pResult, IppsECCPState* pECC);

Parameters

pP

Pointer to the elliptic curve point P.

pQ

Pointer to the elliptic curve point Q.

pResult

Pointer to the comparison result of two points: P and Q.

pECC

Pointer to the context of the elliptic cryptosystem.

Description

The function compares two points P and Q on the elliptic curve defined over a prime finite field GF(p) and allocates the comparison result in accordance with the pointer pResult.

The elliptic curve domain parameters must be hitherto defined by one of the functions: ippsECCPSet or ippsECCPSetStd.

The comparison result of two points P and Q can take one of the following values:

ippECPointIsEqual

Points P and Q are equal.

ippECPointIsNotEqual

Points P and Q are different.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsContextMatchErr

Indicates an error condition if one of the contexts pointed by pP or pECC is not valid.

achrzesz2
New Contributor I
195 Views

Hello,

what do you actually mean? According function description it is one of the valid function results..


Hello,
the mentioned funtion should return : Points are equal
and returns: Points are ***equial***

It is not essential but needs needs improvement.

A Chrzeszczyk
achrzesz2
New Contributor I
195 Views
Quoting - achrzesz2

Hello,
the mentioned funtion should return : Points are equal
and returns: Points are ***equial***

It is not essential but needs needs improvement.

A Chrzeszczyk
Hello,
I haven't mentioned that I'm using Linux 64bit version (6.1.0.038).
A Chrzeszczyk
Vladimir_Dudnik
Employee
195 Views
I see, thank a lot for catching this, we will correct message in the next nearest update.

Regards,
Vladimir
Reply