From a5c1978eefe2fd0dbf1ab6b7cdcb019a9b913a40 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 20 Jul 2014 12:30:58 +0200 Subject: Remove remaining legacy cryptographic algorithms that are never used by VeraCrypt. --- src/Volume/VolumeLayout.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/Volume/VolumeLayout.cpp') diff --git a/src/Volume/VolumeLayout.cpp b/src/Volume/VolumeLayout.cpp index aeade493..a3ecab02 100644 --- a/src/Volume/VolumeLayout.cpp +++ b/src/Volume/VolumeLayout.cpp @@ -7,8 +7,6 @@ */ #include "Volume/EncryptionMode.h" -#include "Volume/EncryptionModeCBC.h" -#include "Volume/EncryptionModeLRW.h" #include "Volume/EncryptionModeXTS.h" #include "VolumeLayout.h" #include "Boot/Windows/BootCommon.h" @@ -73,15 +71,7 @@ namespace VeraCrypt SupportedEncryptionAlgorithms.push_back (shared_ptr (new SerpentTwofishAES ())); SupportedEncryptionAlgorithms.push_back (shared_ptr (new TwofishSerpent ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new AESBlowfish ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new AESBlowfishSerpent ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new Blowfish ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new Cast5 ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new TripleDES ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeXTS ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeLRW ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeCBC ())); } uint64 VolumeLayoutV1Normal::GetDataOffset (uint64 volumeHostSize) const @@ -110,15 +100,7 @@ namespace VeraCrypt SupportedEncryptionAlgorithms.push_back (shared_ptr (new SerpentTwofishAES ())); SupportedEncryptionAlgorithms.push_back (shared_ptr (new TwofishSerpent ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new AESBlowfish ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new AESBlowfishSerpent ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new Blowfish ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new Cast5 ())); - SupportedEncryptionAlgorithms.push_back (shared_ptr (new TripleDES ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeXTS ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeLRW ())); - SupportedEncryptionModes.push_back (shared_ptr (new EncryptionModeCBC ())); } uint64 VolumeLayoutV1Hidden::GetDataOffset (uint64 volumeHostSize) const -- cgit v1.2.3