aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/gost_3410
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-24 02:19:44 +0000
committerlloyd <[email protected]>2010-02-24 02:19:44 +0000
commit3612bd30b66033a65ee20014deef2b6aeea3ea41 (patch)
tree1a5720788a77f657692699a78f066cc925557a4e /src/pubkey/gost_3410
parent6e50979c8d2a0635599228a2ae1a20d59b24a0c6 (diff)
Remove debug print
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()));