Top Fields Constructors Methods
sun.security.util.math.intpoly

public final Class IntegerPolynomial448

extends IntegerPolynomial
Class Inheritance
Imports
java.math.BigInteger

Field Summary

Modifier and TypeField and Description
private static final int
private static final long
private static final int
public static final BigInteger
private static final int
public static final IntegerPolynomial448
Inherited from sun.security.util.math.intpoly.IntegerPolynomial:
bitsPerLimbnumLimbsTWO

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod 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, long c19, long c20, long c21, long c22, long c23, long c24, long c25, long c26, long c27, long c28, long c29, long c30)

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)

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, long c20, long c21, long c22, long c23, long c24, long c25, long c26, long c27, long c28, long c29, long c30, long c31)

private static BigInteger
protected void
finalCarryReduceLast(long[] limbs)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.finalCarryReduceLast.

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.security.util.math.intpoly.IntegerPolynomial.mult.

Multiply two IntegerPolynomial representations (a and b) and store the result in an IntegerPolynomial representation (r).
protected void
reduce(long[] a)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.reduce.

Reduce an IntegerPolynomial representation (a) and store the result in a.
protected void
reduceIn(long[] limbs, long v, int i)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.reduceIn.

protected void
square(long[] a, long[] r)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.square.

Multiply an IntegerPolynomial representation (a) with itself and store the result in an IntegerPolynomialRepresentation (r).
Inherited from sun.security.util.math.intpoly.IntegerPolynomial:
addLimbsaddLimbsModPowerTwocarrycarrycarryOutcarryValueconditionalAssignconditionalSwapdecodeencodeencodeencodeSmallevaluatefinalReduceget0get1getElementgetElementgetMaxAddsgetNumLimbsgetSizegetSmallValuelimbsToByteArraymultByIntpostEncodeCarrysetLimbsValuePositive

Field Detail

BITS_PER_LIMBback to summary
private static final int BITS_PER_LIMB
CARRY_ADDback to summary
private static final long CARRY_ADD
MAX_ADDSback to summary
private static final int MAX_ADDS
MODULUSback to summary
public static final BigInteger MODULUS
NUM_LIMBSback to summary
private static final int NUM_LIMBS
ONEback to summary
public static final IntegerPolynomial448 ONE

Constructor Detail

IntegerPolynomial448back to summary
private IntegerPolynomial448()

Method Detail

carryReduceback 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, long c19, long c20, long c21, long c22, long c23, long c24, long c25, long c26, long c27, long c28, long c29, long c30)
carryReduceback 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)
carryReduce0back 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, long c20, long c21, long c22, long c23, long c24, long c25, long c26, long c27, long c28, long c29, long c30, long c31)
evaluateModulusback to summary
private static BigInteger evaluateModulus()
finalCarryReduceLastback to summary
protected void finalCarryReduceLast(long[] limbs)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.finalCarryReduceLast.

Doc from sun.security.util.math.intpoly.IntegerPolynomial.finalCarryReduceLast.

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.

Annotations
@Override
multback to summary
protected void mult(long[] a, long[] b, long[] r)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.mult.

Doc from sun.security.util.math.intpoly.IntegerPolynomial.mult.

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.

Annotations
@Override
reduceback to summary
protected void reduce(long[] a)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.reduce.

Doc from sun.security.util.math.intpoly.IntegerPolynomial.reduce.

Reduce an IntegerPolynomial representation (a) and store the result in a. Requires that a.length == numLimbs.

Annotations
@Override
reduceInback to summary
protected void reduceIn(long[] limbs, long v, int i)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.reduceIn.

Annotations
@Override
squareback to summary
protected void square(long[] a, long[] r)

Implements abstract sun.security.util.math.intpoly.IntegerPolynomial.square.

Doc from sun.security.util.math.intpoly.IntegerPolynomial.square.

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.

Annotations
@Override