aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ecdh/ecdh.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-02 03:41:29 +0000
committerlloyd <[email protected]>2010-03-02 03:41:29 +0000
commit510128ffd3789301305c7f1fe52a11b238a6a60b (patch)
tree228459b54b48e80e00c64f3574c9b7761db6ff86 /src/pubkey/ecdh/ecdh.cpp
parent70d72cc1a843bb5e60c5f6ab27f2f3226f1333a3 (diff)
Remove extraneous include
Diffstat (limited to 'src/pubkey/ecdh/ecdh.cpp')
-rw-r--r--src/pubkey/ecdh/ecdh.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pubkey/ecdh/ecdh.cpp b/src/pubkey/ecdh/ecdh.cpp
index 2ddc371b2..e27676d46 100644
--- a/src/pubkey/ecdh/ecdh.cpp
+++ b/src/pubkey/ecdh/ecdh.cpp
@@ -9,8 +9,6 @@
#include <botan/ecdh.h>
-#include <iostream>
-
namespace Botan {
ECDH_PublicKey::ECDH_PublicKey(const EC_Domain_Params& dom_par,
@@ -63,8 +61,6 @@ SecureVector<byte> ECDH_PrivateKey::derive_key(const PointGFp& point) const
PointGFp S = (cofactor * point) * (private_value() * l);
S.check_invariants();
- //PointGFp S = point * private_value();
-
return BigInt::encode_1363(S.get_affine_x(),
point.get_curve().get_p().bytes());
}