-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from INJAE/master
Update
- Loading branch information
Showing
312 changed files
with
100,581 additions
and
353 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved. | ||
Governed by the TrueCrypt License 3.0 the full text of which is contained in | ||
the file License.txt included in TrueCrypt binary and source code distribution | ||
packages. | ||
*/ | ||
|
||
#ifndef TC_HEADER_Boot_Bios | ||
#define TC_HEADER_Boot_Bios | ||
|
||
#include "Platform.h" | ||
|
||
#define TC_LB_SIZE_BIT_SHIFT_DIVISOR 9 | ||
|
||
#define TC_FIRST_BIOS_DRIVE 0x80 | ||
#define TC_LAST_BIOS_DRIVE 0x8f | ||
#define TC_INVALID_BIOS_DRIVE (TC_FIRST_BIOS_DRIVE - 1) | ||
|
||
enum | ||
{ | ||
BiosResultSuccess = 0x00, | ||
BiosResultInvalidFunction = 0x01 | ||
}; | ||
|
||
typedef byte BiosResult; | ||
|
||
#endif // TC_HEADER_Boot_Bios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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>NUL:
nmake.exe /nologo RELEASE=1

md Release_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES

md Release_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT

md Release_Twofish 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH

md Rescue 2>NUL:
nmake.exe /nologo RELEASE=1 RESCUE_DISK=1

md Rescue_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES RESCUE_DISK=1

md Rescue_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT RESCUE_DISK=1

md Rescue_Twofish 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH RESCUE_DISK=1" | ||
ReBuildCommandLine="del /q /s Release >NUL:
md Release 2>NUL:
nmake.exe /nologo RELEASE=1

del /q /s Release_AES >NUL:
md Release_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES

del /q /s Release_Serpent >NUL:
md Release_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT

del /q /s Release_Twofish >NUL:
md Release_Twofish 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH

del /q /s Rescue >NUL:
md Rescue 2>NUL:
nmake.exe /nologo RELEASE=1 RESCUE_DISK=1

del /q /s Rescue_AES >NUL:
md Rescue_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES RESCUE_DISK=1

del /q /s Rescue_Serpent >NUL:
md Rescue_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT RESCUE_DISK=1

del /q /s Rescue_Twofish >NUL:
md Rescue_Twofish 2>NUL:
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 >NUL:" | ||
Output="Release\BootLoader.com" | ||
PreprocessorDefinitions="WIN32;NDEBUG" | ||
IncludeSearchPath=""$(SolutionDir)";"$(SolutionDir)\Common";"$(SolutionDir)\Crypto";"$(MSVC16_ROOT)\Include"" | ||
ForcedIncludes="" | ||
AssemblySearchPath="" | ||
ForcedUsingAssemblies="" | ||
CompileAsManaged="" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release Loader|Win32" | ||
OutputDirectory="$(ConfigurationName)" | ||
IntermediateDirectory="$(ConfigurationName)" | ||
ConfigurationType="0" | ||
> | ||
<Tool | ||
Name="VCNMakeTool" | ||
BuildCommandLine="md Release 2>NUL:
nmake.exe /nologo RELEASE=1

md Release_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES

md Release_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT

md Release_Twofish 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH" | ||
ReBuildCommandLine="del /q /s Release >NUL:
md Release 2>NUL:
nmake.exe /nologo RELEASE=1

del /q /s Release_AES >NUL:
md Release_AES 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=AES

del /q /s Release_Serpent >NUL:
md Release_Serpent 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=SERPENT

del /q /s Release_Twofish >NUL:
md Release_Twofish 2>NUL:
nmake.exe /nologo RELEASE=1 SINGLE_CIPHER=TWOFISH" | ||
CleanCommandLine="del /q /s Release Release_AES Release_Serpent Release_Twofish >NUL:" | ||
Output="Release\BootLoader.com" | ||
PreprocessorDefinitions="WIN32;NDEBUG" | ||
IncludeSearchPath=""$(SolutionDir)";"$(SolutionDir)\Common";"$(SolutionDir)\Crypto";"$(MSVC16_ROOT)\Include"" | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="Windows-1252"?> | ||
<VisualStudioUserFile | ||
ProjectType="Visual C++" | ||
Version="9.00" | ||
ShowAllFiles="false" | ||
> | ||
<Configurations> | ||
<Configuration | ||
Name="Release|Win32" | ||
> | ||
<DebugSettings | ||
Command="$(TargetPath)" | ||
WorkingDirectory="" | ||
CommandArguments="" | ||
Attach="false" | ||
DebuggerType="3" | ||
Remote="1" | ||
RemoteMachine="JYB-PC" | ||
RemoteCommand="" | ||
HttpUrl="" | ||
PDBPath="" | ||
SQLDebugging="" | ||
Environment="" | ||
EnvironmentMerge="true" | ||
DebuggerFlavor="" | ||
MPIRunCommand="" | ||
MPIRunArguments="" | ||
MPIRunWorkingDirectory="" | ||
ApplicationCommand="" | ||
ApplicationArguments="" | ||
ShimCommand="" | ||
MPIAcceptMode="" | ||
MPIAcceptFilter="" | ||
/> | ||
</Configuration> | ||
<Configuration | ||
Name="Release Loader|Win32" | ||
> | ||
<DebugSettings | ||
Command="$(TargetPath)" | ||
WorkingDirectory="" | ||
CommandArguments="" | ||
Attach="false" | ||
DebuggerType="3" | ||
Remote="1" | ||
RemoteMachine="JYB-PC" | ||
RemoteCommand="" | ||
HttpUrl="" | ||
PDBPath="" | ||
SQLDebugging="" | ||
Environment="" | ||
EnvironmentMerge="true" | ||
DebuggerFlavor="" | ||
MPIRunCommand="" | ||
MPIRunArguments="" | ||
MPIRunWorkingDirectory="" | ||
ApplicationCommand="" | ||
ApplicationArguments="" | ||
ShimCommand="" | ||
MPIAcceptMode="" | ||
MPIAcceptFilter="" | ||
/> | ||
</Configuration> | ||
</Configurations> | ||
</VisualStudioUserFile> |
Oops, something went wrong.