VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
AgeCommit message (Expand)AuthorFilesLines
2016-10-17Windows: fix compilation warningMounir IDRASSI1-3/+3
2016-10-17Windows: check for malloc failures and report error in such cases.Mounir IDRASSI1-12/+39
2016-10-17Add test vectors for Kuznyechik and GOST89 (the later is deprecated)Mounir IDRASSI2-3/+177
2016-10-17Crypto: deprecate GOST89 so that it can't be used to create new volumes. Keep...Mounir IDRASSI1-1/+1
2016-10-17Crypto: remove specific PBKDF2 optimization for block index encoding (except ...Mounir IDRASSI1-6/+18
2016-10-17Crypto: clarify PRF code by removing unused parameters in functions hmac_XXX_...Mounir IDRASSI1-39/+31
2016-10-17Crypto: make HMAC-SHA512 code more clear by removing the memory usage optimiz...Mounir IDRASSI1-7/+3
2016-10-17Windows: Replace XZip/XUnzip library with zlib and libzip and include the sou...Mounir IDRASSI146-8431/+27589
2016-09-11Windows: in case of In-Place encryption, encrypt random data instead of exist...Mounir IDRASSI4-10/+6
2016-08-21Increment version to 1.19 BETA2 (1.19.2)Mounir IDRASSI1-3/+3
2016-08-21Windows: fix crash caused by previous Streebog fix.Mounir IDRASSI1-1/+1
2016-08-20Windows: Fix crash on 32-bit machines when using Streebog on a CPU that suppo...Mounir IDRASSI1-1/+1
2016-08-17Windows: Fix compilation error caused by latest MacOSX change.-13/+486
2016-08-15Windows: Add Magma cipher (GOST-89)Mounir IDRASSI3-7/+50
2016-08-15Windows Driver: Add extra traces and enable tracing in release build if DEBUG...Mounir IDRASSI1-3/+3
2016-08-15Windows: Fix vulnerability inherited from TrueCrypt that allows an attacker t...Mounir IDRASSI3-29/+165
2016-07-29Crypto: Use Hyper-V AES-NI detection workaround when displaying AES hardware ...Mounir IDRASSI1-2/+3
2016-07-29Windows: Use new Windows API to mitigate dll hijacking attacks.Mounir IDRASSI1-3/+12
2016-07-26Windows: Enhance protection against dll hijacking attacks following new repor...Mounir IDRASSI1-2/+27
2016-07-25Windows: solve benchmark issue for Whirlpool which caused wrong numbers when ...Mounir IDRASSI4-14/+14
2016-07-24Crypto: Workaround for AES-NI issue under Hyper-V on Windows Server 2008 R2 w...Mounir IDRASSI1-0/+5
2016-06-17Windows Driver: save FPU state in 32-bit mode before run Whirlpool SSE implem...Mounir IDRASSI1-0/+22
2016-06-17Windows: Better heuristics for evaluating Pre-Boot PRF performanceMounir IDRASSI1-2/+14
2016-06-17Windows: Add Hash and PRF benchmarks to the benchmark dialog.Mounir IDRASSI4-203/+364
2016-06-17Windows: make Camellia help link open dedicated documentation pageMounir IDRASSI1-0/+4
2016-06-17Windows: fix compiler warningsMounir IDRASSI2-3/+6
2016-06-02Crypto: Add support for Japanese encryption standard Camellia, including for ...Mounir IDRASSI10-9/+156
2016-05-29Windows: better implementation for support of smart card PIN in command line....Mounir IDRASSI6-38/+34
2016-05-29Linux/MacOSX: Implement passing smart card PIN as command line argument (--to...Mounir IDRASSI2-0/+2
2016-05-10Fix space before tabDavid Foerster3-3/+3
2016-05-10Remove trailing whitespaceDavid Foerster61-811/+811
2016-05-10Normalize all line terminatorsDavid Foerster65-35561/+35561
2016-05-05Windows: Add option and command line switch to hide waiting dialog when perfo...Mounir IDRASSI3-7/+37
>"VolumeCreationTime", VolumeCreationTime); sr.Deserialize ("TrueCryptMode", TrueCryptMode); sr.Deserialize ("Pim", Pim); } bool VolumeInfo::FirstVolumeMountedAfterSecond (shared_ptr <VolumeInfo> first, shared_ptr <VolumeInfo> second) { return first->SerialInstanceNumber > second->SerialInstanceNumber; } void VolumeInfo::Serialize (shared_ptr <Stream> stream) const { Serializable::Serialize (stream); Serializer sr (stream); const uint32 version = VERSION_NUM; sr.Serialize ("ProgramVersion", version); sr.Serialize ("AuxMountPoint", wstring (AuxMountPoint)); sr.Serialize ("EncryptionAlgorithmBlockSize", EncryptionAlgorithmBlockSize); sr.Serialize ("EncryptionAlgorithmKeySize", EncryptionAlgorithmKeySize); sr.Serialize ("EncryptionAlgorithmMinBlockSize", EncryptionAlgorithmMinBlockSize); sr.Serialize ("EncryptionAlgorithmName", EncryptionAlgorithmName); sr.Serialize ("EncryptionModeName", EncryptionModeName); sr.Serialize ("HeaderCreationTime", HeaderCreationTime); sr.Serialize ("HiddenVolumeProtectionTriggered", HiddenVolumeProtectionTriggered); sr.Serialize ("LoopDevice", wstring (LoopDevice)); sr.Serialize ("MinRequiredProgramVersion", MinRequiredProgramVersion); sr.Serialize ("MountPoint", wstring (MountPoint)); sr.Serialize ("Path", wstring (Path)); sr.Serialize ("Pkcs5IterationCount", Pkcs5IterationCount); sr.Serialize ("Pkcs5PrfName", Pkcs5PrfName); sr.Serialize ("Protection", static_cast <uint32> (Protection)); sr.Serialize ("SerialInstanceNumber", SerialInstanceNumber); sr.Serialize ("Size", Size); sr.Serialize ("SlotNumber", SlotNumber); sr.Serialize ("SystemEncryption", SystemEncryption); sr.Serialize ("TopWriteOffset", TopWriteOffset); sr.Serialize ("TotalDataRead", TotalDataRead); sr.Serialize ("TotalDataWritten", TotalDataWritten); sr.Serialize ("Type", static_cast <uint32> (Type)); sr.Serialize ("VirtualDevice", wstring (VirtualDevice)); sr.Serialize ("VolumeCreationTime", VolumeCreationTime); sr.Serialize ("TrueCryptMode", TrueCryptMode); sr.Serialize ("Pim", Pim); } void VolumeInfo::Set (const Volume &volume) { EncryptionAlgorithmBlockSize = static_cast <uint32> (volume.GetEncryptionAlgorithm()->GetMaxBlockSize()); EncryptionAlgorithmKeySize = static_cast <uint32> (volume.GetEncryptionAlgorithm()->GetKeySize()); EncryptionAlgorithmMinBlockSize = static_cast <uint32> (volume.GetEncryptionAlgorithm()->GetMinBlockSize()); EncryptionAlgorithmName = volume.GetEncryptionAlgorithm()->GetName(); EncryptionModeName = volume.GetEncryptionMode()->GetName(); HeaderCreationTime = volume.GetHeaderCreationTime(); VolumeCreationTime = volume.GetVolumeCreationTime(); HiddenVolumeProtectionTriggered = volume.IsHiddenVolumeProtectionTriggered(); MinRequiredProgramVersion = volume.GetHeader()->GetRequiredMinProgramVersion(); Path = volume.GetPath(); Pkcs5IterationCount = volume.GetPkcs5Kdf()->GetIterationCount(volume.GetPim ()); Pkcs5PrfName = volume.GetPkcs5Kdf()->GetName(); Protection = volume.GetProtectionType(); Size = volume.GetSize(); SystemEncryption = volume.IsInSystemEncryptionScope(); Type = volume.GetType(); TopWriteOffset = volume.GetTopWriteOffset(); TotalDataRead = volume.GetTotalDataRead(); TotalDataWritten = volume.GetTotalDataWritten(); TrueCryptMode = volume.GetTrueCryptMode(); Pim = volume.GetPim (); } TC_SERIALIZER_FACTORY_ADD_CLASS (VolumeInfo); }