Here it is: --powertune-enable for nvidia -- Works on both linux and windows
[hashcat.git] / include / common.h
index 079d7d5..18e2f0b 100644 (file)
@@ -106,7 +106,7 @@ typedef uint32_t uint; // we need to get rid of this sooner or later, for consis
 #define SPEED_CACHE   128
 #define SPEED_MAXAGE  4096
 
-#define HCBUFSIZ      0x10000 // general large space buffer size in case the size is unknown at compile-time
+#define HCBUFSIZ      0x50000 // general large space buffer size in case the size is unknown at compile-time
 
 /**
  * functions
@@ -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