Class SecP192K1FieldElement
java.lang.Object
org.bouncycastle.math.ec.ECFieldElement
org.bouncycastle.math.ec.ECFieldElement.AbstractFp
org.bouncycastle.math.ec.custom.sec.SecP192K1FieldElement
- All Implemented Interfaces:
ECConstants
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECFieldElement
ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp, ECFieldElement.F2m, ECFieldElement.Fp -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bouncycastle.math.ec.ECFieldElement
bitLength, getEncoded, multiplyMinusProduct, multiplyPlusProduct, squareMinusProduct, squarePlusProduct, squarePow, toString
-
Field Details
-
Q
-
x
protected int[] x
-
-
Constructor Details
-
SecP192K1FieldElement
-
SecP192K1FieldElement
public SecP192K1FieldElement() -
SecP192K1FieldElement
protected SecP192K1FieldElement(int[] x)
-
-
Method Details
-
isZero
public boolean isZero()- Overrides:
isZeroin classECFieldElement
-
isOne
public boolean isOne()- Overrides:
isOnein classECFieldElement
-
testBitZero
public boolean testBitZero()- Overrides:
testBitZeroin classECFieldElement
-
toBigInteger
- Specified by:
toBigIntegerin classECFieldElement
-
getFieldName
- Specified by:
getFieldNamein classECFieldElement
-
getFieldSize
public int getFieldSize()- Specified by:
getFieldSizein classECFieldElement
-
add
- Specified by:
addin classECFieldElement
-
addOne
- Specified by:
addOnein classECFieldElement
-
subtract
- Specified by:
subtractin classECFieldElement
-
multiply
- Specified by:
multiplyin classECFieldElement
-
divide
- Specified by:
dividein classECFieldElement
-
negate
- Specified by:
negatein classECFieldElement
-
square
- Specified by:
squarein classECFieldElement
-
invert
- Specified by:
invertin classECFieldElement
-
sqrt
return a sqrt root - the routine verifies that the calculation returns the right value - if none exists it returns null.- Specified by:
sqrtin classECFieldElement
-
equals
-
hashCode
public int hashCode()
-