VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Format.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-10 00:44:47 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-12-10 00:51:34 +0100
commitf9d95ef2c84ebc61e4e0c77f8b9f054c65abd7cd (patch)
tree0f0dc8c824a639577a8e8f2d7599ebcad4711ac9 /src/Common/Format.h
parent5eaa204d83a1d9867094c14b4a35f310f27f6c65 (diff)
downloadVeraCrypt-f9d95ef2c84ebc61e4e0c77f8b9f054c65abd7cd.tar.gz
VeraCrypt-f9d95ef2c84ebc61e4e0c77f8b9f054c65abd7cd.zip
Windows: Add switch /FastCreateFile for VeraCrypt Format.exe to speedup creation of large file container if quick format is selected. This switch comes with security issues since it will embed existing content on disk into the file container which may expose sensitive content to an attacker who has access to the file container.
Diffstat (limited to 'src/Common/Format.h')
-rw-r--r--src/Common/Format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Format.h b/src/Common/Format.h
index 961ece7c..4ce1b8c7 100644
--- a/src/Common/Format.h
+++ b/src/Common/Format.h
@@ -38,6 +38,7 @@ typedef struct
unsigned int clusterSize;
BOOL sparseFileSwitch;
BOOL quickFormat;
+ BOOL fastCreateFile;
DWORD sectorSize;
int *realClusterSize;
Password *password;