aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/workfactor.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-09-17 14:00:06 +0000
committerlloyd <[email protected]>2009-09-17 14:00:06 +0000
commit9a13eb0a34fad9dc78e88970233020a5c0bdb4ed (patch)
tree5f3e9116672453fae2939501e8ab0fc90f01c322 /src/pubkey/workfactor.h
parent69e8cc40848b95a644fb952c73788e825c1683ba (diff)
parente1d81327dde6c6837ed81c61c58876bd261fb47d (diff)
propagate from branch 'net.randombit.botan' (head 92e05ab242e4b6998d685961c53700534a673bce)
to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
Diffstat (limited to 'src/pubkey/workfactor.h')
-rw-r--r--src/pubkey/workfactor.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pubkey/workfactor.h b/src/pubkey/workfactor.h
new file mode 100644
index 000000000..653f697e3
--- /dev/null
+++ b/src/pubkey/workfactor.h
@@ -0,0 +1,22 @@
+/*
+* Public Key Work Factor Functions
+* (C) 1999-2007 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_WORKFACTOR_H__
+#define BOTAN_WORKFACTOR_H__
+
+#include <botan/types.h>
+
+namespace Botan {
+
+/*
+* Work Factor Estimates
+*/
+BOTAN_DLL u32bit dl_work_factor(u32bit prime_group_size);
+
+}
+
+#endif