예제 #1
0
 protected static void implSquare(long[] x, long[] zz) {
   Interleave.expand64To128(x[0], zz, 0);
   Interleave.expand64To128(x[1], zz, 2);
   Interleave.expand64To128(x[2], zz, 4);
   zz[6] = (x[3] & M01);
 }
예제 #2
0
  protected static void implSquare(long[] x, long[] zz) {
    Interleave.expand64To128(x[0], zz, 0);
    Interleave.expand64To128(x[1], zz, 2);

    zz[4] = Interleave.expand8to16((int) x[2]) & 0xFFFFFFFFL;
  }