VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/Volume.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-20 12:30:58 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:21:35 +0100
commita5c1978eefe2fd0dbf1ab6b7cdcb019a9b913a40 (patch)
treebb48f3b5544dc218228d368a7e893a83f0c0b059 /src/Volume/Volume.cpp
parent75f780871949e5bacca4718507e66c8d28d72e69 (diff)
downloadVeraCrypt-a5c1978eefe2fd0dbf1ab6b7cdcb019a9b913a40.tar.gz
VeraCrypt-a5c1978eefe2fd0dbf1ab6b7cdcb019a9b913a40.zip
Remove remaining legacy cryptographic algorithms that are never used by VeraCrypt.
Diffstat (limited to 'src/Volume/Volume.cpp')
-rw-r--r--src/Volume/Volume.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp
index aeec78e2..2c319ad9 100644
--- a/src/Volume/Volume.cpp
+++ b/src/Volume/Volume.cpp
@@ -9,7 +9,6 @@
9#ifndef TC_WINDOWS 9#ifndef TC_WINDOWS
10#include <errno.h> 10#include <errno.h>
11#endif 11#endif
12#include "EncryptionModeLRW.h"
13#include "EncryptionModeXTS.h" 12#include "EncryptionModeXTS.h"
14#include "Volume.h" 13#include "Volume.h"
15#include "VolumeHeader.h" 14#include "VolumeHeader.h"
@@ -226,10 +225,6 @@ namespace VeraCrypt
226 225
227 mode.SetSectorOffset (partitionStartOffset / ENCRYPTION_DATA_UNIT_SIZE); 226 mode.SetSectorOffset (partitionStartOffset / ENCRYPTION_DATA_UNIT_SIZE);
228 } 227 }
229 else if (typeid (mode) == typeid (EncryptionModeLRW))
230 {
231 mode.SetSectorOffset (VolumeDataOffset / SectorSize);
232 }
233 228
234 // Volume protection 229 // Volume protection
235 if (Protection == VolumeProtection::HiddenVolumeReadOnly) 230 if (Protection == VolumeProtection::HiddenVolumeReadOnly)