projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SIMD for slow hashes prototype
[hashcat.git]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index
278f63a
..
18e2f0b
100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-123,4
+123,6
@@
void log_error (const char *fmt, ...);
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
+#define CEIL(a) ((a - (int) (a)) > 0 ? a + 1 : a)
+
#endif // COMMON_H