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 |
---|---|
GF2mField |
McEliecePrivateKey.getField() |
GF2mField |
McElieceCCA2PrivateKey.getField() |
Constructor and Description |
---|
McElieceCCA2PrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p,
AlgorithmIdentifier digest) |
McEliecePrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p1,
Permutation p2,
GF2Matrix sInv) |
Modifier and Type | Method and Description |
---|---|
GF2mField |
McElieceCCA2PrivateKeyParameters.getField() |
GF2mField |
McEliecePrivateKeyParameters.getField() |
Constructor and Description |
---|
McElieceCCA2PrivateKeyParameters(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
Permutation p,
String digest)
Constructor.
|
McEliecePrivateKeyParameters(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM gp,
Permutation p1,
Permutation p2,
GF2Matrix sInv)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GF2mField |
BCMcEliecePrivateKey.getField() |
GF2mField |
BCMcElieceCCA2PrivateKey.getField() |
Modifier and Type | Field and Description |
---|---|
protected GF2mField |
GF2mMatrix.field
finite field GF(2^m)
|
Modifier and Type | Method and Description |
---|---|
GF2mField |
GF2mVector.getField() |
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 GF2Vector |
GoppaCode.syndromeDecode(GF2Vector syndVec,
GF2mField field,
PolynomialGF2mSmallM gp,
PolynomialGF2mSmallM[] sqRootMatrix)
Find an error vector e over GF(2) from an input
syndrome s over GF(2m).
|
GF2mVector |
GF2Vector.toExtensionFieldVector(GF2mField field)
Rewrite this vector as a vector over GF(2m) with
t elements.
|
Constructor and Description |
---|
GF2mField(GF2mField field) |
GF2mMatrix(GF2mField field,
byte[] enc)
Constructor.
|
GF2mMatrix(GF2mField field,
int[][] matrix)
Constructor.
|
GF2mVector(GF2mField field,
byte[] v)
creates the vector over GF(2^m) of given length and with elements from
array v (beginning at the first bit)
|
GF2mVector(GF2mField field,
int[] vector)
Create a new vector over GF(2m) of the given
length and element array.
|
PolynomialGF2mSmallM(GF2mField field)
Construct the zero polynomial over the finite field GF(2^m).
|
PolynomialGF2mSmallM(GF2mField field,
byte[] enc)
Create a polynomial over the finite field GF(2^m).
|
PolynomialGF2mSmallM(GF2mField field,
int degree)
Construct a monomial of the given degree over the finite field GF(2^m).
|
PolynomialGF2mSmallM(GF2mField field,
int[] coeffs)
Construct the polynomial over the given finite field GF(2^m) from the
given coefficient vector.
|
PolynomialGF2mSmallM(GF2mField field,
int deg,
char typeOfPolynomial,
SecureRandom sr)
Construct a polynomial over the finite field GF(2^m).
|
PolynomialRingGF2m(GF2mField field,
PolynomialGF2mSmallM p)
Constructor.
|
Copyright © 2018 BouncyCastle.org. All rights reserved.