瀏覽代碼

LibCrypto: Remove spammy ModPow debug log

AnotherTest 4 年之前
父節點
當前提交
34f8d55100
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp

+ 0 - 3
Libraries/LibCrypto/NumberTheory/ModularFunctions.cpp

@@ -134,9 +134,6 @@ UnsignedBigInteger ModularPower(const UnsignedBigInteger& b, const UnsignedBigIn
     UnsignedBigInteger temp_remainder;
     UnsignedBigInteger temp_remainder;
 
 
     while (!(ep < 1)) {
     while (!(ep < 1)) {
-#ifdef NT_DEBUG
-        dbg() << ep.to_base10();
-#endif
         if (ep.words()[0] % 2 == 1) {
         if (ep.words()[0] % 2 == 1) {
             // exp = (exp * base) % m;
             // exp = (exp * base) % m;
             UnsignedBigInteger::multiply_without_allocation(exp, base, temp_1, temp_2, temp_3, temp_4, temp_multiply);
             UnsignedBigInteger::multiply_without_allocation(exp, base, temp_1, temp_2, temp_3, temp_4, temp_multiply);