|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.legacy.crypto.mceliece.McElieceParameters
Field Summary | |
static int |
DEFAULT_M
The default extension degree |
static int |
DEFAULT_T
The default error correcting capability. |
Constructor Summary | |
McElieceParameters()
Constructor. |
|
McElieceParameters(Digest digest)
|
|
McElieceParameters(int keysize)
Constructor. |
|
McElieceParameters(int keysize,
Digest digest)
Constructor. |
|
McElieceParameters(int m,
int t)
Constructor. |
|
McElieceParameters(int m,
int t,
Digest digest)
Constructor. |
|
McElieceParameters(int m,
int t,
int poly)
Constructor. |
|
McElieceParameters(int m,
int t,
int poly,
Digest digest)
Constructor. |
Method Summary | |
int |
getFieldPoly()
|
int |
getM()
|
int |
getN()
|
int |
getT()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_M
public static final int DEFAULT_T
Constructor Detail |
public McElieceParameters()
public McElieceParameters(Digest digest)
public McElieceParameters(int keysize)
keysize
- the length of a Goppa code
java.lang.IllegalArgumentException
- if keysize < 1.public McElieceParameters(int keysize, Digest digest)
keysize
- the length of a Goppa codedigest
- CCA2 mode digest
java.lang.IllegalArgumentException
- if keysize < 1.public McElieceParameters(int m, int t)
m
- degree of the finite field GF(2^m)t
- error correction capability of the code
java.lang.IllegalArgumentException
- if m < 1 or m > 32 or
t < 0 or t > n.public McElieceParameters(int m, int t, Digest digest)
m
- degree of the finite field GF(2^m)t
- error correction capability of the code
java.lang.IllegalArgumentException
- if m < 1 or m > 32 or
t < 0 or t > n.public McElieceParameters(int m, int t, int poly)
m
- degree of the finite field GF(2^m)t
- error correction capability of the codepoly
- the field polynomial
java.lang.IllegalArgumentException
- if m < 1 or m > 32 or
t < 0 or t > n or
poly is not an irreducible field polynomial.public McElieceParameters(int m, int t, int poly, Digest digest)
m
- degree of the finite field GF(2^m)t
- error correction capability of the codepoly
- the field polynomialdigest
- CCA2 mode digest
java.lang.IllegalArgumentException
- if m < 1 or m > 32 or
t < 0 or t > n or
poly is not an irreducible field polynomial.Method Detail |
public int getM()
public int getN()
public int getT()
public int getFieldPoly()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |