TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start

This commit is contained in:
jsteube
2018-07-31 16:18:45 +02:00
parent c1ebfe486f
commit bdec457951
7 changed files with 109 additions and 37 deletions
+4
View File
@@ -13,6 +13,7 @@
#include <time.h>
#include <fcntl.h>
#include <ctype.h>
#include <math.h>
bool overflow_check_u32_add (const u32 a, const u32 b);
bool overflow_check_u32_mul (const u32 a, const u32 b);
@@ -70,4 +71,7 @@ u64 round_up_multiple_64 (const u64 v, const u64 m);
void hc_strncat (u8 *dst, u8 *src, const size_t n);
int count_char (const u8 *buf, const int len, const u8 c);
float get_entropy (const u8 *buf, const int len);
#endif // _SHARED_H