aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecies/ecies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ecies/ecies.h')
-rw-r--r--src/lib/pubkey/ecies/ecies.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/pubkey/ecies/ecies.h b/src/lib/pubkey/ecies/ecies.h
index 94b0bd576..3f7a2e48b 100644
--- a/src/lib/pubkey/ecies/ecies.h
+++ b/src/lib/pubkey/ecies/ecies.h
@@ -70,8 +70,6 @@ class BOTAN_DLL ECIES_KA_Params
virtual ~ECIES_KA_Params() = default;
- std::unique_ptr<KDF> create_kdf() const;
-
inline const EC_Group& domain() const
{
return m_domain;
@@ -107,6 +105,11 @@ class BOTAN_DLL ECIES_KA_Params
return m_compression_mode;
}
+ const std::string& kdf_spec() const
+ {
+ return m_kdf_spec;
+ }
+
private:
const EC_Group m_domain;
const std::string m_kdf_spec;