Modifier and Type | Field and Description |
---|---|
private static final int | |
private static final long | |
private static final int | |
private static final int | |
public static final BigInteger | |
private static final int | |
public static final P256OrderField |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
private void | carryReduce(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18)
|
private void | carryReduce(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9)
|
pack-priv void | carryReduce0(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19)
|
pack-priv void | carryReduce0(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10)
|
pack-priv void | carryReduce1(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19)
|
pack-priv void | carryReduce2(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19)
|
private static BigInteger | |
protected void | finalCarryReduceLast(long[] limbs)
Implements abstract sun. Carry out of the last limb and reduce back in. This method will be called as part of the "finalReduce" operation that puts the representation into a fully-reduced form. |
protected void | mult(long[] a, long[] b, long[] r)
Implements abstract sun. Multiply two IntegerPolynomial representations (a and b) and store the result in an IntegerPolynomial representation (r). |
protected void | reduce(long[] a)
Implements abstract sun. Reduce an IntegerPolynomial representation (a) and store the result in a. |
protected void | reduceIn(long[] limbs, long v, int i)
Implements abstract sun.
|
protected void | square(long[] a, long[] r)
Implements abstract sun. Multiply an IntegerPolynomial representation (a) with itself and store the result in an IntegerPolynomialRepresentation (r). |
BITS_PER_LIMB | back to summary |
---|---|
private static final int BITS_PER_LIMB |
CARRY_ADD | back to summary |
---|---|
private static final long CARRY_ADD |
LIMB_MASK | back to summary |
---|---|
private static final int LIMB_MASK |
MAX_ADDS | back to summary |
---|---|
private static final int MAX_ADDS |
MODULUS | back to summary |
---|---|
public static final BigInteger MODULUS |
NUM_LIMBS | back to summary |
---|---|
private static final int NUM_LIMBS |
ONE | back to summary |
---|---|
public static final P256OrderField ONE |
P256OrderField | back to summary |
---|---|
private P256OrderField() |
carryReduce | back to summary |
---|---|
private void carryReduce(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18) |
carryReduce | back to summary |
---|---|
private void carryReduce(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9) |
carryReduce0 | back to summary |
---|---|
pack-priv void carryReduce0(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19) |
carryReduce0 | back to summary |
---|---|
pack-priv void carryReduce0(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10) |
carryReduce1 | back to summary |
---|---|
pack-priv void carryReduce1(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19) |
carryReduce2 | back to summary |
---|---|
pack-priv void carryReduce2(long[] r, long c0, long c1, long c2, long c3, long c4, long c5, long c6, long c7, long c8, long c9, long c10, long c11, long c12, long c13, long c14, long c15, long c16, long c17, long c18, long c19) |
evaluateModulus | back to summary |
---|---|
private static BigInteger evaluateModulus() |
finalCarryReduceLast | back to summary |
---|---|
protected void finalCarryReduceLast(long[] limbs) Implements abstract sun. Doc from sun. Carry out of the last limb and reduce back in. This method will be called as part of the "finalReduce" operation that puts the representation into a fully-reduced form. It is representation- specific, because representations have different amounts of empty space in the high-order limb. Requires that limbs.length=numLimbs.
|
mult | back to summary |
---|---|
protected void mult(long[] a, long[] b, long[] r) Implements abstract sun. Doc from sun. Multiply two IntegerPolynomial representations (a and b) and store the result in an IntegerPolynomial representation (r). Requires that a.length == b.length == r.length == numLimbs. It is allowed for a and r to be the same array.
|
reduce | back to summary |
---|---|
protected void reduce(long[] a) Implements abstract sun. Doc from sun. Reduce an IntegerPolynomial representation (a) and store the result in a. Requires that a.length == numLimbs.
|
reduceIn | back to summary |
---|---|
protected void reduceIn(long[] limbs, long v, int i) Implements abstract sun.
|
square | back to summary |
---|---|
protected void square(long[] a, long[] r) Implements abstract sun. Doc from sun. Multiply an IntegerPolynomial representation (a) with itself and store the result in an IntegerPolynomialRepresentation (r). Requires that a.length == r.length == numLimbs. It is allowed for a and r to be the same array.
|