GFpECAddPoint
GFpECAddPoint
Computes the sum of two points on an elliptic curve.
Syntax
IppStatus ippsGFpECAddPoint(const IppsGFpECPoint*
pP
, const IppsGFpECPoint*
pQ
, IppsGFpECPoint*
pR
, IppsGFpECState*
pEC
);
Include Files
ippcp.h
Parameters
- 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.
Description
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
.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error or warning.
- ippStsNullPtrErr
- Indicates an error condition if any of the specified isNULL.
- 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.