1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

removed unecessary parts causing build on some Intel OpenCLs to fail

This commit is contained in:
Sein Coray 2019-03-22 21:09:38 +01:00
parent c768073f60
commit 67994fc177
No known key found for this signature in database
GPG Key ID: 44C4180EA69758EC
7 changed files with 6 additions and 35 deletions

View File

@ -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) */

View File

@ -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
@ -964,4 +960,4 @@ __kernel void m17200_mxx (KERN_ATTR_RULES_ESALT (pkzip_t))
}
}
}
}
}

View File

@ -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
@ -964,4 +960,4 @@ __kernel void m17200_mxx (KERN_ATTR_ESALT (pkzip_t))
}
}
}
}
}

View File

@ -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
@ -976,4 +972,4 @@ __kernel void m17200_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
}
}
}
}
}

View File

@ -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
@ -1000,4 +998,4 @@ __kernel void m17220_mxx (KERN_ATTR_RULES_ESALT (pkzip_t))
idx = 0xfe;
}
}
}
}

View File

@ -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
@ -1002,4 +998,4 @@ __kernel void m17220_mxx (KERN_ATTR_ESALT (pkzip_t))
idx = 0xfe;
}
}
}
}

View File

@ -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
@ -1009,4 +1005,4 @@ __kernel void m17220_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
idx = 0xfe;
}
}
}
}