aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/dh/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/dh/dh.h')
-rw-r--r--src/lib/pubkey/dh/dh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/pubkey/dh/dh.h b/src/lib/pubkey/dh/dh.h
index 9911453fb..d15bc5eb3 100644
--- a/src/lib/pubkey/dh/dh.h
+++ b/src/lib/pubkey/dh/dh.h
@@ -67,6 +67,11 @@ class BOTAN_DLL DH_PrivateKey : public DH_PublicKey,
*/
DH_PrivateKey(RandomNumberGenerator& rng, const DL_Group& grp,
const BigInt& x = 0);
+
+ std::unique_ptr<PK_Ops::Key_Agreement>
+ create_key_agreement_op(RandomNumberGenerator& rng,
+ const std::string& params,
+ const std::string& provider) const override;
};
}