| Package | Description |
|---|---|
| ch.epfl.dedis.lib.crypto.bn256 |
| Modifier and Type | Method and Description |
|---|---|
BN.G1 |
BN.G1.add(BN.G1 a,
BN.G1 b)
Perform a point addition.
|
BN.G1 |
BN.PairG1.getPoint() |
static BN.G1 |
BN.G1.hashToPoint(byte[] msg)
Map a byte array to a point.
|
BN.G1 |
BN.G1.neg(BN.G1 a)
Perform a point negation.
|
BN.G1 |
BN.G1.scalarBaseMul(BigInteger k)
Perform a scalar multiplication with the generator point.
|
BN.G1 |
BN.G1.scalarMul(BN.G1 a,
BigInteger k)
Perform a scalar multiplication.
|
BN.G1 |
BN.G1.setInfinity()
Set the point to the infinity (zero) point.
|
BN.G1 |
BN.G1.unmarshal(byte[] m)
Turns the byte representation to the point.
|
| Modifier and Type | Method and Description |
|---|---|
BN.G1 |
BN.G1.add(BN.G1 a,
BN.G1 b)
Perform a point addition.
|
BN.G1 |
BN.G1.neg(BN.G1 a)
Perform a point negation.
|
static BN.GT |
BN.pair(BN.G1 g1,
BN.G2 g2)
Perform the pairing operation.
|
BN.G1 |
BN.G1.scalarMul(BN.G1 a,
BigInteger k)
Perform a scalar multiplication.
|
| Constructor and Description |
|---|
G1(BN.G1 p)
Copy constructor for G1.
|
PairG1(BigInteger k,
BN.G1 p) |
Copyright © 2019. All rights reserved.