diff options
author | lloyd <[email protected]> | 2009-09-17 14:00:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-17 14:00:06 +0000 |
commit | 9a13eb0a34fad9dc78e88970233020a5c0bdb4ed (patch) | |
tree | 5f3e9116672453fae2939501e8ab0fc90f01c322 /src/utils/util.h | |
parent | 69e8cc40848b95a644fb952c73788e825c1683ba (diff) | |
parent | e1d81327dde6c6837ed81c61c58876bd261fb47d (diff) |
propagate from branch 'net.randombit.botan' (head 92e05ab242e4b6998d685961c53700534a673bce)
to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
Diffstat (limited to 'src/utils/util.h')
-rw-r--r-- | src/utils/util.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/utils/util.h b/src/utils/util.h deleted file mode 100644 index ac7867390..000000000 --- a/src/utils/util.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -* Utility Functions -* (C) 1999-2007 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_UTIL_H__ -#define BOTAN_UTIL_H__ - -#include <botan/types.h> - -namespace Botan { - -/* -* Time Access Functions -*/ -BOTAN_DLL u64bit system_time(); - -/* -* Memory Locking Functions -*/ -BOTAN_DLL bool lock_mem(void*, u32bit); -BOTAN_DLL void unlock_mem(void*, u32bit); - -/* -* Misc Utility Functions -*/ -BOTAN_DLL u32bit round_up(u32bit, u32bit); -BOTAN_DLL u32bit round_down(u32bit, u32bit); - -/* -* Work Factor Estimates -*/ -BOTAN_DLL u32bit dl_work_factor(u32bit); - -} - -#endif |