File tree Expand file tree Collapse file tree 3 files changed +0
-19
lines changed
core/src/main/java/org/bouncycastle/pqc/crypto/crystals Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ static int[] ntt(int[] a)
5959 r [j ] = r [j ] + t ;
6060 }
6161 }
62- // System.out.println();
6362 }
6463 return r ;
6564 }
Original file line number Diff line number Diff line change @@ -43,11 +43,6 @@ public void setCoeffs(short[] coeffs)
4343 public void polyNtt ()
4444 {
4545 this .setCoeffs (Ntt .ntt (this .getCoeffs ()));
46- // System.out.print("PolyNTT = [");
47- // for (int i = 0; i < KyberEngine.KyberN; i++) {
48- // System.out.printf("%d, ", this.getCoeffIndex(i));
49- // }
50- // System.out.println("]");
5146 this .reduce ();
5247 }
5348
Original file line number Diff line number Diff line change @@ -53,21 +53,8 @@ public void polyVecInverseNttToMont()
5353 public byte [] compressPolyVec ()
5454 {
5555 int i , j , k ;
56- // System.out.print("bp before sub q = [");
57- // for (i = 0; i < kyberK; i++) {
58- // Helper.printShortArray(this.getVectorIndex(i).getCoeffs());
59- // System.out.print("], \n");
60- // }
61- // System.out.println("]");
6256
6357 this .conditionalSubQ ();
64-
65- // System.out.print("bp sub q = [");
66- // for (i = 0; i < kyberK; i++) {
67- // Helper.printShortArray(this.getVectorIndex(i).getCoeffs());
68- // System.out.print("], \n");
69- // }
70- // System.out.println("]");
7158 short [] t ;
7259 byte [] r = new byte [engine .getKyberPolyVecCompressedBytes ()];
7360 int count = 0 ;
You can’t perform that action at this time.
0 commit comments