Developer Guide and Reference for Intel® Integrated Performance Primitives Cryptography
A newer version of this document is available. Customers should click here to go to the newest version.
ECCPNegativePoint
Finds an elliptic curve point which is an additive inverse for the given point over GF(p).
Syntax
IppStatus ippsECCPNegativePoint(const IppsECCPPointState* pP, IppsECCPPointState* pR, IppsECCPState* pECC);
Include Files
ippcp.h
Parameters
pP |
Pointer to the elliptic curve point P. |
pR |
Pointer to the elliptic curve point R. |
pECC |
Pointer to the context of the elliptic cryptosystem. |
Description
The function finds an elliptic curve point R over a prime finite field GF(p), which is an additive inverse of the given point P, that is, R =- P .
The elliptic curve domain parameters must be hitherto defined by one of the functions: ECCPSet or ECCPSetStd.
Return Values
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 one of the contexts pointed by pP, pR, or pECC is not valid. |