public static class ECFieldElement.Fp extends ECFieldElement.AbstractFp
ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp, ECFieldElement.F2m, ECFieldElement.Fp
Constructor and Description |
---|
Fp(BigInteger q,
BigInteger x)
Deprecated.
Use ECCurve.fromBigInteger to construct field elements
|
bitLength, getEncoded, isOne, isZero, squarePow, testBitZero, toString
public Fp(BigInteger q, BigInteger x)
public BigInteger toBigInteger()
toBigInteger
in class ECFieldElement
public String getFieldName()
getFieldName
in class ECFieldElement
public int getFieldSize()
getFieldSize
in class ECFieldElement
public BigInteger getQ()
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 invert()
invert
in class ECFieldElement
public ECFieldElement sqrt()
sqrt
in class ECFieldElement
protected BigInteger modAdd(BigInteger x1, BigInteger x2)
protected BigInteger modDouble(BigInteger x)
protected BigInteger modHalf(BigInteger x)
protected BigInteger modHalfAbs(BigInteger x)
protected BigInteger modInverse(BigInteger x)
protected BigInteger modMult(BigInteger x1, BigInteger x2)
protected BigInteger modReduce(BigInteger x)
protected BigInteger modSubtract(BigInteger x1, BigInteger x2)
Copyright © 2021 BouncyCastle.org. All rights reserved.