VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot/EFI/DcsRe.efi
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-04 16:25:55 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-06-04 16:25:55 +0200
commit22466535f1b9cbe1bd98363cfa98f7f796bc408a (patch)
tree7ee1c59af8e16b57953a86f8837fe465e418f60a /src/Boot/EFI/DcsRe.efi
parent3c68349a39877c5420c727cd53143ab442963759 (diff)
downloadVeraCrypt-22466535f1b9cbe1bd98363cfa98f7f796bc408a.tar.gz
VeraCrypt-22466535f1b9cbe1bd98363cfa98f7f796bc408a.zip
Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place on large volumes (relates to #1063)
We replace absolute file pointer moving by relative moving with respect to current position. This was implemented as a workaround to address the performance issues related to in-place encryption. When using SetFilePointerEx() with FILE_BEGIN as the reference point, reaching the end of large drives during in-place encryption can cause significant slowdowns. By moving the file pointer relatively, these performance issues are mitigated.
Diffstat (limited to 'src/Boot/EFI/DcsRe.efi')
0 files changed, 0 insertions, 0 deletions
id='n108' href='#n108'>108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="9.00"
	Name="Boot"
	ProjectGUID="{8B7F059F-E4C7-4E11-88F5-EE8B8433072E}"
	RootNamespace="Boot"
	Keyword="MakeFileProj"
	TargetFrameworkVersion="131072"
	>
	<Platforms>
		<Platform
			Name="Win32"
		/>
	</Platforms>
	<ToolFiles>
	</ToolFiles>
	<Configurations>
		<Configuration
			Name="Release|Win32"
			OutputDirectory="$(ConfigurationName)"
			IntermediateDirectory="$(ConfigurationName)"
			ConfigurationType="0"
			>
			<Tool
				Name="VCNMakeTool"
				BuildCommandLine="md Release 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1&#x0D;&#x0A;&#x0D;&#x0A;md Release_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES&#x0D;&#x0A;&#x0D;&#x0A;md Release_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT&#x0D;&#x0A;&#x0D;&#x0A;md Release_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH&#x0D;&#x0A;&#x0D;&#x0A;md Rescue 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;md Rescue_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;md Rescue_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;md Rescue_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH RESCUE_DISK=1"
				ReBuildCommandLine="del /q /s Release &gt;NUL:&#x0D;&#x0A;md Release 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_AES &gt;NUL:&#x0D;&#x0A;md Release_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_Serpent &gt;NUL:&#x0D;&#x0A;md Release_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_Twofish &gt;NUL:&#x0D;&#x0A;md Release_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Rescue &gt;NUL:&#x0D;&#x0A;md Rescue 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Rescue_AES &gt;NUL:&#x0D;&#x0A;md Rescue_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Rescue_Serpent &gt;NUL:&#x0D;&#x0A;md Rescue_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT RESCUE_DISK=1&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Rescue_Twofish &gt;NUL:&#x0D;&#x0A;md Rescue_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH RESCUE_DISK=1"
				CleanCommandLine="del /q /s Release Release_AES Release_Serpent Release_Twofish Rescue Rescue_AES Rescue_Serpent Rescue_Twofish &gt;NUL:"
				Output="Release\BootLoader.com"
				PreprocessorDefinitions="WIN32;NDEBUG"
				IncludeSearchPath="&quot;$(SolutionDir)&quot;;&quot;$(SolutionDir)\Common&quot;;&quot;$(SolutionDir)\Crypto&quot;;&quot;$(MSVC16_ROOT)\Include&quot;"
				ForcedIncludes=""
				AssemblySearchPath=""
				ForcedUsingAssemblies=""
				CompileAsManaged=""
			/>
		</Configuration>
		<Configuration
			Name="Release Loader|Win32"
			OutputDirectory="$(ConfigurationName)"
			IntermediateDirectory="$(ConfigurationName)"
			ConfigurationType="0"
			>
			<Tool
				Name="VCNMakeTool"
				BuildCommandLine="md Release 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1&#x0D;&#x0A;&#x0D;&#x0A;md Release_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES&#x0D;&#x0A;&#x0D;&#x0A;md Release_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT&#x0D;&#x0A;&#x0D;&#x0A;md Release_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH"
				ReBuildCommandLine="del /q /s Release &gt;NUL:&#x0D;&#x0A;md Release 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_AES &gt;NUL:&#x0D;&#x0A;md Release_AES 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_Serpent &gt;NUL:&#x0D;&#x0A;md Release_Serpent 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT&#x0D;&#x0A;&#x0D;&#x0A;del /q /s Release_Twofish &gt;NUL:&#x0D;&#x0A;md Release_Twofish 2&gt;NUL:&#x0D;&#x0A;nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH"
				CleanCommandLine="del /q /s Release Release_AES Release_Serpent Release_Twofish &gt;NUL:"
				Output="Release\BootLoader.com"
				PreprocessorDefinitions="WIN32;NDEBUG"
				IncludeSearchPath="&quot;$(SolutionDir)&quot;;&quot;$(SolutionDir)\Common&quot;;&quot;$(SolutionDir)\Crypto&quot;;&quot;$(MSVC16_ROOT)\Include&quot;"
				ForcedIncludes=""
				AssemblySearchPath=""
				ForcedUsingAssemblies=""
				CompileAsManaged=""
			/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
			>
			<File
				RelativePath=".\BootConfig.cpp"
				>
			</File>
			<File
				RelativePath=".\BootConsoleIo.cpp"
				>
			</File>
			<File
				RelativePath=".\BootCrt.asm"
				>
			</File>
			<File
				RelativePath=".\BootDebug.cpp"
				>
			</File>
			<File
				RelativePath=".\BootDiskIo.cpp"
				>
			</File>
			<File
				RelativePath=".\BootEncryptedIo.cpp"
				>
			</File>
			<File
				RelativePath=".\BootMain.cpp"
				>
			</File>
			<File
				RelativePath=".\BootMemory.cpp"
				>
			</File>
			<File
				RelativePath=".\BootSector.asm"
				>
			</File>
			<File
				RelativePath=".\Decompressor.c"
				>
			</File>
			<File
				RelativePath=".\IntFilter.cpp"
				>
			</File>
			<File
				RelativePath=".\Platform.cpp"
				>
			</File>
			<Filter
				Name="Common"
				>
				<File
					RelativePath="..\..\Common\Crc.c"
					>
				</File>
				<File
					RelativePath="..\..\Common\Crypto.c"
					>
				</File>
				<File
					RelativePath="..\..\Common\Endian.c"
					>
				</File>
				<File
					RelativePath="..\..\Common\Pkcs5.c"
					>
				</File>
				<File
					RelativePath="..\..\Common\Volumes.c"
					>
				</File>
				<File
					RelativePath="..\..\Common\Xts.c"
					>
				</File>
			</Filter>
			<Filter
				Name="Crypto"
				>
				<File
					RelativePath="..\..\Crypto\Aes_hw_cpu.asm"
					>
				</File>
				<File
					RelativePath="..\..\Crypto\AesSmall.c"
					>
				</File>
				<File
					RelativePath="..\..\Crypto\AesSmall_x86.asm"
					>
				</File>
				<File
					RelativePath="..\..\Crypto\Rmd160.c"
					>
				</File>
				<File
					RelativePath="..\..\Crypto\Serpent.c"
					>
				</File>
				<File
					RelativePath="..\..\Crypto\Twofish.c"
					>
				</File>
			</Filter>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl;inc;xsd"
			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
			>
			<File
				RelativePath=".\Bios.h"
				>
			</File>
			<File
				RelativePath=".\BootCommon.h"
				>
			</File>
			<File
				RelativePath=".\BootConfig.h"
				>
			</File>
			<File
				RelativePath=".\BootConsoleIo.h"
				>
			</File>
			<File
				RelativePath=".\BootDebug.h"
				>
			</File>
			<File
				RelativePath=".\BootDefs.h"
				>
			</File>
			<File
				RelativePath=".\BootDiskIo.h"
				>
			</File>
			<File
				RelativePath=".\BootEncryptedIo.h"
				>
			</File>
			<File
				RelativePath=".\BootMain.h"
				>
			</File>
			<File
				RelativePath=".\BootMemory.h"
				>
			</File>
			<File
				RelativePath=".\BootStrings.h"
				>
			</File>
			<File
				RelativePath=".\IntFilter.h"
				>
			</File>
			<File
				RelativePath=".\Platform.h"
				>
			</File>
		</Filter>
		<Filter
			Name="Build Files"
			>
			<File
				RelativePath=".\Makefile"
				>
			</File>
		</Filter>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>