public class BarretoNaehrigTargetGroupImpl extends PairingTargetGroupImpl
fieldOfDefinition, size| Constructor and Description |
|---|
BarretoNaehrigTargetGroupImpl(ExtensionFieldElement v,
java.math.BigInteger size)
Constructs a subgroup of given size in F12 where F12=F(v)=F[x]/(x^6+v).
|
BarretoNaehrigTargetGroupImpl(Representation r) |
| Modifier and Type | Method and Description |
|---|---|
double |
estimateCostInvPerOp()
Estimates the number of inversions that can be done per group operation for the same cost.
|
BarretoNaehrigTargetGroupElementImpl |
getElement(ExtensionFieldElement fe)
Concrete implementations should wrap the extension field element into their subclass.
|
boolean |
hasPrimeSize()
Returns true if the size of this structure is known and prime.
|
equals, getCofactor, getFieldOfDefinition, getGenerator, getNeutralElement, getRepresentation, getUniformlyRandomElement, getUniqueByteLength, hashCode, init, isCommutative, restoreElement, size, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitexp, getUniformlyRandomNonNeutral, implementsOwnExp, implementsOwnMultiExp, multiexp, restoreFromRepresentationpublic BarretoNaehrigTargetGroupImpl(ExtensionFieldElement v, java.math.BigInteger size)
v - element that defines extension of degree 6size - size of subgrouppublic BarretoNaehrigTargetGroupImpl(Representation r)
public BarretoNaehrigTargetGroupElementImpl getElement(ExtensionFieldElement fe)
PairingTargetGroupImplgetElement in class PairingTargetGroupImplpublic boolean hasPrimeSize()
throws java.lang.UnsupportedOperationException
GroupImpljava.lang.UnsupportedOperationExceptionpublic double estimateCostInvPerOp()
GroupImpl2 would mean that an inversion costs half as much as a group operation, on average.