Ugochukwu Mmaduekwe 7 년 전
부모
커밋
437f6ee6d7
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      CryptoLib/src/Math/EC/Multiplier/ClpFixedPointUtilities.pas

+ 5 - 3
CryptoLib/src/Math/EC/Multiplier/ClpFixedPointUtilities.pas

@@ -108,9 +108,6 @@ begin
     bits := GetCombSize(c);
     d := (bits + minWidth - 1) div minWidth;
 
-    raise Exception.Create(c.order.ToString + ' DABA ' + IntToStr(bits) +
-      ' DABA ' + IntToStr(d));
-
     System.SetLength(pow2Table, minWidth + 1);
 
     pow2Table[0] := p;
@@ -119,6 +116,11 @@ begin
       pow2Table[i] := pow2Table[i - 1].TimesPow2(d);
     end;
 
+    raise Exception.Create(pow2Table[0].ToString + ' DABA ' + pow2Table[1]
+      .ToString + ' DABA ' + pow2Table[2].ToString + ' DABA ' + pow2Table[3]
+      .ToString + ' DABA ' + pow2Table[4].ToString + ' DABA ' + pow2Table[5]
+      .ToString);
+
     // This will be the 'offset' value
     pow2Table[minWidth] := pow2Table[0].Subtract(pow2Table[1]);