Searched refs:LongArray (Results 1 – 4 of 4) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | LongArray.java | 7 class LongArray implements Cloneable class 299 public LongArray(int intLen) in LongArray() method in LongArray 304 public LongArray(long[] ints) in LongArray() method in LongArray 309 public LongArray(long[] ints, int off, int len) in LongArray() method in LongArray 322 public LongArray(BigInteger bigInt) in LongArray() method in LongArray 614 public LongArray addOne() in addOne() 618 return new LongArray(new long[]{ 1L }); in addOne() 624 return new LongArray(ints); in addOne() 654 private void addShiftedByBitsSafe(LongArray other, int otherDegree, int bits) in addShiftedByBitsSafe() 701 public void addShiftedByWords(LongArray other, int words) in addShiftedByWords() [all …]
|
D | ECFieldElement.java | 536 private LongArray x; 588 this.x = new LongArray(x); in F2m() 607 private F2m(int m, int[] ks, LongArray x) in F2m() 691 LongArray iarrClone = (LongArray)this.x.clone(); in add() 727 LongArray ax = this.x, bx = ((F2m)b).x, xx = ((F2m)x).x, yx = ((F2m)y).x; in multiplyPlusProduct() 729 LongArray ab = ax.multiply(bx, m, ks); in multiplyPlusProduct() 730 LongArray xy = xx.multiply(yx, m, ks); in multiplyPlusProduct() 734 ab = (LongArray)ab.clone(); in multiplyPlusProduct() 768 LongArray ax = this.x, xx = ((F2m)x).x, yx = ((F2m)y).x; in squarePlusProduct() 770 LongArray aa = ax.square(m, ks); in squarePlusProduct() [all …]
|
D | WNafL2RMultiplier.java | 48 int highest = LongArray.bitLengths[n]; in multiplyPositive()
|
D | ECCurve.java | 661 return new LongArray(x).modInverse(m, ks).toBigInteger(); in inverse()
|