diff options
-rw-r--r-- | src/pubkey/ecdh/ecdh.cpp | 4 |
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()); } |