VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-19 00:39:36 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-21 00:45:23 +0100
commit27b3fee02d5242e743f87dd15db61d89073e8caa (patch)
tree7639ed35f9457cf6c1e08576bcdb3863ef9789ac /src/Common/Crypto.h
parent20463477755e5858441935ee18a6820c030df343 (diff)
downloadVeraCrypt-27b3fee02d5242e743f87dd15db61d89073e8caa.tar.gz
VeraCrypt-27b3fee02d5242e743f87dd15db61d89073e8caa.zip
Windows: remove unused fields from CRYPTO_INFO structure
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r--src/Common/Crypto.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h
index 07f6c069..6021c42f 100644
--- a/src/Common/Crypto.h
+++ b/src/Common/Crypto.h
@@ -245,18 +245,13 @@ typedef struct CRYPTO_INFO_t
#ifndef TC_WINDOWS_BOOT
uint16 HeaderVersion;
- GfCtx gf_ctx;
-
CRYPTOPP_ALIGN_DATA(16) unsigned __int8 master_keydata[MASTER_KEYDATA_SIZE]; /* This holds the volume header area containing concatenated master key(s) and secondary key(s) (XTS mode). For LRW (deprecated/legacy), it contains the tweak key before the master key(s). For CBC (deprecated/legacy), it contains the IV seed before the master key(s). */
CRYPTOPP_ALIGN_DATA(16) unsigned __int8 k2[MASTER_KEYDATA_SIZE]; /* For XTS, this contains the secondary key (if cascade, multiple concatenated). For LRW (deprecated/legacy), it contains the tweak key. For CBC (deprecated/legacy), it contains the IV seed. */
- unsigned __int8 salt[PKCS5_SALT_SIZE];
+
int noIterations;
BOOL bTrueCryptMode;
int volumePim;
- uint64 volume_creation_time; // Legacy
- uint64 header_creation_time; // Legacy
-
BOOL bProtectHiddenVolume; // Indicates whether the volume contains a hidden volume to be protected against overwriting
BOOL bHiddenVolProtectionAction; // TRUE if a write operation has been denied by the driver in order to prevent the hidden volume from being overwritten (set to FALSE upon volume mount).