@@ -12,14 +12,14 @@ public class FrodoParameters
1212 private static final short [] cdf_table976 = new short []{5638 , 15915 , 23689 , 28571 , 31116 , 32217 , 32613 , 32731 , 32760 , 32766 , 32767 };
1313 private static final short [] cdf_table1344 = new short []{9142 , 23462 , 30338 , 32361 , 32725 , 32765 , 32767 };
1414
15- public static final FrodoParameters frodokem640aes = new FrodoParameters ("frodokem640aes" , 640 , 15 , 2 , cdf_table640 , new SHAKEDigest (128 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (640 , (1 <<15 )), 64 );
16- public static final FrodoParameters frodokem640shake = new FrodoParameters ("frodokem640shake" , 640 , 15 , 2 , cdf_table640 , new SHAKEDigest (128 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (640 , (1 <<15 )), 64 );
15+ public static final FrodoParameters frodokem640aes = new FrodoParameters ("frodokem640aes" , 640 , 15 , 2 , cdf_table640 , new SHAKEDigest (128 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (640 , (1 <<15 )));
16+ public static final FrodoParameters frodokem640shake = new FrodoParameters ("frodokem640shake" , 640 , 15 , 2 , cdf_table640 , new SHAKEDigest (128 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (640 , (1 <<15 )));
1717
18- public static final FrodoParameters frodokem976aes = new FrodoParameters ("frodokem976aes" , 976 , 16 , 3 , cdf_table976 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (976 , (1 <<16 )), 96 );
19- public static final FrodoParameters frodokem976shake = new FrodoParameters ("frodokem976shake" , 976 , 16 , 3 , cdf_table976 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (976 , (1 <<16 )), 96 );
18+ public static final FrodoParameters frodokem976aes = new FrodoParameters ("frodokem976aes" , 976 , 16 , 3 , cdf_table976 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (976 , (1 <<16 )));
19+ public static final FrodoParameters frodokem976shake = new FrodoParameters ("frodokem976shake" , 976 , 16 , 3 , cdf_table976 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (976 , (1 <<16 )));
2020
21- public static final FrodoParameters frodokem1344aes = new FrodoParameters ("frodokem1344aes" , 1344 , 16 , 4 , cdf_table1344 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (1344 , (1 <<16 )), 128 );
22- public static final FrodoParameters frodokem1344shake = new FrodoParameters ("frodokem1344shake" , 1344 , 16 , 4 , cdf_table1344 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (1344 , (1 <<16 )), 128 );
21+ public static final FrodoParameters frodokem1344aes = new FrodoParameters ("frodokem1344aes" , 1344 , 16 , 4 , cdf_table1344 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Aes128MatrixGenerator (1344 , (1 <<16 )));
22+ public static final FrodoParameters frodokem1344shake = new FrodoParameters ("frodokem1344shake" , 1344 , 16 , 4 , cdf_table1344 , new SHAKEDigest (256 ), new FrodoMatrixGenerator .Shake128MatrixGenerator (1344 , (1 <<16 )));
2323
2424 private final String name ;
2525 private final int n ;
@@ -28,7 +28,7 @@ public class FrodoParameters
2828 private final int defaultKeySize ;
2929 private final FrodoEngine engine ;
3030
31- private FrodoParameters (String name , int n , int D , int B , short [] cdf_table , Xof digest , FrodoMatrixGenerator mGen , int defaultKeySize )
31+ private FrodoParameters (String name , int n , int D , int B , short [] cdf_table , Xof digest , FrodoMatrixGenerator mGen )
3232 {
3333 this .name = name ;
3434 this .n = n ;
0 commit comments