public final class Curve25519OrderField extends IntegerPolynomial
IntegerPolynomial.MutableElement| Modifier and Type | Field and Description |
|---|---|
static java.math.BigInteger |
MODULUS |
static Curve25519OrderField |
ONE |
bitsPerLimb, numLimbs, TWO| Modifier and Type | Method and Description |
|---|---|
protected void |
finalCarryReduceLast(long[] limbs)
Carry out of the last limb and reduce back in.
|
protected void |
mult(long[] a,
long[] b,
long[] r)
Multiply two IntegerPolynomial representations (a and b) and store the
result in an IntegerPolynomial representation (r).
|
protected void |
reduce(long[] a)
Reduce an IntegerPolynomial representation (a) and store the result
in a.
|
protected void |
reduceIn(long[] limbs,
long v,
int i) |
protected void |
square(long[] a,
long[] r)
Multiply an IntegerPolynomial representation (a) with itself and store
the result in an IntegerPolynomialRepresentation (r).
|
addLimbs, addLimbsModPowerTwo, carry, carry, carryOut, carryValue, conditionalAssign, conditionalSwap, decode, encode, encode, encodeSmall, evaluate, finalReduce, get0, get1, getElement, getElement, getMaxAdds, getNumLimbs, getSize, getSmallValue, limbsToByteArray, multByInt, postEncodeCarry, setLimbsValuePositiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementpublic static final java.math.BigInteger MODULUS
public static final Curve25519OrderField ONE
protected void reduceIn(long[] limbs,
long v,
int i)
reduceIn in class IntegerPolynomialprotected void finalCarryReduceLast(long[] limbs)
IntegerPolynomialfinalCarryReduceLast in class IntegerPolynomialprotected void mult(long[] a,
long[] b,
long[] r)
IntegerPolynomialmult in class IntegerPolynomialprotected void reduce(long[] a)
IntegerPolynomialreduce in class IntegerPolynomialprotected void square(long[] a,
long[] r)
IntegerPolynomialsquare in class IntegerPolynomial