Package | Description |
---|---|
org.bouncycastle.pqc.jcajce.provider.mceliece | |
org.bouncycastle.pqc.math.linearalgebra |
Modifier and Type | Method and Description |
---|---|
static GF2Vector[] |
McElieceCCA2Primitives.decryptionPrimitive(BCMcElieceCCA2PrivateKey privKey,
GF2Vector c)
The McEliece decryption primitive.
|
static GF2Vector[] |
McElieceCCA2Primitives.decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey,
GF2Vector c) |
static GF2Vector |
McElieceCCA2Primitives.encryptionPrimitive(BCMcElieceCCA2PublicKey pubKey,
GF2Vector m,
GF2Vector z)
The McEliece encryption primitive.
|
static GF2Vector |
McElieceCCA2Primitives.encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey,
GF2Vector m,
GF2Vector z) |
Modifier and Type | Method and Description |
---|---|
static GF2Vector[] |
McElieceCCA2Primitives.decryptionPrimitive(BCMcElieceCCA2PrivateKey privKey,
GF2Vector c)
The McEliece decryption primitive.
|
static GF2Vector[] |
McElieceCCA2Primitives.decryptionPrimitive(McElieceCCA2PrivateKeyParameters privKey,
GF2Vector c) |
static GF2Vector |
McElieceCCA2Primitives.encryptionPrimitive(BCMcElieceCCA2PublicKey pubKey,
GF2Vector m,
GF2Vector z)
The McEliece encryption primitive.
|
static GF2Vector |
McElieceCCA2Primitives.encryptionPrimitive(McElieceCCA2PublicKeyParameters pubKey,
GF2Vector m,
GF2Vector z) |
Modifier and Type | Method and Description |
---|---|
GF2Vector |
GF2Vector.extractLeftVector(int k)
Return a new vector consisting of the first k elements of this
vector.
|
GF2Vector |
GF2Vector.extractRightVector(int k)
Return a new vector consisting of the last k elements of this
vector.
|
GF2Vector |
GF2Vector.extractVector(int[] setJ)
Return a new vector consisting of the elements of this vector with the
indices given by the set setJ.
|
static GF2Vector |
GF2Vector.OS2VP(int length,
byte[] encVec)
Construct a new GF2Vector with the given length out of the encoded
vector.
|
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).
|
Modifier and Type | Method and Description |
---|---|
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).
|
Constructor and Description |
---|
GF2Vector(GF2Vector other)
Copy constructor.
|
Copyright © 2020 BouncyCastle.org. All rights reserved.