| Modifier and Type | Field and Description |
|---|---|
| private GF2mField | field
the finite field this polynomial ring is defined over |
| private PolynomialGF2mSmallM | p
the reduction polynomial |
| protected PolynomialGF2mSmallM[] | sqMatrix
the squaring matrix for this polynomial ring (given as the array of its row vectors) |
| protected PolynomialGF2mSmallM[] | sqRootMatrix
the matrix for computing square roots in this polynomial ring (given as the array of its row vectors). |
| Access | Constructor and Description |
|---|---|
| public | PolynomialRingGF2m(GF2mField
the finite field field, PolynomialGF2mSmallM the reduction polynomial p)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private void | computeSquareRootMatrix()
Compute the matrix for computing square roots in this polynomial ring by inverting the squaring matrix. |
| private void | computeSquaringMatrix()
Compute the squaring matrix for this polynomial ring, using the base field and the reduction polynomial. |
| public PolynomialGF2mSmallM[] | |
| public PolynomialGF2mSmallM[] | |
| private static void |
| field | back to summary |
|---|---|
| private GF2mField field the finite field this polynomial ring is defined over | |
| p | back to summary |
|---|---|
| private PolynomialGF2mSmallM p the reduction polynomial | |
| sqMatrix | back to summary |
|---|---|
| protected PolynomialGF2mSmallM[] sqMatrix the squaring matrix for this polynomial ring (given as the array of its row vectors) | |
| sqRootMatrix | back to summary |
|---|---|
| protected PolynomialGF2mSmallM[] sqRootMatrix the matrix for computing square roots in this polynomial ring (given as the array of its row vectors). This matrix is computed as the inverse of the squaring matrix. | |
| PolynomialRingGF2m | back to summary |
|---|---|
| public PolynomialRingGF2m(GF2mField field, PolynomialGF2mSmallM p) Constructor.
| |
| computeSquareRootMatrix | back to summary |
|---|---|
| private void computeSquareRootMatrix() Compute the matrix for computing square roots in this polynomial ring by inverting the squaring matrix. | |
| computeSquaringMatrix | back to summary |
|---|---|
| private void computeSquaringMatrix() Compute the squaring matrix for this polynomial ring, using the base field and the reduction polynomial. | |
| getSquareRootMatrix | back to summary |
|---|---|
public PolynomialGF2mSmallM[] getSquareRootMatrix()
| |
| getSquaringMatrix | back to summary |
|---|---|
public PolynomialGF2mSmallM[] getSquaringMatrix()
| |
| swapColumns | back to summary |
|---|---|
| private static void swapColumns(PolynomialGF2mSmallM[] matrix, int first, int second) | |