Verifies whether the point belongs to the elliptic curve over the GF(p) field.
IppStatus ippsGFPECVerifyPoint(const IppsGFPECPoint *pPoint, IppsECResult *result, IppsGFPECState *pEC);
pPoint |
Pointer to the context of the elliptic curve point. |
result |
The result of the verification. |
pEC |
Pointer to the context of the elliptic curve. |
This function is declared in the ippcp.h file. The function verifies whether the given point belongs to the elliptic curve over the GF(p) field. The result of the verification is returned in *result and may have the following values:
ippECValid |
The point belongs to the curve. |
ippECPointIsNotValid |
The point does not belong to the curve. |
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.