Kind: global class
this: {ECP8}
Creates an instance of ECP8
Tests for ECP8 point equal to infinity
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
1 | if infinity, else returns 0 |
Copy ECP8 point to another ECP8 point
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
P | ECP8 instance |
Set ECP8 to point-at-infinity
Kind: instance method of ECP8
this: {ECP8}
conditional move of Q to P dependant on d
Kind: instance method of ECP8
this: {ECP8}
Constant time select from pre-computed table
Kind: instance method of ECP8
this: {ECP8}
Test P == Q
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
Q | ECP8 instance |
set this=-this
Kind: instance method of ECP8
this: {ECP8}
convert this to affine, from (x,y,z) to (x,y)
Kind: instance method of ECP8
this: {ECP8}
extract affine x as ctx.FP2
Kind: instance method of ECP8
this: {ECP8}
extract affine y as ctx.FP2
Kind: instance method of ECP8
this: {ECP8}
extract projective x
Kind: instance method of ECP8
this: {ECP8}
extract projective y
Kind: instance method of ECP8
this: {ECP8}
extract projective z
Kind: instance method of ECP8
this: {ECP8}
convert this to byte arrayextract projective x
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
b | byte array output |
convert this to hex string
Kind: instance method of ECP8
Returns: hex string
this: {ECP8}
set this=(x,y)
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
ix | x-value |
iy | y-value |
set this=(x,.)
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
ix | x-value |
set this*=q, where q is Modulus, using Frobenius
Kind: instance method of ECP8
this: {ECP8}
this+=this
Kind: instance method of ECP8
this: {ECP8}
Adds ECP8 instances
param Q ECP8 instance
Kind: instance method of ECP8
this: {ECP8}
Subtracts ECP instance Q from this
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
Q | ECP8 instance |
Multiplies an ECP8 instance P by a BIG, side-channel resistant
Kind: instance method of ECP8
this: {ECP8}
Param | Description |
---|---|
e | BIG number multiplier |
Set group generator
Kind: static method of ECP8
this: {ECP8}
convert from byte array to point
Kind: static method of ECP8
this: {ECP8}
Param | Description |
---|---|
b | input byte array |
Calculate RHS of curve equation x^3+B
Kind: static method of ECP8
this: {ECP8}
Param | Description |
---|---|
x | x-value |
Calculate P=u0.Q0+u1Q1+u2Q2+u3*Q3...
Kind: static method of ECP8
this: {ECP8}