| Package | Description |
|---|---|
| ch.epfl.dedis.lib.crypto | |
| ch.epfl.dedis.lib.crypto.bn256 |
| Modifier and Type | Method and Description |
|---|---|
BN.GT |
Bn256G2Point.pair(Bn256G1Point g1)
Perform the pairing operation on this point and G1.
|
BN.GT |
Bn256G1Point.pair(Bn256G2Point g2)
Perform the pairing operation on this point and G2.
|
| Modifier and Type | Method and Description |
|---|---|
BN.GT |
BN.GT.add(BN.GT a,
BN.GT b)
Perform an addition.
|
BN.GT |
BN.GT.neg(BN.GT a)
Perform a negation.
|
static BN.GT |
BN.pair(BN.G1 g1,
BN.G2 g2)
Perform the pairing operation.
|
BN.GT |
BN.GT.scalarMul(BN.GT a,
BigInteger k)
Perform a scalar multiplication.
|
BN.GT |
BN.GT.unmarshal(byte[] m)
Turns the byte representation to the element.
|
| Modifier and Type | Method and Description |
|---|---|
BN.GT |
BN.GT.add(BN.GT a,
BN.GT b)
Perform an addition.
|
BN.GT |
BN.GT.neg(BN.GT a)
Perform a negation.
|
BN.GT |
BN.GT.scalarMul(BN.GT a,
BigInteger k)
Perform a scalar multiplication.
|
Copyright © 2019. All rights reserved.