Negates an elliptic curve point.
#include "hueccalc.h"
int hu_ECCalcNeg(sb_Params eccParams, sb_ECCalcECPoint point, sb_ECCalcECPoint resultPoint, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
ECC parameters object.
The point.
Negation of the point.
A global context
resultPoint = -point
Input and output elliptic curve point objects can be the same.
ECC parameters object is NULL.
ECC parameters object is invalid.
The elliptic curve point object is NULL.
The elliptic curve point object is invalid.
Memory allocation failure.
Operation failed.
Operation resulted in point at infinity (caller to interpret as error or not).
Success.