public final class ECP
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AESKEY |
static int |
BLS |
static int |
BN |
static int |
CURVE_PAIRING_TYPE |
static int |
CURVETYPE |
static int |
D_TYPE |
static int |
EDWARDS |
static int |
HASH_TYPE |
static int |
M_TYPE |
static int |
MONTGOMERY |
static int |
NEGATIVEX |
static int |
NOT |
static int |
POSITIVEX |
static int |
SEXTIC_TWIST |
static int |
SHA256 |
static int |
SHA384 |
static int |
SHA512 |
static int |
SIGN_OF_X |
static int |
WEIERSTRASS |
| Constructor and Description |
|---|
ECP() |
ECP(BIG ix) |
ECP(BIG ix,
BIG iy) |
ECP(BIG ix,
int s) |
ECP(ECP e) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ECP Q) |
void |
affine() |
void |
cfp() |
void |
copy(ECP P) |
void |
dadd(ECP Q,
ECP W) |
void |
dbl() |
boolean |
equals(ECP Q) |
static ECP |
fromBytes(byte[] b) |
static ECP |
generator() |
int |
getS() |
FP |
getx() |
BIG |
getX() |
FP |
gety() |
BIG |
getY() |
FP |
getz() |
void |
inf() |
boolean |
is_infinity() |
static ECP |
mapit(byte[] h) |
ECP |
mul(BIG e) |
ECP |
mul2(BIG e,
ECP Q,
BIG f) |
void |
neg() |
ECP |
pinmul(int e,
int bts) |
static FP |
RHS(FP x) |
void |
sub(ECP Q) |
void |
toBytes(byte[] b,
boolean compress) |
java.lang.String |
toRawString() |
java.lang.String |
toString() |
public static final int WEIERSTRASS
public static final int EDWARDS
public static final int MONTGOMERY
public static final int NOT
public static final int BN
public static final int BLS
public static final int D_TYPE
public static final int M_TYPE
public static final int POSITIVEX
public static final int NEGATIVEX
public static final int CURVETYPE
public static final int CURVE_PAIRING_TYPE
public static final int SEXTIC_TWIST
public static final int SIGN_OF_X
public static final int SHA256
public static final int SHA384
public static final int SHA512
public static final int HASH_TYPE
public static final int AESKEY
public ECP()
public ECP(ECP e)
public ECP(BIG ix, int s)
public ECP(BIG ix)
public boolean is_infinity()
public boolean equals(ECP Q)
public void copy(ECP P)
public void neg()
public void inf()
public void affine()
public BIG getX()
public BIG getY()
public int getS()
public FP getx()
public FP gety()
public FP getz()
public void toBytes(byte[] b,
boolean compress)
public static ECP fromBytes(byte[] b)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toRawString()
public void dbl()
public void add(ECP Q)
public void sub(ECP Q)
public ECP pinmul(int e, int bts)
public void cfp()
public static ECP mapit(byte[] h)
public static ECP generator()