public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(10, xx, yy, zz); if (c != 0) { Nat.subFrom(PExtInv.length, PExtInv, zz); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(16, xx, yy, zz); if (c != 0) { Nat.addTo(16, PExt, zz); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(16, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(16, zz, PExtInv.length); } } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(16, xx, yy, zz); if (c != 0) { addPExtTo(zz); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(14, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(14, zz, PExtInv.length); } } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(16, xx, yy, zz); if (c != 0) { addPExtTo(zz); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(12, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(12, zz, PExtInv.length); } } }
public static void subtract(int[] p, int[] x, int[] y, int[] z) { int len = p.length; int c = Nat.sub(len, x, y, z); if (c != 0) { Nat.addTo(len, p, z); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(24, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(24, zz, PExtInv.length); } } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(16, xx, yy, zz); if (c != 0) { Nat.addTo(16, PExt, zz); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(10, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(10, zz, PExtInv.length); } } }
public static void subtract(int[] x, int[] y, int[] z) { int c = Nat.sub(16, x, y, z) + x[16] - y[16]; if (c < 0) { c += Nat.dec(16, z); c &= P16; } z[16] = c; }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(14, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(14, zz, PExtInv.length); } } }
public static void subtract(int[] p, int[] x, int[] y, int[] z) { int len = p.length; int c = Nat.sub(len, x, y, z); if (c != 0) { Nat.addTo(len, p, z); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(10, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(10, zz, PExtInv.length); } } }
public static void subtract(int[] x, int[] y, int[] z) { int c = Nat.sub(12, x, y, z); if (c != 0) { subPInvFrom(z); } }
public static void subtractExt(int[] xx, int[] yy, int[] zz) { int c = Nat.sub(12, xx, yy, zz); if (c != 0) { if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) { Nat.decAt(12, zz, PExtInv.length); } } }
public static void negate(int[] x, int[] z) { if (Nat.isZero(17, x)) { Nat.zero(17, z); } else { Nat.sub(17, P, x, z); } }
public static void negate(int[] x, int[] z) { if (Nat.isZero(12, x)) { Nat.zero(12, z); } else { Nat.sub(12, P, x, z); } }
public static void negate(int[] x, int[] z) { if (Nat.isZero(12, x)) { Nat.zero(12, z); } else { Nat.sub(12, P, x, z); } }