Computes linear combination of two points (sum of two integer multiplies).
#include "hueccalc.h"
int hu_ECCalcLinMult(sb_Params eccParams, sb_ECCalcOrderInt multIntA, sb_ECCalcECPoint pointA, sb_ECCalcOrderInt multIntB, sb_ECCalcECPoint pointB, sb_ECCalcECPoint resultPoint, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
ECC parameters object.
The multiplying integer to Point A.
Point A.
The multiplying integer to Point B.
Point B.
The result linear combination (containing only x-coordinate value).
A global context.
If the second EC point (pointB) is NULL, the generating point is used.
resultPoint = multIntA * pointA + multIntB * pointB
Any or all of the input and output elliptic curve point objects can be the same.
ECC parameters object is NULL.
ECC parameters object is invalid.
The point order integer object is NULL.
The point order integer 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.