diff options
author | lloyd <[email protected]> | 2009-09-17 13:59:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-17 13:59:56 +0000 |
commit | e1d81327dde6c6837ed81c61c58876bd261fb47d (patch) | |
tree | d2453db622ac788d3832110e6b70a9fb3f45f5f2 /src/pubkey/workfactor.h | |
parent | 7d51181d2841b29277da9a31752cae612d64b534 (diff) |
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
Diffstat (limited to 'src/pubkey/workfactor.h')
-rw-r--r-- | src/pubkey/workfactor.h | 22 |
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 |