Home
last modified time | relevance | path

Searched refs:SecP256K1Field (Results 1 – 3 of 3) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP256K1FieldElement.java23 this.x = SecP256K1Field.fromBigInteger(x); in SecP256K1FieldElement()
69 SecP256K1Field.add(x, ((SecP256K1FieldElement)b).x, z); in add()
76 SecP256K1Field.addOne(x, z); in addOne()
83 SecP256K1Field.subtract(x, ((SecP256K1FieldElement)b).x, z); in subtract()
90 SecP256K1Field.multiply(x, ((SecP256K1FieldElement)b).x, z); in multiply()
98 Mod.invert(SecP256K1Field.P, ((SecP256K1FieldElement)b).x, z); in divide()
99 SecP256K1Field.multiply(z, x, z); in divide()
106 SecP256K1Field.negate(x, z); in negate()
113 SecP256K1Field.square(x, z); in square()
121 Mod.invert(SecP256K1Field.P, x, z); in invert()
[all …]
DSecP256K1Point.java108 SecP256K1Field.square(Z1.x, S2); in add()
111 SecP256K1Field.multiply(S2, X2.x, U2); in add()
113 SecP256K1Field.multiply(S2, Z1.x, S2); in add()
114 SecP256K1Field.multiply(S2, Y2.x, S2); in add()
127 SecP256K1Field.square(Z2.x, S1); in add()
130 SecP256K1Field.multiply(S1, X1.x, U1); in add()
132 SecP256K1Field.multiply(S1, Z2.x, S1); in add()
133 SecP256K1Field.multiply(S1, Y1.x, S1); in add()
137 SecP256K1Field.subtract(U1, U2, H); in add()
140 SecP256K1Field.subtract(S1, S2, R); in add()
[all …]
DSecP256K1Field.java8 public class SecP256K1Field class