Developer Reference for Intel® Integrated Performance Primitives Cryptography
Computes the sum of two points on an elliptic curve.
IppStatus ippsGFpECAddPoint(const IppsGFpECPoint* pP, const IppsGFpECPoint* pQ, IppsGFpECPoint* pR, IppsGFpECState* pEC);
ippcp.h
pA |
Pointer to the context of the first point on the elliptic curve to be added. |
pQ |
Pointer to the context of the second point on the elliptic curve to be added. |
pR |
Pointer to the context of the resulting point on the elliptic curve. |
pEC |
Pointer to the context of the elliptic curve. |
This function computes the coordinates of the elliptic curve point that is equal to the sum of two given points. The following pseudocode represents this operation: R = P + Q.
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified 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 specified points does not belong to the finite field over which the elliptic curve is initialized. |