diff options
Diffstat (limited to 'src/utils/util.h')
-rw-r--r-- | src/utils/util.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/src/utils/util.h b/src/utils/util.h index d0e2e110a..ac7867390 100644 --- a/src/utils/util.h +++ b/src/utils/util.h @@ -1,7 +1,9 @@ -/************************************************* -* Utility Functions Header File * -* (C) 1999-2007 Jack Lloyd * -*************************************************/ +/* +* Utility Functions +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ #ifndef BOTAN_UTIL_H__ #define BOTAN_UTIL_H__ @@ -10,26 +12,26 @@ namespace Botan { -/************************************************* -* Time Access Functions * -*************************************************/ +/* +* Time Access Functions +*/ BOTAN_DLL u64bit system_time(); -/************************************************* -* Memory Locking Functions * -*************************************************/ +/* +* Memory Locking Functions +*/ BOTAN_DLL bool lock_mem(void*, u32bit); BOTAN_DLL void unlock_mem(void*, u32bit); -/************************************************* -* Misc Utility Functions * -*************************************************/ +/* +* Misc Utility Functions +*/ BOTAN_DLL u32bit round_up(u32bit, u32bit); BOTAN_DLL u32bit round_down(u32bit, u32bit); -/************************************************* -* Work Factor Estimates * -*************************************************/ +/* +* Work Factor Estimates +*/ BOTAN_DLL u32bit dl_work_factor(u32bit); } |