Package org.gudy.bouncycastle.math.ec
Class IntArray
java.lang.Object
org.gudy.bouncycastle.math.ec.IntArray
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntArray
(int intLen) IntArray
(int[] ints) IntArray
(BigInteger bigInt) IntArray
(BigInteger bigInt, int minIntLen) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addShifted
(IntArray other, int shift) int
clone()
boolean
void
flipBit
(int n) int
int
int
hashCode()
boolean
isZero()
void
reduce
(int m, int[] redPol) private int[]
resizedInts
(int newLen) void
setBit
(int n) void
shiftLeft
(int n) square
(int m) boolean
testBit
(int n) toString()
-
Field Details
-
m_ints
private int[] m_ints
-
-
Constructor Details
-
IntArray
public IntArray(int intLen) -
IntArray
public IntArray(int[] ints) -
IntArray
-
IntArray
-
-
Method Details
-
isZero
public boolean isZero() -
getUsedLength
public int getUsedLength() -
bitLength
public int bitLength() -
resizedInts
private int[] resizedInts(int newLen) -
toBigInteger
-
shiftLeft
public void shiftLeft() -
shiftLeft
-
addShifted
-
getLength
public int getLength() -
testBit
public boolean testBit(int n) -
flipBit
public void flipBit(int n) -
setBit
public void setBit(int n) -
multiply
-
reduce
public void reduce(int m, int[] redPol) -
square
-
equals
-
hashCode
public int hashCode() -
clone
-
toString
-