VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-22 16:02:42 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:14 +0100
commit41a22ca4e78df752d4ce143a692310ab9e48c686 (patch)
tree7167af89d885e032926cb79981fd981f7b685962 /src/Volume
parent17823cb58c5c68e5d1cf8cc6e9d92d0ce6194d8d (diff)
downloadVeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.tar.gz
VeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.zip
Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon.
Diffstat (limited to 'src/Volume')
-rw-r--r--src/Volume/Cipher.cpp2
-rw-r--r--src/Volume/Cipher.h2
-rw-r--r--src/Volume/Crc32.h2
-rw-r--r--src/Volume/EncryptionAlgorithm.cpp2
-rw-r--r--src/Volume/EncryptionAlgorithm.h2
-rw-r--r--src/Volume/EncryptionMode.cpp2
-rw-r--r--src/Volume/EncryptionMode.h2
-rw-r--r--src/Volume/EncryptionModeCBC.cpp2
-rw-r--r--src/Volume/EncryptionModeCBC.h2
-rw-r--r--src/Volume/EncryptionModeLRW.cpp2
-rw-r--r--src/Volume/EncryptionModeLRW.h2
-rw-r--r--src/Volume/EncryptionModeXTS.cpp2
-rw-r--r--src/Volume/EncryptionModeXTS.h2
-rw-r--r--src/Volume/EncryptionTest.cpp2
-rw-r--r--src/Volume/EncryptionTest.h2
-rw-r--r--src/Volume/EncryptionThreadPool.cpp2
-rw-r--r--src/Volume/EncryptionThreadPool.h2
-rw-r--r--src/Volume/Hash.cpp2
-rw-r--r--src/Volume/Hash.h2
-rw-r--r--src/Volume/Keyfile.cpp2
-rw-r--r--src/Volume/Keyfile.h2
-rw-r--r--src/Volume/Pkcs5Kdf.cpp2
-rw-r--r--src/Volume/Pkcs5Kdf.h2
-rw-r--r--src/Volume/Version.h2
-rw-r--r--src/Volume/Volume.cpp2
-rw-r--r--src/Volume/Volume.h2
-rw-r--r--src/Volume/VolumeException.cpp2
-rw-r--r--src/Volume/VolumeException.h2
-rw-r--r--src/Volume/VolumeHeader.cpp2
-rw-r--r--src/Volume/VolumeHeader.h2
-rw-r--r--src/Volume/VolumeInfo.cpp2
-rw-r--r--src/Volume/VolumeInfo.h2
-rw-r--r--src/Volume/VolumeLayout.cpp2
-rw-r--r--src/Volume/VolumeLayout.h2
-rw-r--r--src/Volume/VolumePassword.cpp2
-rw-r--r--src/Volume/VolumePassword.h2
-rw-r--r--src/Volume/VolumePasswordCache.cpp2
-rw-r--r--src/Volume/VolumePasswordCache.h2
-rw-r--r--src/Volume/VolumeSlot.h2
39 files changed, 39 insertions, 39 deletions
diff --git a/src/Volume/Cipher.cpp b/src/Volume/Cipher.cpp
index fa37e298..a69f15d9 100644
--- a/src/Volume/Cipher.cpp
+++ b/src/Volume/Cipher.cpp
@@ -19,7 +19,7 @@
# include "Crypto/Aes_hw_cpu.h"
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
Cipher::Cipher () : Initialized (false)
{
diff --git a/src/Volume/Cipher.h b/src/Volume/Cipher.h
index 25fc82c9..90a9a215 100644
--- a/src/Volume/Cipher.h
+++ b/src/Volume/Cipher.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Cipher;
typedef vector < shared_ptr <Cipher> > CipherList;
diff --git a/src/Volume/Crc32.h b/src/Volume/Crc32.h
index d4392275..951e7479 100644
--- a/src/Volume/Crc32.h
+++ b/src/Volume/Crc32.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "Common/Crc.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Crc32
{
diff --git a/src/Volume/EncryptionAlgorithm.cpp b/src/Volume/EncryptionAlgorithm.cpp
index 5ca27bab..ce76e71f 100644
--- a/src/Volume/EncryptionAlgorithm.cpp
+++ b/src/Volume/EncryptionAlgorithm.cpp
@@ -11,7 +11,7 @@
#include "EncryptionModeLRW.h"
#include "EncryptionModeXTS.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
EncryptionAlgorithm::EncryptionAlgorithm () : Deprecated (false)
{
diff --git a/src/Volume/EncryptionAlgorithm.h b/src/Volume/EncryptionAlgorithm.h
index 8118de6b..7fbee6ae 100644
--- a/src/Volume/EncryptionAlgorithm.h
+++ b/src/Volume/EncryptionAlgorithm.h
@@ -13,7 +13,7 @@
#include "Cipher.h"
#include "EncryptionMode.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionAlgorithm;
typedef list < shared_ptr <EncryptionAlgorithm> > EncryptionAlgorithmList;
diff --git a/src/Volume/EncryptionMode.cpp b/src/Volume/EncryptionMode.cpp
index eb68186c..0a7ac546 100644
--- a/src/Volume/EncryptionMode.cpp
+++ b/src/Volume/EncryptionMode.cpp
@@ -12,7 +12,7 @@
#include "EncryptionModeXTS.h"
#include "EncryptionThreadPool.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
EncryptionMode::EncryptionMode () : KeySet (false), SectorOffset (0)
{
diff --git a/src/Volume/EncryptionMode.h b/src/Volume/EncryptionMode.h
index e74fca55..af22d931 100644
--- a/src/Volume/EncryptionMode.h
+++ b/src/Volume/EncryptionMode.h
@@ -13,7 +13,7 @@
#include "Common/Crypto.h"
#include "Cipher.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionMode;
typedef list < shared_ptr <EncryptionMode> > EncryptionModeList;
diff --git a/src/Volume/EncryptionModeCBC.cpp b/src/Volume/EncryptionModeCBC.cpp
index f299b888..2892986b 100644
--- a/src/Volume/EncryptionModeCBC.cpp
+++ b/src/Volume/EncryptionModeCBC.cpp
@@ -11,7 +11,7 @@
#include "Common/Endian.h"
#include "EncryptionModeCBC.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void EncryptionModeCBC::Decrypt (byte *data, uint64 length) const
{
diff --git a/src/Volume/EncryptionModeCBC.h b/src/Volume/EncryptionModeCBC.h
index 3e1094aa..187432ea 100644
--- a/src/Volume/EncryptionModeCBC.h
+++ b/src/Volume/EncryptionModeCBC.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "EncryptionMode.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionModeCBC : public EncryptionMode
{
diff --git a/src/Volume/EncryptionModeLRW.cpp b/src/Volume/EncryptionModeLRW.cpp
index 38731d5d..115b0fc5 100644
--- a/src/Volume/EncryptionModeLRW.cpp
+++ b/src/Volume/EncryptionModeLRW.cpp
@@ -9,7 +9,7 @@
#include "EncryptionModeLRW.h"
#include "Common/GfMul.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void EncryptionModeLRW::Decrypt (byte *data, uint64 length) const
{
diff --git a/src/Volume/EncryptionModeLRW.h b/src/Volume/EncryptionModeLRW.h
index 97a8528d..0cfcd50c 100644
--- a/src/Volume/EncryptionModeLRW.h
+++ b/src/Volume/EncryptionModeLRW.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "EncryptionMode.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionModeLRW : public EncryptionMode
{
diff --git a/src/Volume/EncryptionModeXTS.cpp b/src/Volume/EncryptionModeXTS.cpp
index 8073f3ca..a25faa0e 100644
--- a/src/Volume/EncryptionModeXTS.cpp
+++ b/src/Volume/EncryptionModeXTS.cpp
@@ -9,7 +9,7 @@
#include "EncryptionModeXTS.h"
#include "Common/Crypto.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void EncryptionModeXTS::Encrypt (byte *data, uint64 length) const
{
diff --git a/src/Volume/EncryptionModeXTS.h b/src/Volume/EncryptionModeXTS.h
index 927a34cb..606d0b95 100644
--- a/src/Volume/EncryptionModeXTS.h
+++ b/src/Volume/EncryptionModeXTS.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "EncryptionMode.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionModeXTS : public EncryptionMode
{
diff --git a/src/Volume/EncryptionTest.cpp b/src/Volume/EncryptionTest.cpp
index c07bbb20..71f55f07 100644
--- a/src/Volume/EncryptionTest.cpp
+++ b/src/Volume/EncryptionTest.cpp
@@ -17,7 +17,7 @@
#include "EncryptionTest.h"
#include "Pkcs5Kdf.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void EncryptionTest::TestAll ()
{
diff --git a/src/Volume/EncryptionTest.h b/src/Volume/EncryptionTest.h
index 40221ae0..9d7ab519 100644
--- a/src/Volume/EncryptionTest.h
+++ b/src/Volume/EncryptionTest.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "Common/Crypto.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionTest
{
diff --git a/src/Volume/EncryptionThreadPool.cpp b/src/Volume/EncryptionThreadPool.cpp
index dbcc1b35..6635df70 100644
--- a/src/Volume/EncryptionThreadPool.cpp
+++ b/src/Volume/EncryptionThreadPool.cpp
@@ -20,7 +20,7 @@
#include "Common/Crypto.h"
#include "EncryptionThreadPool.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void EncryptionThreadPool::DoWork (WorkType::Enum type, const EncryptionMode *encryptionMode, byte *data, uint64 startUnitNo, uint64 unitCount, size_t sectorSize)
{
diff --git a/src/Volume/EncryptionThreadPool.h b/src/Volume/EncryptionThreadPool.h
index 70d87021..313b93d0 100644
--- a/src/Volume/EncryptionThreadPool.h
+++ b/src/Volume/EncryptionThreadPool.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "EncryptionMode.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class EncryptionThreadPool
{
diff --git a/src/Volume/Hash.cpp b/src/Volume/Hash.cpp
index cca8cc6b..ddae669a 100644
--- a/src/Volume/Hash.cpp
+++ b/src/Volume/Hash.cpp
@@ -13,7 +13,7 @@
#include "Crypto/Sha2.h"
#include "Crypto/Whirlpool.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
HashList Hash::GetAvailableAlgorithms ()
{
diff --git a/src/Volume/Hash.h b/src/Volume/Hash.h
index 3a24602c..befdd631 100644
--- a/src/Volume/Hash.h
+++ b/src/Volume/Hash.h
@@ -11,7 +11,7 @@
#include "Platform/Platform.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Hash;
typedef list < shared_ptr <Hash> > HashList;
diff --git a/src/Volume/Keyfile.cpp b/src/Volume/Keyfile.cpp
index d132dbb8..e390ee88 100644
--- a/src/Volume/Keyfile.cpp
+++ b/src/Volume/Keyfile.cpp
@@ -12,7 +12,7 @@
#include "Keyfile.h"
#include "VolumeException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Keyfile::Apply (const BufferPtr &pool) const
{
diff --git a/src/Volume/Keyfile.h b/src/Volume/Keyfile.h
index 6d7a1a87..3a6c92e4 100644
--- a/src/Volume/Keyfile.h
+++ b/src/Volume/Keyfile.h
@@ -13,7 +13,7 @@
#include "Platform/Stream.h"
#include "VolumePassword.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Keyfile;
typedef list < shared_ptr <Keyfile> > KeyfileList;
diff --git a/src/Volume/Pkcs5Kdf.cpp b/src/Volume/Pkcs5Kdf.cpp
index 9c2fa65b..f3724b3a 100644
--- a/src/Volume/Pkcs5Kdf.cpp
+++ b/src/Volume/Pkcs5Kdf.cpp
@@ -10,7 +10,7 @@
#include "Pkcs5Kdf.h"
#include "VolumePassword.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Pkcs5Kdf::Pkcs5Kdf ()
{
diff --git a/src/Volume/Pkcs5Kdf.h b/src/Volume/Pkcs5Kdf.h
index 283c8ce6..35e7dc15 100644
--- a/src/Volume/Pkcs5Kdf.h
+++ b/src/Volume/Pkcs5Kdf.h
@@ -13,7 +13,7 @@
#include "Hash.h"
#include "VolumePassword.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Pkcs5Kdf;
typedef list < shared_ptr <Pkcs5Kdf> > Pkcs5KdfList;
diff --git a/src/Volume/Version.h b/src/Volume/Version.h
index 62738142..5eed4575 100644
--- a/src/Volume/Version.h
+++ b/src/Volume/Version.h
@@ -12,7 +12,7 @@
#include "Platform/PlatformBase.h"
#include "Common/Tcdefs.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Version
{
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp
index 93a38e28..aeec78e2 100644
--- a/src/Volume/Volume.cpp
+++ b/src/Volume/Volume.cpp
@@ -16,7 +16,7 @@
#include "VolumeLayout.h"
#include "Common/Crypto.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Volume::Volume ()
: HiddenVolumeProtectionTriggered (false),
diff --git a/src/Volume/Volume.h b/src/Volume/Volume.h
index 8578bec1..dce2aa3b 100644
--- a/src/Volume/Volume.h
+++ b/src/Volume/Volume.h
@@ -18,7 +18,7 @@
#include "VolumeException.h"
#include "VolumeLayout.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class VolumePath
{
diff --git a/src/Volume/VolumeException.cpp b/src/Volume/VolumeException.cpp
index 2c143dae..9a1f5a94 100644
--- a/src/Volume/VolumeException.cpp
+++ b/src/Volume/VolumeException.cpp
@@ -9,7 +9,7 @@
#include "VolumeException.h"
#include "Platform/SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
// Do not inline the constructors to ensure this module is not optimized away
VolumeException::VolumeException ()
diff --git a/src/Volume/VolumeException.h b/src/Volume/VolumeException.h
index 2f312b7f..026c86c5 100644
--- a/src/Volume/VolumeException.h
+++ b/src/Volume/VolumeException.h
@@ -11,7 +11,7 @@
#include "Platform/Platform.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct VolumeException : public Exception
{
diff --git a/src/Volume/VolumeHeader.cpp b/src/Volume/VolumeHeader.cpp
index 50746773..bee60af7 100644
--- a/src/Volume/VolumeHeader.cpp
+++ b/src/Volume/VolumeHeader.cpp
@@ -14,7 +14,7 @@
#include "VolumeException.h"
#include "Common/Crypto.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
VolumeHeader::VolumeHeader (uint32 size)
{
diff --git a/src/Volume/VolumeHeader.h b/src/Volume/VolumeHeader.h
index c16fc560..8ce56fd8 100644
--- a/src/Volume/VolumeHeader.h
+++ b/src/Volume/VolumeHeader.h
@@ -22,7 +22,7 @@
// For specifications of the volume header see Common/Volumes.c
-namespace TrueCrypt
+namespace VeraCrypt
{
typedef uint64 VolumeTime;
diff --git a/src/Volume/VolumeInfo.cpp b/src/Volume/VolumeInfo.cpp
index fb6da7e2..49a2b3e9 100644
--- a/src/Volume/VolumeInfo.cpp
+++ b/src/Volume/VolumeInfo.cpp
@@ -10,7 +10,7 @@
#include "VolumeInfo.h"
#include "Platform/SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void VolumeInfo::Deserialize (shared_ptr <Stream> stream)
{
diff --git a/src/Volume/VolumeInfo.h b/src/Volume/VolumeInfo.h
index 6e5f5dd4..c58b13f5 100644
--- a/src/Volume/VolumeInfo.h
+++ b/src/Volume/VolumeInfo.h
@@ -14,7 +14,7 @@
#include "Volume/Volume.h"
#include "Volume/VolumeSlot.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class VolumeInfo;
typedef list < shared_ptr <VolumeInfo> > VolumeInfoList;
diff --git a/src/Volume/VolumeLayout.cpp b/src/Volume/VolumeLayout.cpp
index 00696e92..aeade493 100644
--- a/src/Volume/VolumeLayout.cpp
+++ b/src/Volume/VolumeLayout.cpp
@@ -13,7 +13,7 @@
#include "VolumeLayout.h"
#include "Boot/Windows/BootCommon.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
VolumeLayout::VolumeLayout ()
{
diff --git a/src/Volume/VolumeLayout.h b/src/Volume/VolumeLayout.h
index d2147425..57d278cc 100644
--- a/src/Volume/VolumeLayout.h
+++ b/src/Volume/VolumeLayout.h
@@ -15,7 +15,7 @@
#include "Volume/Pkcs5Kdf.h"
#include "VolumeHeader.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class VolumeLayout;
typedef list < shared_ptr <VolumeLayout> > VolumeLayoutList;
diff --git a/src/Volume/VolumePassword.cpp b/src/Volume/VolumePassword.cpp
index 86b17e22..e314f52b 100644
--- a/src/Volume/VolumePassword.cpp
+++ b/src/Volume/VolumePassword.cpp
@@ -10,7 +10,7 @@
#include "Platform/SerializerFactory.h"
#include "Platform/StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
VolumePassword::VolumePassword () : PasswordSize (0), Unportable (false)
{
diff --git a/src/Volume/VolumePassword.h b/src/Volume/VolumePassword.h
index e43c50ec..ce9f3c0a 100644
--- a/src/Volume/VolumePassword.h
+++ b/src/Volume/VolumePassword.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "Platform/Serializable.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class VolumePassword : public Serializable
{
diff --git a/src/Volume/VolumePasswordCache.cpp b/src/Volume/VolumePasswordCache.cpp
index 23472d2d..296f066c 100644
--- a/src/Volume/VolumePasswordCache.cpp
+++ b/src/Volume/VolumePasswordCache.cpp
@@ -8,7 +8,7 @@
#include "VolumePasswordCache.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
CachedPasswordList VolumePasswordCache::GetPasswords ()
{
diff --git a/src/Volume/VolumePasswordCache.h b/src/Volume/VolumePasswordCache.h
index 6d5118af..711f6f21 100644
--- a/src/Volume/VolumePasswordCache.h
+++ b/src/Volume/VolumePasswordCache.h
@@ -12,7 +12,7 @@
#include "Platform/Platform.h"
#include "VolumePassword.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
typedef list < shared_ptr < VolumePassword > > CachedPasswordList;
diff --git a/src/Volume/VolumeSlot.h b/src/Volume/VolumeSlot.h
index fe368772..f4f55b6a 100644
--- a/src/Volume/VolumeSlot.h
+++ b/src/Volume/VolumeSlot.h
@@ -11,7 +11,7 @@
#include "Platform/Platform.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
typedef uint32 VolumeSlotNumber;
}