File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
core/src/main/java/org/bouncycastle/pqc/crypto/falcon Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 55public 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 }
You can’t perform that action at this time.
0 commit comments