package org.bouncycastle.pqc.math.linearalgebra; /* loaded from: classes6.dex */ public abstract class GF2nElement implements GFElement { protected int mDegree; protected GF2nField mField; abstract void assignOne(); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void assignZero(); @Override // org.bouncycastle.pqc.math.linearalgebra.GFElement public abstract Object clone(); public abstract GF2nElement increase(); public abstract void increaseThis(); public abstract GF2nElement solveQuadraticEquation() throws RuntimeException; public abstract GF2nElement square(); public abstract GF2nElement squareRoot(); public abstract void squareRootThis(); public abstract void squareThis(); /* JADX INFO: Access modifiers changed from: package-private */ public abstract boolean testBit(int i); public abstract boolean testRightmostBit(); public abstract int trace(); @Override // org.bouncycastle.pqc.math.linearalgebra.GFElement public final void subtractFromThis(GFElement gFElement) { addToThis(gFElement); } @Override // org.bouncycastle.pqc.math.linearalgebra.GFElement public final GFElement subtract(GFElement gFElement) throws RuntimeException { return add(gFElement); } public final GF2nField getField() { return this.mField; } public final GF2nElement convert(GF2nField gF2nField) throws RuntimeException { return this.mField.convert(this, gF2nField); } }