CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles
This commit is contained in:
+17
-16
@@ -15,22 +15,23 @@
|
||||
int _wopen (const char *path, int oflag, ...);
|
||||
#endif
|
||||
|
||||
bool hc_fopen (HCFILE *fp, const char *path, char *mode);
|
||||
int hc_fscanf (HCFILE *fp, const char *format, void *ptr);
|
||||
int hc_fprintf (HCFILE *fp, const char *format, ...);
|
||||
int hc_vfprintf (HCFILE *fp, const char *format, va_list ap);
|
||||
int hc_fseek (HCFILE *fp, off_t offset, int whence);
|
||||
void hc_rewind (HCFILE *fp);
|
||||
off_t hc_ftell (HCFILE *fp);
|
||||
int hc_fgetc (HCFILE *fp);
|
||||
int hc_fileno (HCFILE *fp);
|
||||
int hc_feof (HCFILE *fp);
|
||||
void hc_fflush (HCFILE *fp);
|
||||
void hc_fclose (HCFILE *fp);
|
||||
int hc_fputc (int c, HCFILE *fp);
|
||||
char *hc_fgets (char *buf, int len, HCFILE *fp);
|
||||
size_t hc_fwrite (const void *ptr, size_t size, size_t nmemb, HCFILE *fp);
|
||||
size_t hc_fread (void *ptr, size_t size, size_t nmemb, HCFILE *fp);
|
||||
bool hc_fopen (HCFILE *fp, const char *path, char *mode);
|
||||
bool hc_fopen_nozip (HCFILE *fp, const char *path, char *mode);
|
||||
int hc_fscanf (HCFILE *fp, const char *format, void *ptr);
|
||||
int hc_fprintf (HCFILE *fp, const char *format, ...);
|
||||
int hc_vfprintf (HCFILE *fp, const char *format, va_list ap);
|
||||
int hc_fseek (HCFILE *fp, off_t offset, int whence);
|
||||
void hc_rewind (HCFILE *fp);
|
||||
off_t hc_ftell (HCFILE *fp);
|
||||
int hc_fgetc (HCFILE *fp);
|
||||
int hc_fileno (HCFILE *fp);
|
||||
int hc_feof (HCFILE *fp);
|
||||
void hc_fflush (HCFILE *fp);
|
||||
void hc_fclose (HCFILE *fp);
|
||||
int hc_fputc (int c, HCFILE *fp);
|
||||
char *hc_fgets (char *buf, int len, HCFILE *fp);
|
||||
size_t hc_fwrite (const void *ptr, size_t size, size_t nmemb, HCFILE *fp);
|
||||
size_t hc_fread (void *ptr, size_t size, size_t nmemb, HCFILE *fp);
|
||||
|
||||
size_t fgetl (HCFILE *fp, char *line_buf, const size_t line_sz);
|
||||
u64 count_lines (HCFILE *fp);
|
||||
|
||||
Reference in New Issue
Block a user