Package | Description |
---|---|
org.bouncycastle.pqc.asn1 | |
org.bouncycastle.pqc.crypto.mceliece | |
org.bouncycastle.pqc.jcajce.provider.mceliece | |
org.bouncycastle.pqc.math.linearalgebra |
Modifier and Type | Method and Description |
---|---|
GF2Matrix |
McEliecePublicKey.getG() |
GF2Matrix |
McElieceCCA2PublicKey.getG() |
GF2Matrix |
McEliecePrivateKey.getSInv() |
Constructor and Description |
---|
McElieceCCA2PublicKey(int n,
int t,
GF2Matrix g,
AlgorithmIdentifier digest) |
McEliecePrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p1,
Permutation p2,
GF2Matrix sInv) |
McEliecePublicKey(int n,
int t,
GF2Matrix g) |
Modifier and Type | Method and Description |
---|---|
GF2Matrix |
McElieceCCA2PublicKeyParameters.getG() |
GF2Matrix |
McEliecePublicKeyParameters.getG() |
GF2Matrix |
McElieceCCA2PrivateKeyParameters.getH() |
GF2Matrix |
McEliecePrivateKeyParameters.getH() |
GF2Matrix |
McEliecePrivateKeyParameters.getSInv() |
Constructor and Description |
---|
McElieceCCA2PublicKeyParameters(int n,
int t,
GF2Matrix matrix,
String digest)
Constructor.
|
McEliecePrivateKeyParameters(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
Permutation p1,
Permutation p2,
GF2Matrix sInv)
Constructor.
|
McEliecePublicKeyParameters(int n,
int t,
GF2Matrix g)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GF2Matrix |
BCMcEliecePublicKey.getG() |
GF2Matrix |
BCMcElieceCCA2PublicKey.getG() |
GF2Matrix |
BCMcEliecePrivateKey.getH() |
GF2Matrix |
BCMcElieceCCA2PrivateKey.getH() |
GF2Matrix |
BCMcEliecePrivateKey.getSInv() |
Modifier and Type | Method and Description |
---|---|
static GF2Matrix |
GoppaCode.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).
|
static GF2Matrix[] |
GF2Matrix.createRandomRegularMatrixAndItsInverse(int n,
SecureRandom sr)
Create a nxn random regular matrix and its inverse.
|
GF2Matrix |
GF2Matrix.extendLeftCompactForm()
Compute the full form matrix (this | Id) from this matrix in
left compact form, where Id is the k x k identity
matrix and k is the number of rows of this matrix.
|
GF2Matrix |
GF2Matrix.extendRightCompactForm()
Compute the full form matrix (Id | this) from this matrix in
right compact form, where Id is the k x k identity
matrix and k is the number of rows of this matrix.
|
GF2Matrix |
GoppaCode.MaMaPe.getFirstMatrix() |
GF2Matrix |
GoppaCode.MatrixSet.getG() |
GF2Matrix |
GF2Matrix.getLeftSubMatrix()
Get the quadratic submatrix of this matrix consisting of the leftmost
numRows columns.
|
GF2Matrix |
GF2Matrix.getRightSubMatrix()
Get the submatrix of this matrix consisting of the rightmost
numColumns-numRows columns.
|
GF2Matrix |
GoppaCode.MaMaPe.getSecondMatrix() |
Modifier and Type | Method and Description |
---|---|
static GoppaCode.MaMaPe |
GoppaCode.computeSystematicForm(GF2Matrix h,
SecureRandom sr)
Given a check matrix H, compute matrices S,
M, and a random permutation P such that
S*H*P = (Id|M).
|
Constructor and Description |
---|
GF2Matrix(GF2Matrix a)
Copy constructor.
|
MaMaPe(GF2Matrix s,
GF2Matrix h,
Permutation p)
Construct a new
GoppaCode.MaMaPe container with the given parameters. |
MatrixSet(GF2Matrix g,
int[] setJ)
Construct a new
GoppaCode.MatrixSet container with the given
parameters. |
Copyright © 2018 BouncyCastle.org. All rights reserved.