From 41a22ca4e78df752d4ce143a692310ab9e48c686 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 22 Jun 2014 16:02:42 +0200 Subject: Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Resources::GetTrueCryptIcon to Resources::GetVeraCryptIcon. --- src/Volume/Cipher.cpp | 2 +- src/Volume/Cipher.h | 2 +- src/Volume/Crc32.h | 2 +- src/Volume/EncryptionAlgorithm.cpp | 2 +- src/Volume/EncryptionAlgorithm.h | 2 +- src/Volume/EncryptionMode.cpp | 2 +- src/Volume/EncryptionMode.h | 2 +- src/Volume/EncryptionModeCBC.cpp | 2 +- src/Volume/EncryptionModeCBC.h | 2 +- src/Volume/EncryptionModeLRW.cpp | 2 +- src/Volume/EncryptionModeLRW.h | 2 +- src/Volume/EncryptionModeXTS.cpp | 2 +- src/Volume/EncryptionModeXTS.h | 2 +- src/Volume/EncryptionTest.cpp | 2 +- src/Volume/EncryptionTest.h | 2 +- src/Volume/EncryptionThreadPool.cpp | 2 +- src/Volume/EncryptionThreadPool.h | 2 +- src/Volume/Hash.cpp | 2 +- src/Volume/Hash.h | 2 +- src/Volume/Keyfile.cpp | 2 +- src/Volume/Keyfile.h | 2 +- src/Volume/Pkcs5Kdf.cpp | 2 +- src/Volume/Pkcs5Kdf.h | 2 +- src/Volume/Version.h | 2 +- src/Volume/Volume.cpp | 2 +- src/Volume/Volume.h | 2 +- src/Volume/VolumeException.cpp | 2 +- src/Volume/VolumeException.h | 2 +- src/Volume/VolumeHeader.cpp | 2 +- src/Volume/VolumeHeader.h | 2 +- src/Volume/VolumeInfo.cpp | 2 +- src/Volume/VolumeInfo.h | 2 +- src/Volume/VolumeLayout.cpp | 2 +- src/Volume/VolumeLayout.h | 2 +- src/Volume/VolumePassword.cpp | 2 +- src/Volume/VolumePassword.h | 2 +- src/Volume/VolumePasswordCache.cpp | 2 +- src/Volume/VolumePasswordCache.h | 2 +- src/Volume/VolumeSlot.h | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) (limited to 'src/Volume') 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 > 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 > 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 > 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 > 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 > 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 > 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) { 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 > 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 > 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; } -- cgit v1.2.3