Skip to content

Commit 38c8fee

Browse files
committed
fixed exposure of constructor.
1 parent 7fde4f5 commit 38c8fee

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
public class FalconParameters
66
implements CipherParameters
77
{
8-
98
public static final FalconParameters falcon_512 = new FalconParameters("falcon-512", 9, 40);
109
public static final FalconParameters falcon_1024 = new FalconParameters("falcon-1024", 10, 40);
1110

1211
private final String name;
1312
private final int logn;
1413
private final int nonce_length;
1514

16-
public FalconParameters(String name, int logn, int nonce_length)
15+
private FalconParameters(String name, int logn, int nonce_length)
1716
{
1817
assert logn > 0 && logn <= 10 : "Log N degree should be between 1 and 10";
1918
this.name = name;
@@ -26,7 +25,7 @@ public int getLogN()
2625
return logn;
2726
}
2827

29-
public int getNonceLength()
28+
int getNonceLength()
3029
{
3130
return nonce_length;
3231
}

0 commit comments

Comments
 (0)