new point(curve, x, y)
Represents a point on a curve in affine coordinates.
Parameters:
Name | Type | Description |
---|---|---|
curve |
sjcl.ecc.curve | The curve that this point lies on. |
x |
bigInt | The x coordinate. |
y |
bigInt | The y coordinate. |
Methods
mult2(k, k2, affine) → {sjcl.ecc.pointJac}
Multiply this point by k, added to affine2*k2, and return the answer in Jacobian coordinates.
Parameters:
Name | Type | Description |
---|---|---|
k |
bigInt | The coefficient to multiply this by. |
k2 |
bigInt | The coefficient to multiply affine2 this by. |
affine |
sjcl.ecc.point | The other point in affine coordinates. |
Returns:
The result of the multiplication and addition, in Jacobian coordinates.
- Type
- sjcl.ecc.pointJac