Package org.bouncycastle.math.internal
Class Nat128
java.lang.Object
org.bouncycastle.math.internal.Nat128
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
add
(int[] x, int[] y, int[] z) static int
addBothTo
(int[] x, int[] y, int[] z) static void
copy
(int[] x, int[] z) static void
copy
(int[] x, int xOff, int[] z, int zOff) static void
copy64
(long[] x, int xOff, long[] z, int zOff) static void
copy64
(long[] x, long[] z) static int[]
create()
static long[]
create64()
static int[]
static long[]
static boolean
eq
(int[] x, int[] y) static boolean
eq64
(long[] x, long[] y) static int[]
static long[]
static int
getBit
(int[] x, int bit) static boolean
gte
(int[] x, int[] y) static boolean
isOne
(int[] x) static boolean
isOne64
(long[] x) static boolean
isZero
(int[] x) static boolean
isZero64
(long[] x) static void
mul
(int[] x, int[] y, int[] zz) static int
mulAddTo
(int[] x, int[] y, int[] zz) static void
square
(int[] x, int[] zz) static int
sub
(int[] x, int[] y, int[] z) static int
subFrom
(int[] x, int[] z) static BigInteger
toBigInteger
(int[] x) static BigInteger
toBigInteger64
(long[] x) static void
zero
(int[] z)
-
Constructor Details
-
Nat128
public Nat128()
-
-
Method Details
-
add
public static int add(int[] x, int[] y, int[] z) -
addBothTo
public static int addBothTo(int[] x, int[] y, int[] z) -
copy
public static void copy(int[] x, int[] z) -
copy
public static void copy(int[] x, int xOff, int[] z, int zOff) -
copy64
public static void copy64(long[] x, long[] z) -
copy64
public static void copy64(long[] x, int xOff, long[] z, int zOff) -
create
public static int[] create() -
create64
public static long[] create64() -
createExt
public static int[] createExt() -
createExt64
public static long[] createExt64() -
eq
public static boolean eq(int[] x, int[] y) -
eq64
public static boolean eq64(long[] x, long[] y) -
fromBigInteger
-
fromBigInteger64
-
getBit
public static int getBit(int[] x, int bit) -
gte
public static boolean gte(int[] x, int[] y) -
isOne
public static boolean isOne(int[] x) -
isOne64
public static boolean isOne64(long[] x) -
isZero
public static boolean isZero(int[] x) -
isZero64
public static boolean isZero64(long[] x) -
mul
public static void mul(int[] x, int[] y, int[] zz) -
mulAddTo
public static int mulAddTo(int[] x, int[] y, int[] zz) -
square
public static void square(int[] x, int[] zz) -
sub
public static int sub(int[] x, int[] y, int[] z) -
subFrom
public static int subFrom(int[] x, int[] z) -
toBigInteger
-
toBigInteger64
-
zero
public static void zero(int[] z)
-