@Test public void success_ModCoordinate() { Coordinate coordinate = new CoordinateEd448(new BigInteger("49729590024926883705949292896832095905118054181242336629105543669854507339847693658376641076363345491918429815972314419326143158869106070")); Coordinate result = coordinate.mod(); assertThat(result.getInteger(), is(new BigInteger("304556772825615148595273960447787569070441654504708529964210125572869024510001115701686984853340368672385672566947078774505293620256218"))); }
@Override public Coordinate mod() { return new CoordinateEd448(getInteger().mod(curve.getPrimePowerP())); }
CoordinateEd448 extends Coordinate { @Override public Coordinate mod() { return new CoordinateEd448(getInteger().mod(curve.getPrimePowerP())); } }
CoordinateEd448 extends Coordinate { @Override public Coordinate mod() { return new CoordinateEd448(getInteger().mod(curve.getPrimePowerP())); } CoordinateEd448(BigInteger integer); }
CoordinateEd448 extends Coordinate { @Override public Coordinate mod() { return new CoordinateEd448(getInteger().mod(curve.getPrimePowerP())); } CoordinateEd448(BigInteger integer); @Override Coordinate add(Coordinate val); @Override Coordinate divide(Coordinate val); @Override Coordinate multiply(Coordinate val); @Override Coordinate subtract(Coordinate val); @Override Coordinate mod(); @Override Coordinate inverse(); @Override Coordinate powerMod(BigInteger exponent); @Override Coordinate negate(); @Override EncodedCoordinate encode(); }
CoordinateEd448 extends Coordinate { @Override public Coordinate mod() { return new CoordinateEd448(getInteger().mod(curve.getPrimePowerP())); } CoordinateEd448(BigInteger integer); @Override Coordinate add(Coordinate val); @Override Coordinate divide(Coordinate val); @Override Coordinate multiply(Coordinate val); @Override Coordinate subtract(Coordinate val); @Override Coordinate mod(); @Override Coordinate inverse(); @Override Coordinate powerMod(BigInteger exponent); @Override Coordinate negate(); @Override EncodedCoordinate encode(); static final CoordinateEd448 ZERO; static final CoordinateEd448 ONE; }