org.bouncycastle.pqc.legacy.math.linearalgebra
Class GoppaCode.MaMaPe
java.lang.Object
|
+--org.bouncycastle.pqc.legacy.math.linearalgebra.GoppaCode.MaMaPe
- Enclosing class:
- GoppaCode
- public static class GoppaCode.MaMaPe
- extends java.lang.Object
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:
GF2Matrix
,
Permutation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GoppaCode.MaMaPe
public GoppaCode.MaMaPe(GF2Matrix s,
GF2Matrix h,
Permutation p)
- Construct a new
MaMaPe
container with the given parameters.
- Parameters:
s
- the first matrixh
- the second matrixp
- the permutation
getFirstMatrix
public GF2Matrix getFirstMatrix()
- Returns:
- the first matrix
getSecondMatrix
public GF2Matrix getSecondMatrix()
- Returns:
- the second matrix
getPermutation
public Permutation getPermutation()
- Returns:
- the permutation