Class SecT409FieldElement
- java.lang.Object
-
- org.bouncycastle.math.ec.ECFieldElement
-
- org.bouncycastle.math.ec.ECFieldElement.AbstractF2m
-
- org.bouncycastle.math.ec.custom.sec.SecT409FieldElement
-
- All Implemented Interfaces:
ECConstants
public class SecT409FieldElement extends ECFieldElement.AbstractF2m
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECFieldElement
ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp, ECFieldElement.F2m, ECFieldElement.Fp
-
-
Constructor Summary
Constructors Modifier Constructor Description SecT409FieldElement()
protected
SecT409FieldElement(long[] x)
SecT409FieldElement(java.math.BigInteger x)
-
Method Summary
-
Methods inherited from class org.bouncycastle.math.ec.ECFieldElement
bitLength, getEncoded, toString
-
-
-
-
Method Detail
-
isOne
public boolean isOne()
- Overrides:
isOne
in classECFieldElement
-
isZero
public boolean isZero()
- Overrides:
isZero
in classECFieldElement
-
testBitZero
public boolean testBitZero()
- Overrides:
testBitZero
in classECFieldElement
-
toBigInteger
public java.math.BigInteger toBigInteger()
- Specified by:
toBigInteger
in classECFieldElement
-
getFieldName
public java.lang.String getFieldName()
- Specified by:
getFieldName
in classECFieldElement
-
getFieldSize
public int getFieldSize()
- Specified by:
getFieldSize
in classECFieldElement
-
add
public ECFieldElement add(ECFieldElement b)
- Specified by:
add
in classECFieldElement
-
addOne
public ECFieldElement addOne()
- Specified by:
addOne
in classECFieldElement
-
subtract
public ECFieldElement subtract(ECFieldElement b)
- Specified by:
subtract
in classECFieldElement
-
multiply
public ECFieldElement multiply(ECFieldElement b)
- Specified by:
multiply
in classECFieldElement
-
multiplyMinusProduct
public ECFieldElement multiplyMinusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)
- Overrides:
multiplyMinusProduct
in classECFieldElement
-
multiplyPlusProduct
public ECFieldElement multiplyPlusProduct(ECFieldElement b, ECFieldElement x, ECFieldElement y)
- Overrides:
multiplyPlusProduct
in classECFieldElement
-
divide
public ECFieldElement divide(ECFieldElement b)
- Specified by:
divide
in classECFieldElement
-
negate
public ECFieldElement negate()
- Specified by:
negate
in classECFieldElement
-
square
public ECFieldElement square()
- Specified by:
square
in classECFieldElement
-
squareMinusProduct
public ECFieldElement squareMinusProduct(ECFieldElement x, ECFieldElement y)
- Overrides:
squareMinusProduct
in classECFieldElement
-
squarePlusProduct
public ECFieldElement squarePlusProduct(ECFieldElement x, ECFieldElement y)
- Overrides:
squarePlusProduct
in classECFieldElement
-
squarePow
public ECFieldElement squarePow(int pow)
- Overrides:
squarePow
in classECFieldElement
-
halfTrace
public ECFieldElement halfTrace()
- Overrides:
halfTrace
in classECFieldElement.AbstractF2m
-
hasFastTrace
public boolean hasFastTrace()
- Overrides:
hasFastTrace
in classECFieldElement.AbstractF2m
-
trace
public int trace()
- Overrides:
trace
in classECFieldElement.AbstractF2m
-
invert
public ECFieldElement invert()
- Specified by:
invert
in classECFieldElement
-
sqrt
public ECFieldElement sqrt()
- Specified by:
sqrt
in classECFieldElement
-
getRepresentation
public int getRepresentation()
-
getM
public int getM()
-
getK1
public int getK1()
-
getK2
public int getK2()
-
getK3
public int getK3()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-