public abstract class GCMUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SIZE_BYTES |
static int |
SIZE_INTS |
static int |
SIZE_LONGS |
Constructor and Description |
---|
GCMUtil() |
Modifier and Type | Method and Description |
---|---|
static byte |
areEqual(byte[] x,
byte[] y) |
static int |
areEqual(int[] x,
int[] y) |
static long |
areEqual(long[] x,
long[] y) |
static byte[] |
asBytes(int[] x) |
static void |
asBytes(int[] x,
byte[] z) |
static byte[] |
asBytes(long[] x) |
static void |
asBytes(long[] x,
byte[] z) |
static int[] |
asInts(byte[] x) |
static void |
asInts(byte[] x,
int[] z) |
static long[] |
asLongs(byte[] x) |
static void |
asLongs(byte[] x,
long[] z) |
static void |
copy(byte[] x,
byte[] z) |
static void |
copy(int[] x,
int[] z) |
static void |
copy(long[] x,
long[] z) |
static void |
divideP(long[] x,
long[] z) |
static void |
multiply(byte[] x,
byte[] y) |
static void |
multiply(int[] x,
int[] y) |
static void |
multiply(long[] x,
long[] y) |
static void |
multiplyP(int[] x) |
static void |
multiplyP(int[] x,
int[] z) |
static void |
multiplyP(long[] x) |
static void |
multiplyP(long[] x,
long[] z) |
static void |
multiplyP16(long[] x) |
static void |
multiplyP3(long[] x,
long[] z) |
static void |
multiplyP4(long[] x,
long[] z) |
static void |
multiplyP7(long[] x,
long[] z) |
static void |
multiplyP8(int[] x) |
static void |
multiplyP8(int[] x,
int[] y) |
static void |
multiplyP8(long[] x) |
static void |
multiplyP8(long[] x,
long[] y) |
static byte[] |
oneAsBytes() |
static int[] |
oneAsInts() |
static long[] |
oneAsLongs() |
static long[] |
pAsLongs() |
static void |
square(long[] x,
long[] z) |
static void |
xor(byte[] x,
byte[] y) |
static void |
xor(byte[] x,
byte[] y,
byte[] z) |
static void |
xor(byte[] x,
byte[] y,
int yOff) |
static void |
xor(byte[] x,
byte[] y,
int yOff,
int yLen) |
static void |
xor(byte[] x,
int xOff,
byte[] y,
int yOff,
byte[] z,
int zOff) |
static void |
xor(byte[] x,
int xOff,
byte[] y,
int yOff,
int len) |
static void |
xor(int[] x,
int[] y) |
static void |
xor(int[] x,
int[] y,
int[] z) |
static void |
xor(long[] x,
long[] y) |
static void |
xor(long[] x,
long[] y,
long[] z) |
public static final int SIZE_BYTES
public static final int SIZE_INTS
public static final int SIZE_LONGS
public static byte[] oneAsBytes()
public static int[] oneAsInts()
public static long[] oneAsLongs()
public static byte areEqual(byte[] x, byte[] y)
public static int areEqual(int[] x, int[] y)
public static long areEqual(long[] x, long[] y)
public static byte[] asBytes(int[] x)
public static void asBytes(int[] x, byte[] z)
public static byte[] asBytes(long[] x)
public static void asBytes(long[] x, byte[] z)
public static int[] asInts(byte[] x)
public static void asInts(byte[] x, int[] z)
public static long[] asLongs(byte[] x)
public static void asLongs(byte[] x, long[] z)
public static void copy(byte[] x, byte[] z)
public static void copy(int[] x, int[] z)
public static void copy(long[] x, long[] z)
public static void divideP(long[] x, long[] z)
public static void multiply(byte[] x, byte[] y)
public static void multiply(int[] x, int[] y)
public static void multiply(long[] x, long[] y)
public static void multiplyP(int[] x)
public static void multiplyP(int[] x, int[] z)
public static void multiplyP(long[] x)
public static void multiplyP(long[] x, long[] z)
public static void multiplyP3(long[] x, long[] z)
public static void multiplyP4(long[] x, long[] z)
public static void multiplyP7(long[] x, long[] z)
public static void multiplyP8(int[] x)
public static void multiplyP8(int[] x, int[] y)
public static void multiplyP8(long[] x)
public static void multiplyP8(long[] x, long[] y)
public static void multiplyP16(long[] x)
public static long[] pAsLongs()
public static void square(long[] x, long[] z)
public static void xor(byte[] x, byte[] y)
public static void xor(byte[] x, byte[] y, int yOff)
public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff)
public static void xor(byte[] x, byte[] y, int yOff, int yLen)
public static void xor(byte[] x, int xOff, byte[] y, int yOff, int len)
public static void xor(byte[] x, byte[] y, byte[] z)
public static void xor(int[] x, int[] y)
public static void xor(int[] x, int[] y, int[] z)
public static void xor(long[] x, long[] y)
public static void xor(long[] x, long[] y, long[] z)