34 lines
707 B
Java
34 lines
707 B
Java
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);
|
|
}
|
|
}
|