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