From e1d81327dde6c6837ed81c61c58876bd261fb47d Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 17 Sep 2009 13:59:56 +0000 Subject: Split up util.h into 3 files - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h --- src/pubkey/workfactor.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/pubkey/workfactor.h (limited to 'src/pubkey/workfactor.h') 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 + +namespace Botan { + +/* +* Work Factor Estimates +*/ +BOTAN_DLL u32bit dl_work_factor(u32bit prime_group_size); + +} + +#endif -- cgit v1.2.3