public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { int c = Nat256.add(x, P, z); Nat.shiftDownBit(8, z, c); } }
public static void add(int[] x, int[] y, int[] z) { Nat256.add(x, y, z); if (Nat256.gte(z, P)) { subPFrom(z); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { Nat256.add(x, P, z); Nat.shiftDownBit(8, z, 0); } }
public static void add(int[] x, int[] y, int[] z) { Nat256.add(x, y, z); if (Nat256.gte(z, P)) { subPFrom(z); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { int c = Nat256.add(x, P, z); Nat.shiftDownBit(8, z, c); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { int c = Nat256.add(x, P, z); Nat.shiftDownBit(8, z, c); } }
public static void add(int[] x, int[] y, int[] z) { int c = Nat256.add(x, y, z); if (c != 0 || (z[7] == P7 && Nat256.gte(z, P))) { Nat.add33To(8, PInv33, z); } }
public static void add(int[] x, int[] y, int[] z) { int c = Nat256.add(x, y, z); if (c != 0 || (z[7] == P7 && Nat256.gte(z, P))) { Nat.add33To(8, PInv33, z); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { int c = Nat256.add(x, P, z); Nat.shiftDownBit(8, z, c); } }
public static void add(int[] x, int[] y, int[] z) { int c = Nat256.add(x, y, z); if (c != 0 || (z[7] == P7 && Nat256.gte(z, P))) { addPInvTo(z); } }
public static void addExt(int[] xx, int[] yy, int[] zz) { int c = Nat256.add(xx, yy, zz); if (c != 0 || ((zz[7] >>> 1) >= PExt7s1 && Nat256.gte(zz, PExt))) { Nat.addTo(PExtInv.length, PExtInv, zz); } }
public static void add(int[] x, int[] y, int[] z) { int c = Nat256.add(x, y, z); if (c != 0 || ((z[7] >>> 1) >= P7s1 && Nat256.gte(z, P))) { addPInvTo(z); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { int c = Nat256.add(x, P, z); Nat.shiftDownBit(8, z, c); } }
public static void half(int[] x, int[] z) { if ((x[0] & 1) == 0) { Nat.shiftDownBit(8, x, 0, z); } else { Nat256.add(x, P, z); Nat.shiftDownBit(8, z, 0); } }
public static void add(int[] x, int[] y, int[] z) { int c = Nat256.add(x, y, z); if (c != 0 || (z[7] == P7 && Nat256.gte(z, P))) { addPInvTo(z); } }