VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-06-22 14:02:42 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:20:14 (GMT)
commit41a22ca4e78df752d4ce143a692310ab9e48c686 (patch)
tree7167af89d885e032926cb79981fd981f7b685962 /src/Volume
parent17823cb58c5c68e5d1cf8cc6e9d92d0ce6194d8d (diff)
downloadVeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.zip
VeraCrypt-41a22ca4e78df752d4ce143a692310ab9e48c686.tar.gz
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 fa37e29..a69f15d 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 25fc82c..90a9a21 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 d439227..951e747 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 5ca27ba..ce76e71 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 8118de6..7fbee6a 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 eb68186..0a7ac54 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 e74fca5..af22d93 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 f299b88..2892986 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 3e1094a..187432e 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 38731d5..115b0fc 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 97a8528..0cfcd50 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 8073f3c..a25faa0 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 927a34c..606d0b9 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 c07bbb2..71f55f0 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 40221ae..9d7ab51 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 dbcc1b3..6635df7 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 70d8702..313b93d 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 cca8cc6..ddae669 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 3a24602..befdd63 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 d132dbb..e390ee8 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 6d7a1a8..3a6c92e 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 9c2fa65..f3724b3 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 283c8ce..35e7dc1 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 6273814..5eed457 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 93a38e2..aeec78e 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 8578bec..dce2aa3 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 2c143da..9a1f5a9 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 2f312b7..026c86c 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 5074677..bee60af 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 c16fc56..8ce56fd 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 fb6da7e..49a2b3e 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 6e5f5dd..c58b13f 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 00696e9..aeade49 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 d214742..57d278c 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 86b17e2..e314f52 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 e43c50e..ce9f3c0 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 23472d2..296f066 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 6d5118a..711f6f2 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 fe36877..f4f55b6 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;
}