From 96c053b36edabb04f38f1ec5dc916c4bb6a67e35 Mon Sep 17 00:00:00 2001 From: stelar7 Date: Sat, 26 Oct 2024 14:11:09 +0200 Subject: [PATCH] LibCrypto: Remove some debug spam from RSA generation --- Userland/Libraries/LibCrypto/PK/RSA.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibCrypto/PK/RSA.h b/Userland/Libraries/LibCrypto/PK/RSA.h index 99317bcd090..ce635baebbd 100644 --- a/Userland/Libraries/LibCrypto/PK/RSA.h +++ b/Userland/Libraries/LibCrypto/PK/RSA.h @@ -163,13 +163,11 @@ public: p = NumberTheory::random_big_prime(bits / 2); q = NumberTheory::random_big_prime(bits / 2); lambda = NumberTheory::LCM(p.minus(1), q.minus(1)); - dbgln("checking combination p={}, q={}, lambda={}", p, q, lambda.length()); } while (!(NumberTheory::GCD(e, lambda) == 1)); auto n = p.multiplied_by(q); auto d = NumberTheory::ModularInverse(e, lambda); - dbgln("Your keys are Pub(n={}, e={}) and Priv(n={}, d={}, p={}, q={})", n, e, n, d, p, q); RSAKeyPair keys { { n, e }, { n, d, e, p, q }