GF2mField, PolynomialGF2mSmallM
| Modifier and Type | Class and Description |
|---|---|
| public static class | GoppaCode.MaMaPe
This class is a container for two instances of |
| public static class | GoppaCode.MatrixSet
This class is a container for an instance of |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GoppaCode. | Returns: the tuple (S^-1, M, P)the check matrix h, SecureRandom a source of randomness sr)Given a check matrix H, compute matrices S, M, and a random permutation P such that S*H*P = (Id|M). |
| public static GF2Matrix | createCanonicalCheckMatrix(GF2mField
the finite field field, PolynomialGF2mSmallM the irreducible Goppa polynomial gp)Construct the check matrix of a Goppa code in canonical form from the irreducible Goppa polynomial over the finite field GF(2m). |
| public static GF2Vector | Returns: the error vectorthe syndrome syndVec, GF2mField the finite field field, PolynomialGF2mSmallM the irreducible Goppa polynomial gp, PolynomialGF2mSmallM[] the matrix for computing square roots in
(GF(2m))t sqRootMatrix)Find an error vector e over GF(2) from an input syndrome s over GF(2m). |
| GoppaCode | back to summary |
|---|---|
| private GoppaCode() Default constructor (private). | |
| computeSystematicForm | back to summary |
|---|---|
| public static GoppaCode. Given a check matrix H, compute matrices S,
M, and a random permutation P such that
S*H*P = (Id|M). Return S^-1, M, and
P as
| |
| createCanonicalCheckMatrix | back to summary |
|---|---|
| public static GF2Matrix createCanonicalCheckMatrix(GF2mField field, PolynomialGF2mSmallM gp) Construct the check matrix of a Goppa code in canonical form from the irreducible Goppa polynomial over the finite field GF(2m).
| |
| syndromeDecode | back to summary |
|---|---|
| public static GF2Vector syndromeDecode(GF2Vector syndVec, GF2mField field, PolynomialGF2mSmallM gp, PolynomialGF2mSmallM[] sqRootMatrix) Find an error vector e over GF(2) from an input syndrome s over GF(2m).
| |
GF2Matrix and one
instance of Permutation. It is used to hold the systematic form
S*H*P = (Id|M) of the check matrix H as returned by
GoppaCode#computeSystematicForm(GF2Matrix, SecureRandom).
GF2Matrix, Permutation
| Modifier and Type | Field and Description |
|---|---|
| private GF2Matrix | |
| private Permutation | |
| private GF2Matrix |
| Access | Constructor and Description |
|---|---|
| public | MaMaPe(GF2Matrix
the first matrix s, GF2Matrix the second matrix h, Permutation the permutation p)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public GF2Matrix | |
| public Permutation | |
| public GF2Matrix |
| h | back to summary |
|---|---|
| private GF2Matrix h | |
| p | back to summary |
|---|---|
| private Permutation p | |
| s | back to summary |
|---|---|
| private GF2Matrix s | |
| MaMaPe | back to summary |
|---|---|
| public MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p) Construct a new
| |
| getFirstMatrix | back to summary |
|---|---|
public GF2Matrix getFirstMatrix()
| |
| getPermutation | back to summary |
|---|---|
public Permutation getPermutation()
| |
| getSecondMatrix | back to summary |
|---|---|
public GF2Matrix getSecondMatrix()
| |
GF2Matrix and one
int[]. It is used to hold a generator matrix and the set of indices such
that the submatrix of the generator matrix consisting of the specified
columns is the identity.
GF2Matrix, Permutation
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public GF2Matrix | |
| public int[] | Returns: the set of indices such that the submatrix of the generator matrix consisting of the specified columns is the identity
|
| MatrixSet | back to summary |
|---|---|
| public MatrixSet(GF2Matrix g, int[] setJ) Construct a new
| |
| getG | back to summary |
|---|---|
public GF2Matrix getG()
| |
| getSetJ | back to summary |
|---|---|
public int[] getSetJ()
| |