Java Utililty Methods Array Multiply

List of utility methods to do Array Multiply

Description

The list of methods to do Array Multiply are organized into topic(s).

Method

voidmultiplyX(long[] x, long[] z)
multiply X
long x0 = x[0], x1 = x[1], x2 = x[2], x3 = x[3];
long x4 = x[4], x5 = x[5], x6 = x[6], x7 = x[7];
long m = x7 >> 63;
z[0] = (x0 << 1) ^ (m & 0x125L);
z[1] = (x1 << 1) | (x0 >>> 63);
z[2] = (x2 << 1) | (x1 >>> 63);
z[3] = (x3 << 1) | (x2 >>> 63);
z[4] = (x4 << 1) | (x3 >>> 63);
...
voidmultiplyX(long[] x, long[] z)
multiply X
long x0 = x[0], x1 = x[1];
long m = x1 >> 63;
z[0] = (x0 << 1) ^ (m & 0x87L);
z[1] = (x1 << 1) | (x0 >>> 63);