File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/net/i2p/crypto/eddsa/math Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ public void scalarMultiplyBasePointWithOneReturnsBasePoint() {
747747 // This test is slow (~6s) due to math utils using an inferior algorithm to calculate the result.
748748 @ Test
749749 public void scalarMultiplyBasePointReturnsExpectedResult () {
750- for (int i =0 ; i <100 ; i ++) {
750+ for (int i =0 ; i <10 ; i ++) {
751751 // Arrange:
752752 final GroupElement basePoint = ed25519 .getB ();
753753 final FieldElement f = MathUtils .getRandomFieldElement ();
@@ -809,7 +809,7 @@ public void testDoubleScalarMultiplyVariableTime() {
809809 // This test is slow (~6s) due to math utils using an inferior algorithm to calculate the result.
810810 @ Test
811811 public void doubleScalarMultiplyVariableTimeReturnsExpectedResult () {
812- for (int i =0 ; i <50 ; i ++) {
812+ for (int i =0 ; i <10 ; i ++) {
813813 // Arrange:
814814 final GroupElement basePoint = ed25519 .getB ();
815815 final GroupElement g = MathUtils .getRandomGroupElement ();
You can’t perform that action at this time.
0 commit comments