mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
removed unecessary parts causing build on some Intel OpenCLs to fail
This commit is contained in:
parent
c768073f60
commit
67994fc177
@ -177,11 +177,6 @@ enum
|
||||
TINFL_FAST_LOOKUP_SIZE = 1 << TINFL_FAST_LOOKUP_BITS
|
||||
};
|
||||
|
||||
typedef void *(*mz_alloc_func)(void *opaque, size_t items, size_t size);
|
||||
typedef void (*mz_free_func)(void *opaque, void *address);
|
||||
typedef void *(*mz_realloc_func)(void *opaque, void *address, size_t items, size_t size);
|
||||
|
||||
|
||||
typedef unsigned char mz_uint8;
|
||||
typedef signed short mz_int16;
|
||||
typedef unsigned short mz_uint16;
|
||||
@ -438,8 +433,6 @@ typedef struct mz_stream_s
|
||||
char *msg; /* error msg (unused) */
|
||||
struct inflate_state *state; /* internal state, allocated by zalloc/zfree */
|
||||
|
||||
mz_alloc_func zalloc; /* optional heap allocation function (defaults to malloc) */
|
||||
mz_free_func zfree; /* optional heap free function (defaults to free) */
|
||||
void *opaque; /* heap alloc function user pointer */
|
||||
|
||||
int data_type; /* data_type (unused) */
|
||||
|
@ -659,8 +659,6 @@ __kernel void m17200_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *) compressed; // input char array
|
||||
@ -931,8 +929,6 @@ __kernel void m17200_mxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *) compressed; // input char array
|
||||
|
@ -659,8 +659,6 @@ __kernel void m17200_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
@ -932,8 +930,6 @@ __kernel void m17200_mxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
|
@ -665,8 +665,6 @@ __kernel void m17200_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
@ -944,8 +942,6 @@ __kernel void m17200_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hash.data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
|
@ -675,8 +675,6 @@ __kernel void m17220_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hashes[idx].data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
|
@ -675,8 +675,6 @@ __kernel void m17220_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hashes[idx].data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
@ -967,8 +965,6 @@ __kernel void m17220_mxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hashes[idx].data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
|
@ -679,8 +679,6 @@ __kernel void m17220_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hashes[idx].data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
@ -974,8 +972,6 @@ __kernel void m17220_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
unsigned char inflated[MAX_UNCOMPRESSED_LENGTH];
|
||||
mz_stream infstream;
|
||||
inflate_state pStream;
|
||||
infstream.zalloc = Z_NULL;
|
||||
infstream.zfree = Z_NULL;
|
||||
infstream.opaque = Z_NULL;
|
||||
infstream.avail_in = esalt_bufs[digests_offset].hashes[idx].data_length - 12; // size of input
|
||||
infstream.next_in = (Bytef *)compressed; // input char array
|
||||
|
Loading…
Reference in New Issue
Block a user