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

34 lines
707 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 McEliecePublicKeyParameters extends McElieceKeyParameters {
private GF2Matrix g;
private int n;
private int t;
public int getT() {
return this.t;
}
public int getN() {
return this.n;
}
public int getK() {
return this.g.getNumRows();
}
public GF2Matrix getG() {
return this.g;
}
public McEliecePublicKeyParameters(int i, int i2, GF2Matrix gF2Matrix) {
super(false, null);
this.n = i;
this.t = i2;
this.g = new GF2Matrix(gF2Matrix);
}
}