Searched refs:Nat224 (Results 1 – 7 of 7) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP224R1FieldElement.java | 8 import org.bouncycastle.math.raw.Nat224; 29 this.x = Nat224.create(); in SecP224R1FieldElement() 39 return Nat224.isZero(x); in isZero() 44 return Nat224.isOne(x); in isOne() 49 return Nat224.getBit(x, 0) == 1; in testBitZero() 54 return Nat224.toBigInteger(x); in toBigInteger() 69 int[] z = Nat224.create(); in add() 76 int[] z = Nat224.create(); in addOne() 83 int[] z = Nat224.create(); in subtract() 90 int[] z = Nat224.create(); in multiply() [all …]
|
D | SecP224K1Field.java | 6 import org.bouncycastle.math.raw.Nat224; 23 int c = Nat224.add(x, y, z); in add() 24 if (c != 0 || (z[6] == P6 && Nat224.gte(z, P))) in add() 45 if (c != 0 || (z[6] == P6 && Nat224.gte(z, P))) in addOne() 53 int[] z = Nat224.fromBigInteger(x); in fromBigInteger() 54 if (z[6] == P6 && Nat224.gte(z, P)) in fromBigInteger() 69 int c = Nat224.add(x, P, z); in half() 76 int[] tt = Nat224.createExt(); in multiply() 77 Nat224.mul(x, y, tt); in multiply() 83 int c = Nat224.mulAddTo(x, y, zz); in multiplyAddToExt() [all …]
|
D | SecP224K1FieldElement.java | 7 import org.bouncycastle.math.raw.Nat224; 32 this.x = Nat224.create(); in SecP224K1FieldElement() 42 return Nat224.isZero(x); in isZero() 47 return Nat224.isOne(x); in isOne() 52 return Nat224.getBit(x, 0) == 1; in testBitZero() 57 return Nat224.toBigInteger(x); in toBigInteger() 72 int[] z = Nat224.create(); in add() 79 int[] z = Nat224.create(); in addOne() 86 int[] z = Nat224.create(); in subtract() 93 int[] z = Nat224.create(); in multiply() [all …]
|
D | SecP224R1Field.java | 6 import org.bouncycastle.math.raw.Nat224; 23 int c = Nat224.add(x, y, z); in add() 24 if (c != 0 || (z[6] == P6 && Nat224.gte(z, P))) in add() 45 if (c != 0 || (z[6] == P6 && Nat224.gte(z, P))) in addOne() 53 int[] z = Nat224.fromBigInteger(x); in fromBigInteger() 54 if (z[6] == P6 && Nat224.gte(z, P)) in fromBigInteger() 56 Nat224.subFrom(P, z); in fromBigInteger() 69 int c = Nat224.add(x, P, z); in half() 76 int[] tt = Nat224.createExt(); in multiply() 77 Nat224.mul(x, y, tt); in multiply() [all …]
|
D | SecP224K1Point.java | 7 import org.bouncycastle.math.raw.Nat224; 93 int[] tt1 = Nat224.createExt(); in add() 94 int[] t2 = Nat224.create(); in add() 95 int[] t3 = Nat224.create(); in add() 96 int[] t4 = Nat224.create(); in add() 136 int[] H = Nat224.create(); in add() 143 if (Nat224.isZero(H)) in add() 145 if (Nat224.isZero(R)) in add() 158 int[] G = Nat224.create(); in add() 165 Nat224.mul(S1, G, tt1); in add() [all …]
|
D | SecP224R1Point.java | 7 import org.bouncycastle.math.raw.Nat224; 91 int[] tt1 = Nat224.createExt(); in add() 92 int[] t2 = Nat224.create(); in add() 93 int[] t3 = Nat224.create(); in add() 94 int[] t4 = Nat224.create(); in add() 134 int[] H = Nat224.create(); in add() 141 if (Nat224.isZero(H)) in add() 143 if (Nat224.isZero(R)) in add() 156 int[] G = Nat224.create(); in add() 163 Nat224.mul(S1, G, tt1); in add() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/ |
D | Nat224.java | 7 public abstract class Nat224 class
|