public class DebugGroupImplGTTotal extends DebugGroupImplTotal
DebugGroupImpl implementation that counts operations including those done inside (multi-)exponentiations.
Used exclusively to represent GT in DebugBilinearGroup to allow for separate counting from G1 and G2.name, zn| Constructor and Description |
|---|
DebugGroupImplGTTotal(Representation repr) |
DebugGroupImplGTTotal(java.lang.String name,
java.math.BigInteger n) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
implementsOwnExp()
Indicates whether this group implements its own custom exponentiation algorithm by overwriting
GroupImpl.exp(org.cryptimeleon.math.structures.groups.GroupElementImpl, java.math.BigInteger, org.cryptimeleon.math.structures.groups.exp.SmallExponentPrecomputation). |
boolean |
implementsOwnMultiExp()
Indicates whether this group implements its own multi-exponentiation algorithm
by overwriting
GroupImpl.multiexp(Multiexponentiation). |
equals, estimateCostInvPerOp, getGenerator, getNeutralElement, getRepresentation, getUniformlyRandomElement, getUniformlyRandomNonNeutral, getUniqueByteLength, hashCode, hasPrimeSize, isCommutative, restoreElement, size, toString, wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitexp, multiexp, restoreFromRepresentationpublic DebugGroupImplGTTotal(java.lang.String name,
java.math.BigInteger n)
public DebugGroupImplGTTotal(Representation repr)
public boolean implementsOwnExp()
GroupImplGroupImpl.exp(org.cryptimeleon.math.structures.groups.GroupElementImpl, java.math.BigInteger, org.cryptimeleon.math.structures.groups.exp.SmallExponentPrecomputation).implementsOwnExp in interface GroupImplimplementsOwnExp in class DebugGroupImplTotalGroupImpl.exp(org.cryptimeleon.math.structures.groups.GroupElementImpl, java.math.BigInteger, org.cryptimeleon.math.structures.groups.exp.SmallExponentPrecomputation), else falsepublic boolean implementsOwnMultiExp()
GroupImplGroupImpl.multiexp(Multiexponentiation).implementsOwnMultiExp in interface GroupImplimplementsOwnMultiExp in class DebugGroupImplTotal