VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
AgeCommit message (Expand)AuthorFilesLines
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 an...Mounir IDRASSI4-11/+22
2015-05-22Windows: Modifications to build 64-bit versions of VeraCrypt.exe & "VeraCrypt...Mounir IDRASSI1-0/+215
2015-02-09Static Code Analysis: clarify macros definition and use.Mounir IDRASSI1-4/+4
2014-11-08Bootloader: reduce the size of Serpent implementation when used as the single...Mounir IDRASSI1-3/+3
2014-11-08Small code size optimization for RIPEMD-160 when compiled for boot encryption.Mounir IDRASSI1-7/+9
2014-11-08Add SHA-256 source specific for upcoming bootloader build because of its smal...Mounir IDRASSI2-0/+301
2014-11-08Optimize code space and solve the Serpent issue (https://sourceforge.net/p/ve...Mounir IDRASSI4-14/+10
2014-11-08Adapt certain functions in the case of Windows bootloader in order to make it...Mounir IDRASSI1-0/+2
2014-11-08Remove remaining legacy cryptographic algorithms that are never used by VeraC...Mounir IDRASSI2-20/+0
2014-11-08Remove deprecated/legacy cryptographic algorithms and encryption modes that a...Mounir IDRASSI9-1946/+0
2014-11-08use burn instead of memset when clearing RIPEMD context to ensure the compile...Mounir IDRASSI1-1/+1
2014-11-08Update RIPEMD160 implementation in Windows Bootloaded to benefit from the com...Mounir IDRASSI2-4/+3
2014-11-08Add original TrueCrypt 7.1a sourcesMounir IDRASSI35-0/+13423
/* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 Derived from source code of TrueCrypt 7.1a, which is
 Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
 by the TrueCrypt License 3.0.

 Modifications and additions to the original source code (contained in this file)
 and all other portions of this file are Copyright (c) 2013-2016 IDRIX
 and are governed by the Apache License 2.0 the full text of which is
 contained in the file License.txt included in VeraCrypt binary and source
 code distribution packages.
*/

#ifndef TC_HEADER_Platform_PlatformTest
#define TC_HEADER_Platform_PlatformTest

#include "PlatformBase.h"
#include "Thread.h"

namespace VeraCrypt
{
	class PlatformTest
	{
	public:
		static bool TestAll ();

	protected:
		class RttiTestBase
		{
		public:
			virtual ~RttiTestBase () { };
		};

		class RttiTest : public RttiTestBase {
		public:
			virtual ~RttiTest () { };
		};

		PlatformTest ();
		static void SerializerTest ();
		static void ThreadTest ();
		static TC_THREAD_PROC ThreadTestProc (void *param);

		static bool TestFlag;
	};
}

#endif // TC_HEADER_Platform_PlatformTest