what-the-bank/sources/org/bouncycastle/pqc/crypto/mceliece/McElieceCCA2PublicKeyParame...

34 lines
754 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.pqc.crypto.mceliece;
import org.bouncycastle.pqc.math.linearalgebra.GF2Matrix;
/* loaded from: classes6.dex */
public class McElieceCCA2PublicKeyParameters extends McElieceCCA2KeyParameters {
private GF2Matrix matrixG;
private int n;
private int t;
public int getT() {
return this.t;
}
public int getN() {
return this.n;
}
public int getK() {
return this.matrixG.getNumRows();
}
public GF2Matrix getG() {
return this.matrixG;
}
public McElieceCCA2PublicKeyParameters(int i, int i2, GF2Matrix gF2Matrix, String str) {
super(false, str);
this.n = i;
this.t = i2;
this.matrixG = new GF2Matrix(gF2Matrix);
}
}