Compares two points on the elliptic curve over the GF(p) field.
IppStatus ippsGFPECCmpPoint(const IppsGFPECPoint *pA, const IppsGFPECPoint *pB, IppsElementCmpResult *result, IppsGFPECState *pEC);
pA |
Pointer to the context of the first point on the elliptic curve. |
pB |
Pointer to the context of the second point on the elliptic curve. |
result |
The result of the parameter verification. |
pEC |
Pointer to the context of the elliptic curve. |
This function is declared in the ippcp.h file. The function compares coordinates of two points on the elliptic curve over the GF(p) field and returns the result in *result. The result of the comparison may have the following values:
ippElementEQ |
The points are equal. |
ippElementNE |
The points are not equal. |
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 context parameters does not match the operation. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.