aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-25 23:58:19 +0000
committerlloyd <[email protected]>2013-12-25 23:58:19 +0000
commitdd30b21bc05abaee34d7ca6600bbdfc4456edbd1 (patch)
treedd7d8ea78755bca6830186858d4ade2294a7f943 /src/kdf/kdf.h
parent63ba27496318bb92f620a09ca69d40b1d617e927 (diff)
Split up libstate/get_enc.cpp
Diffstat (limited to 'src/kdf/kdf.h')
-rw-r--r--src/kdf/kdf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kdf/kdf.h b/src/kdf/kdf.h
index c8aaf5d4a..b0f6e1dc3 100644
--- a/src/kdf/kdf.h
+++ b/src/kdf/kdf.h
@@ -124,6 +124,13 @@ class BOTAN_DLL MGF
virtual ~MGF() {}
};
+/**
+* Factory method for KDF (key derivation function)
+* @param algo_spec the name of the KDF to create
+* @return pointer to newly allocated object of that type
+*/
+BOTAN_DLL KDF* get_kdf(const std::string& algo_spec);
+
}
#endif