From 6854db102144c721409fc6fc02d6c5c90a816fce Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 10 Mar 2020 18:28:25 +0300 Subject: [PATCH] Remove unneeded call to ensure_const_time on a public exponent. GitOrigin-RevId: 5b35a453851ecc4caf4c97f17d059c2dd1c81cfd --- td/mtproto/crypto.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/td/mtproto/crypto.cpp b/td/mtproto/crypto.cpp index 84cf3d59..905228cf 100644 --- a/td/mtproto/crypto.cpp +++ b/td/mtproto/crypto.cpp @@ -27,7 +27,6 @@ namespace td { /*** RSA ***/ RSA::RSA(BigNum n, BigNum e) : n_(std::move(n)), e_(std::move(e)) { - e_.ensure_const_time(); } RSA RSA::clone() const {