public class SecT233FieldElement extends ECFieldElement.AbstractF2m
ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp, ECFieldElement.F2m, ECFieldElement.Fp
Modifier and Type | Field and Description |
---|---|
protected long[] |
x |
Modifier | Constructor and Description |
---|---|
|
SecT233FieldElement() |
|
SecT233FieldElement(java.math.BigInteger x) |
protected |
SecT233FieldElement(long[] x) |
bitLength, getEncoded, toString
public SecT233FieldElement(java.math.BigInteger x)
public SecT233FieldElement()
protected SecT233FieldElement(long[] x)
public boolean isOne()
isOne
in class ECFieldElement
public boolean isZero()
isZero
in class ECFieldElement
public boolean testBitZero()
testBitZero
in class ECFieldElement
public java.math.BigInteger toBigInteger()
toBigInteger
in class ECFieldElement
public java.lang.String getFieldName()
getFieldName
in class ECFieldElement
public int getFieldSize()
getFieldSize
in class ECFieldElement
public ECFieldElement add(ECFieldElement b)
add
in class ECFieldElement
public ECFieldElement addOne()
addOne
in class ECFieldElement
public ECFieldElement subtract(ECFieldElement b)
subtract
in class ECFieldElement
public ECFieldElement multiply(ECFieldElement b)
multiply
in class ECFieldElement
public ECFieldElement multiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)
multiplyMinusProduct
in class ECFieldElement
public ECFieldElement multiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)
multiplyPlusProduct
in class ECFieldElement
public ECFieldElement divide(ECFieldElement b)
divide
in class ECFieldElement
public ECFieldElement negate()
negate
in class ECFieldElement
public ECFieldElement square()
square
in class ECFieldElement
public ECFieldElement squareMinusProduct(ECFieldElement x, ECFieldElement y)
squareMinusProduct
in class ECFieldElement
public ECFieldElement squarePlusProduct(ECFieldElement x, ECFieldElement y)
squarePlusProduct
in class ECFieldElement
public ECFieldElement squarePow(int pow)
squarePow
in class ECFieldElement
public ECFieldElement halfTrace()
halfTrace
in class ECFieldElement.AbstractF2m
public boolean hasFastTrace()
hasFastTrace
in class ECFieldElement.AbstractF2m
public int trace()
trace
in class ECFieldElement.AbstractF2m
public ECFieldElement invert()
invert
in class ECFieldElement
public ECFieldElement sqrt()
sqrt
in class ECFieldElement
public int getRepresentation()
public int getM()
public int getK1()
public int getK2()
public int getK3()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object