Class GoppaCode.MaMaPe
java.lang.Object
org.bouncycastle.pqc.legacy.math.linearalgebra.GoppaCode.MaMaPe
- Enclosing class:
GoppaCode
This class is a container for two instances of
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)
.- See Also:
-
Constructor Summary
ConstructorDescriptionMaMaPe
(GF2Matrix s, GF2Matrix h, Permutation p) Construct a newGoppaCode.MaMaPe
container with the given parameters. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
MaMaPe
Construct a newGoppaCode.MaMaPe
container with the given parameters.- Parameters:
s
- the first matrixh
- the second matrixp
- the permutation
-
-
Method Details
-
getFirstMatrix
- Returns:
- the first matrix
-
getSecondMatrix
- Returns:
- the second matrix
-
getPermutation
- Returns:
- the permutation
-