aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/x942_prf/prf_x942.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdf/x942_prf/prf_x942.h')
-rw-r--r--src/kdf/x942_prf/prf_x942.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kdf/x942_prf/prf_x942.h b/src/kdf/x942_prf/prf_x942.h
index 8efc6ea45..e6093eda6 100644
--- a/src/kdf/x942_prf/prf_x942.h
+++ b/src/kdf/x942_prf/prf_x942.h
@@ -21,7 +21,10 @@ class BOTAN_DLL X942_PRF : public KDF
SecureVector<byte> derive(size_t, const byte[], size_t,
const byte[], size_t) const;
- X942_PRF(const std::string&);
+ std::string name() const { return "X942_PRF(" + key_wrap_oid + ")"; }
+ KDF* clone() const { return new X942_PRF(key_wrap_oid); }
+
+ X942_PRF(const std::string& oid);
private:
std::string key_wrap_oid;
};