aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ecdh/ecdh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/ecdh/ecdh.h')
-rw-r--r--src/pubkey/ecdh/ecdh.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pubkey/ecdh/ecdh.h b/src/pubkey/ecdh/ecdh.h
index ad7efdc13..92796d961 100644
--- a/src/pubkey/ecdh/ecdh.h
+++ b/src/pubkey/ecdh/ecdh.h
@@ -107,8 +107,9 @@ class BOTAN_DLL ECDH_KA_Operation : public PK_Ops::KA_Operation
SecureVector<byte> agree(const byte w[], u32bit w_len) const;
private:
- CurveGFp curve;
- BigInt l_times_priv, cofactor;
+ const CurveGFp& curve;
+ const BigInt& cofactor;
+ BigInt l_times_priv;
};
}