Adds two points on the elliptic curve over the GF(p) field.
IppStatus ippsGFPECAddPoint(const IppsGFPECPoint *pA, const IppsGFPECPoint *pB, IppsGFPECPoint *pR, IppsGFPECState *pEC);
pA |
Pointer to the context of the first summand point on the elliptic curve. |
pB |
Pointer to the context of the second summand point on the elliptic curve. |
pR |
Pointer to the context of the resulting point on the elliptic curve. |
pEC |
Pointer to the context of the elliptic curve. |
This function is declared in the ippcp.h file. The function computes the coordinates of the elliptic curve point that equals the sum of the two given points. The following pseudocode represents this operation: R = A + B.
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.