public class McElieceCCA2PrivateKeyParameters extends McElieceCCA2KeyParameters
Constructor and Description |
---|
McElieceCCA2PrivateKeyParameters(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
GF2Matrix canonicalCheckMatrix,
Permutation p,
java.lang.String digest)
Constructor.
|
McElieceCCA2PrivateKeyParameters(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
Permutation p,
java.lang.String digest)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GF2mField |
getField() |
PolynomialGF2mSmallM |
getGoppaPoly() |
GF2Matrix |
getH() |
int |
getK() |
int |
getN() |
Permutation |
getP() |
PolynomialGF2mSmallM[] |
getQInv() |
int |
getT() |
getDigest
isPrivate
public McElieceCCA2PrivateKeyParameters(int n, int k, GF2mField field, PolynomialGF2mSmallM gp, Permutation p, java.lang.String digest)
n
- the length of the codek
- the dimension of the codefield
- the finite field GF(2m)gp
- the irreducible Goppa polynomialp
- the permutationdigest
- name of digest algorithmpublic McElieceCCA2PrivateKeyParameters(int n, int k, GF2mField field, PolynomialGF2mSmallM gp, GF2Matrix canonicalCheckMatrix, Permutation p, java.lang.String digest)
n
- the length of the codek
- the dimension of the codefield
- the finite field GF(2m)gp
- the irreducible Goppa polynomialcanonicalCheckMatrix
- the canonical check matrixp
- the permutationdigest
- name of digest algorithmpublic int getN()
public int getK()
public int getT()
public GF2mField getField()
public PolynomialGF2mSmallM getGoppaPoly()
public Permutation getP()
public GF2Matrix getH()
public PolynomialGF2mSmallM[] getQInv()