Skip to content

Commit ce74f3c

Browse files
committed
fixed inverted test.
1 parent 7d47ae2 commit ce74f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/pqc/crypto/falcon/FalconParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class FalconParameters
1414

1515
private FalconParameters(String name, int logn, int nonce_length)
1616
{
17-
if (logn > 0 && logn <= 10)
17+
if (logn < 1 || logn > 10)
1818
{
1919
throw new IllegalArgumentException("Log N degree should be between 1 and 10");
2020
}

0 commit comments

Comments
 (0)