aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/gost_3410
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/gost_3410')
-rw-r--r--src/pubkey/gost_3410/gost_3410.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pubkey/gost_3410/gost_3410.cpp b/src/pubkey/gost_3410/gost_3410.cpp
index 0569dc8f0..c2ddabe63 100644
--- a/src/pubkey/gost_3410/gost_3410.cpp
+++ b/src/pubkey/gost_3410/gost_3410.cpp
@@ -14,8 +14,6 @@
#include <botan/secmem.h>
#include <botan/point_gfp.h>
-#include <iostream>
-
namespace Botan {
GOST_3410_PrivateKey::GOST_3410_PrivateKey(RandomNumberGenerator& rng,
@@ -344,9 +342,6 @@ GOST_3410_PrivateKey::sign(const byte msg[],
BigInt s = (r*m_private_value + k*e) % n;
- std::cout << "r = " << r << '\n';
- std::cout << "s = " << s << '\n';
-
SecureVector<byte> output(2*n.bytes());
r.binary_encode(output + (output.size() / 2 - r.bytes()));
s.binary_encode(output + (output.size() - s.bytes()));