Visible to Intel only — GUID: GUID-D5B14706-7AA4-485A-8046-C291DC6DF54E
Visible to Intel only — GUID: GUID-D5B14706-7AA4-485A-8046-C291DC6DF54E
GFpECCmpPoint
Compares two points.
Syntax
IppStatus ippsGFpECCmpPoint(const IppsGFpECPoint* pP, const IppsGFpECPoint* pQ, IppECResult* pResult, IppsGFpECState* pEC);
Include Files
ippcp.h
Parameters
pA |
Pointer to the context of the first elliptic curve point. |
pQ |
Pointer to the context of the second elliptic curve point. |
pResult |
Pointer to the result of the comparison. |
pEC |
Pointer to the context of the elliptic curve. |
Description
This function compares the coordinates of two points on the elliptic curve over the finite field and returns the result in pResult. The result of the comparison may have the following values:
ippECPointIsEqual |
The points are equal. |
ippECPointIsNotEqual |
The points are not equal. |
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 any of the specified contexts does not match the operation. |
ippStsOutOfRangeErr |
Indicates an error condition if any of the points does not belong to the finite field over which the elliptic curve is initialized. |