Commit Graph

916 Commits

Author SHA1 Message Date
Mounir IDRASSI
d2eacde0da
Remove unnecessary code from Camellia assembly implementation that checks for key size since we always use it with 256-bit keys. 2017-07-09 00:19:14 +02:00
Mounir IDRASSI
2577797fc4
Windows: preserve volatile registers XMM6-XMM15 in 64-bit assembly of Camellia. 2017-07-09 00:19:12 +02:00
Mounir IDRASSI
bf571681fe
Windows: Add PDF documents about DCS configuration for EFI system encryption: TPM support, full disk encryption and hidden OS. Include this in Windows installer. 2017-07-07 20:25:30 +02:00
Mounir IDRASSI
37aeeaf204
Windows: display prompt to upgrade Rescue Disk when installing 1.21 version. 2017-07-07 12:04:21 +02:00
Mounir IDRASSI
b7ed0c4892
Windows: Don't remove last digit of version string if it is zero. This is a legacy code that applied to previous versioning scheme. 2017-07-07 11:52:40 +02:00
Mounir IDRASSI
753894cb7e
Change 1.21 release date to July 7th 2017 2017-07-07 11:52:38 +02:00
Mounir IDRASSI
4e0ced43a4
Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites. 2017-07-07 01:06:59 +02:00
Mounir IDRASSI
1c3156a17b
Windows: fix regression affecting automatic mount of favorites and system favorites at logon 2017-07-07 00:41:08 +02:00
Mounir IDRASSI
048e161d15
Windows: Update EFI bootloader files from VeraCrypt-DCS 1.21 2017-07-07 00:41:06 +02:00
Mounir IDRASSI
edac097822
Windows: Update signed driver files for 1.21 release (1.21.4) 2017-07-05 16:21:39 +02:00
Mounir IDRASSI
d9f9e6d231
Increment version to 1.21.4 2017-07-05 16:21:37 +02:00
Mounir IDRASSI
384c5cc259
Windows Driver: correctly get KeRestoreExtendedProcessorState function pointer. 2017-07-05 16:21:35 +02:00
Mounir IDRASSI
b0827e9b74
Increment version to 1.21.3 2017-07-04 12:28:19 +02:00
Mounir IDRASSI
88cc8a00f4
Windows: correctly handle SEH exceptions during self-tests in order to disable CPU extended features in such case. 2017-07-04 12:28:17 +02:00
Mounir IDRASSI
0358eb6c71
Don't check for SSSE3 to use 64-bit SHA-512 assembly code since it uses only SSE2 instructions. 2017-07-04 02:26:26 +02:00
Mounir IDRASSI
89efcdb8cd
Windows Driver: correctly save and restore extended processor state when performing AVX operations on Windows 7 and later. Enhance readability of code handling save/restore of floating point state. 2017-07-04 02:26:24 +02:00
Mounir IDRASSI
c2f6190627
Windows: use stack instead of MMX register to save registers in 64-bit assembly implementation of SHA-512 in order to avoid issues with the driver. 2017-07-04 02:26:23 +02:00
Mounir IDRASSI
840756ead1
Windows: workaround for some cases where the system return ERROR_INVALID_PARAMETER when we try to write EFI bootloader files into ESP partition. 2017-07-03 01:55:45 +02:00
Mounir IDRASSI
f78242fac6
Change 1.21 release date to July 3rd 2017 2017-07-03 00:50:09 +02:00
Mounir IDRASSI
d1b26d4bfe
Windows: fix documentation and UI messages about the PIM constraints and calculation formula when EFI system encryption is using SHA-512 or Whirlpool. For historical reasons, if SHA-512 or Whirlpool is selected for EFI system encryption, then iterations = 15000 + (PIM x 1000) and not iterations = PIM x 2048 like the other algorithms. 2017-07-02 19:36:53 +02:00
Mounir IDRASSI
a0f2ffb90b
Windows: when mounting multiple favorites, use PIM of previous favorite alongside its password if option "Include PIM when caching password" is selected alongside option "Temporarily cache password during Mount Favorite Volumes operations". 2017-07-02 19:36:52 +02:00
Mounir IDRASSI
2db0061741
Windows: set PIM of favorite to 0 only if TrueCryptMode is explicitly selected. 2017-07-02 14:27:25 +02:00
Mounir IDRASSI
d761076903
Linux/MacOSX: use aligned memory for allocating hash context to avoid issues on some platforms especially for Streebog. 2017-07-02 12:08:04 +02:00
Mounir IDRASSI
235b52027b
Windows: Update EFI bootloader file from latest VeraCrypt-DCS 1.21 2017-07-02 00:51:59 +02:00
Mounir IDRASSI
553e707879
Windows: Update signed driver files for 1.21 release 2017-07-02 00:51:58 +02:00
Mounir IDRASSI
5540af7c57
Windows: increment version to 1.21.2 2017-07-02 00:51:58 +02:00
Mounir IDRASSI
e5728bd36e
Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code. 2017-07-02 00:51:57 +02:00
Mounir IDRASSI
d8dd1accb4
Avoid alignement issues with some old compilers by using movdqu instead of movdqa in SHA-256 SSE2 assembly. 2017-07-02 00:51:56 +02:00
Mounir IDRASSI
c193911655
Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging. 2017-07-02 00:51:55 +02:00
Mounir IDRASSI
bded7901c5
Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as $(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.) 2017-07-02 00:51:55 +02:00
Mounir IDRASSI
3c4e36ecdf
Increment version to 1.21 (1.21.1) 2017-07-02 00:51:50 +02:00
Mounir IDRASSI
77fe1f7c76
Windows: Update signed driver files for 1.21 release 2017-07-01 02:15:13 +02:00
Mounir IDRASSI
fe278afb18
Fix crash on machines without SSSE3 support in CPU by correctly checking for SSSE3 before using SHA-512 SSE2 assembly which uses PSHUFB instruction. 2017-07-01 01:56:33 +02:00
Mounir IDRASSI
f5e6136830
For code logic clarity, add check for xgetbv support in CPU before using it. 2017-07-01 01:56:32 +02:00
Mounir IDRASSI
33bb507fde
Windows: fix missing resource in 64-bit build. 2017-06-30 13:52:45 +02:00
Mounir IDRASSI
f4c9171e9a
Readme: Add YASM as a requirement for building VeraCrypt. Remove NASM and makeself requirement for Linux/MacOSX build. Make Readme.txt identical to README.md. 2017-06-29 21:40:05 +02:00
Mounir IDRASSI
8089c9d69f
Readme: update statement concerning Mac OSX SDK to use for building VeraCrypt. 2017-06-29 21:40:04 +02:00
Mounir IDRASSI
4466834322
Set 1.20 release date to June 29th 2017 2017-06-29 17:10:04 +02:00
Mounir IDRASSI
21543ada9b
MacOSX: put back full wxWidgets build in official build script. 2017-06-29 00:43:18 +02:00
Mounir IDRASSI
0b1b8b479f
Windows: reduce size of 64-bit binaries by not embedding 32-bit EFI bootloader files in their resources. 2017-06-29 00:43:14 +02:00
Mounir IDRASSI
e8105c89d8
Windows: Update EFI bootloader file from latest VeraCrypt-DCS 2017-06-29 00:43:13 +02:00
Mounir IDRASSI
597b9f3d65
Update release date and increment version to 1.20.3.4 2017-06-29 00:43:13 +02:00
Mounir IDRASSI
bafc7369aa
Windows: Update signed driver files for 1.20 release 2017-06-29 00:43:12 +02:00
Mounir IDRASSI
eebb277374
Enable AVX assembly instructions only when the OS implements AVX support 2017-06-27 00:55:25 +02:00
Mounir IDRASSI
79cb3af526
Windows: use yasm define __YASM__ for compatibility with the assembly changes done in MacOSX. 2017-06-27 00:55:24 +02:00
Mounir IDRASSI
51675fd17f
MacOSX: Update build and packaging scripts to require OSX Lion (10.7). 2017-06-27 00:55:23 +02:00
Mounir IDRASSI
3d8260d3d3
MacOSX: various changes for assembly files build. Don't use 32-bit assembly code of SHA-512 since it is not compatible with PIE configuration of OSX compiler (absolute addressing used) 2017-06-27 00:55:22 +02:00
Mounir IDRASSI
a64d054cdd
Linux/MacOSX: properly declare 64-bit constant integer values to avoid being truncated by compiler. 2017-06-24 01:11:16 +02:00
Mounir IDRASSI
0ebc26e125
Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI
52ec6faec3
Linux/MacOSX: use yasm instead of nasm for compiling all assembly files. 2017-06-23 19:05:47 +02:00
Mounir IDRASSI
f27b37b73f
Modify Aes_hw_cpu.asm to use nasm syntax that is compatible with yasm. 2017-06-23 19:05:47 +02:00
Mounir IDRASSI
9efdf8ffca
Linux/MacOSX: fix missing namespace in call to Cipher::IsHwSupportEnabled 2017-06-23 19:05:46 +02:00
Mounir IDRASSI
2be3b02002
Increment version to 1.20 (1.20.3) 2017-06-23 10:37:15 +02:00
Mounir IDRASSI
9f7e28a1e9
Windows: Update signed driver files of 1.20 release (include SHA-2 speed optimization) 2017-06-23 10:37:14 +02:00
Mounir IDRASSI
546d6cff44
Crypto: Add optimized SHA-512 and SHA-256 assembly implementations for x86_64 and x86. This improves speed by 30%. 2017-06-23 02:11:21 +02:00
Mounir IDRASSI
ab7b5dc685
Windows: Update EFI bootloader file from latest VeraCrypt-DCS that includes Camellia 64-bit speed optimization 2017-06-21 01:39:57 +02:00
Mounir IDRASSI
f3db66f37f
Windows: don't use AVX optimized Camellia in EFI bootloader until compatibility issues are investigated 2017-06-21 01:39:57 +02:00
Mounir IDRASSI
1217728214
Windows: Update signed driver files of 1.20 release (include Camellia speed optimization) 2017-06-21 01:39:56 +02:00
Mounir IDRASSI
70097ecfe5
Crypto: Add optimized Camellia assembly implementation for x86_64 based on work by Jussi Kivilinna (https://github.com/jkivilin/supercop-blockciphers). This improve speed by a factor of 2.5 when AES-NI supported by CPU and by 30% if AES-NI not supported. 2017-06-21 01:39:55 +02:00
Mounir IDRASSI
ee5c1784ea
Windows EFI Bootloader: Add new attributes "DcsBmlDriver" and "DcsBmlLockFlags" to EFI configuration DcsProp. Set their values to 0 to disable DcsBml functionality. 2017-06-21 01:39:54 +02:00
Mounir IDRASSI
d71658efd2
Update EFI bootloader files to latest VeraCrypt-DCS (commit "BML flags added") 2017-06-21 01:39:52 +02:00
Mounir IDRASSI
78803703e6
Windows: fix compilation error of assembly files after latest changes on Linux. 2017-06-21 01:39:51 +02:00
Mounir IDRASSI
5d0321291f
Linux/MacOSX: Modify Makefile to separate between build and packaging. Add install target for local installation. 2017-06-13 18:21:13 +02:00
Mounir IDRASSI
eb4f5ac4e7
Linux: built VeraCrypt binary with support for Address Space Layout Randomization (ASLR). 2017-06-13 13:46:53 +02:00
Mounir IDRASSI
ba1fbb688e
Linux: fix executable stack in resulting binary which was caused by crypto assembly files missing the GNU-stack note. 2017-06-13 01:26:22 +02:00
Mounir IDRASSI
ce2aa639f4
Windows: various fixes following Coverity analysis. 2017-06-11 17:28:22 +02:00
Mounir IDRASSI
70d083bfb2
Windows: Add checks on IOCTL_DISK_GET_DRIVE_LAYOUT_EX response to make Coverity happy. 2017-06-11 17:28:21 +02:00
Mounir IDRASSI
1662abb707
Windows: Remove unused "Parent" field in _TEXT_EDIT_DIALOG_PARAM structure 2017-06-11 17:28:21 +02:00
Mounir IDRASSI
5c9aff0c54
Windows: Remove unused method ReadEfiConfig 2017-06-11 17:28:20 +02:00
Mounir IDRASSI
5822ae2b1b
Windows: fix GetPhysicalDriveStorageInformation failure caused by device handle wrongly closed in GetDeviceStorageProperty 2017-06-11 17:28:19 +02:00
Mounir IDRASSI
46a3fe1458
Windows: fix compiler warnings 2017-06-11 17:28:19 +02:00
Mounir IDRASSI
6ed9773894
Windows: Update EFI bootloader file from latest VeraCrypt-DCS 1.20 2017-06-11 10:12:46 +02:00
Mounir IDRASSI
4208b43581
Windows: code refactoring for handling of ESP files (DcsProp and PlatformInfo). 2017-06-11 01:28:42 +02:00
Mounir IDRASSI
374ba4c831
Windows: Update signed driver files of 1.20 release 2017-06-10 21:18:42 +02:00
Mounir IDRASSI
458bb091bb
Windows Driver Security: Use enhanced protection of NX pool under Windows 8 and later. 2017-06-10 18:44:49 +02:00
Mounir IDRASSI
c7cd89a24a
Windows Security: built binaries with support for Address Space Layout Randomization (ASLR). 2017-06-10 18:44:46 +02:00
Mounir IDRASSI
e14cf93d92
Windows: reduce WNetGetConnection performance impact by making calls every 1 minute instead of every 2 seconds. This should be enough since the list of mapped network drive will not change so often. 2017-06-10 01:03:07 +02:00
Mounir IDRASSI
064982c201
Windows: Enhancements to EFI System Information dialog 2017-06-09 17:23:39 +02:00
Mounir IDRASSI
767f513752
Windows: Disable button for EFI PlatformInfo if the file is missing 2017-06-09 17:23:38 +02:00
Mounir IDRASSI
3764f7e8b9
Windows: Fix false warning in case of GPT about Windows not installed on boot drive. This is caused by the fact that presence of "bootmgr" file is not mandatory in case of EFI Boot Loader. 2017-06-09 01:18:02 +02:00
Mounir IDRASSI
5c009d449e
Windows: Validate XML format of EFI DcsProp after user editing and before writing it to disk. Enhance UI handling of DcsProp editing and PlatformInfo display. 2017-06-08 01:17:48 +02:00
Mounir IDRASSI
9b0cc3d679
Windows: correctly handle UTF-8 BOM when editing EFI DcsProp XML file 2017-06-08 01:17:46 +02:00
Mounir IDRASSI
9b4e087882
Windows: create dedicated project for zip library and link other binaries against it instead of recompiling zlib and libzip for each project separately. 2017-06-05 17:46:31 +02:00
kavsrf
79aa488106
cland static code analyzer fixes 2017-06-05 17:45:47 +02:00
kavsrf
cf5729d4e1
Beta2 patch 1
Edit DcsProp and PlatformInfo from System->Settings
EFI loader updated
2017-06-05 17:45:45 +02:00
kavsrf
46cd09ef50
PlatformInfo read. (via ReadEfiConfig)
It is displayed in System settings
2017-06-05 17:45:45 +02:00
kavsrf
a075d45a99
DcsInfo is added 2017-06-05 17:45:35 +02:00
Mounir IDRASSI
4a2e904766
Linux/MacOSX: Use newer version 3.0.3 of wxWidgets. Update version in Readme. 2017-06-05 01:44:04 +02:00
Mounir IDRASSI
3e678f6868
Linux/MacOSX: cleaner code for handling of missing local HTML documentation. 2017-06-05 01:44:04 +02:00
Mounir IDRASSI
d5b0e0db3f
Linux/MacOSX: Replace User Guide PDF with local HTML documentation. Replace UI links to point towards local HTML documentation if it exists 2017-06-05 01:44:03 +02:00
Mounir IDRASSI
eb72fe7aa9
Windows: move language XML files to new "Languages" folder in the installation directory. 2017-06-05 01:41:48 +02:00
Mounir IDRASSI
0ef137c0a4
Windows: Correctly open online help when selected in menu. Remove unused parameters to function AppLink. 2017-06-05 01:41:47 +02:00
Mounir IDRASSI
bf13f88ffa
Windows: Move User Guide CHM file under "docs" folder 2017-06-05 01:41:46 +02:00
Mounir IDRASSI
1ad425e4e1
Windows: Install CHM User Guide instead of PDF one. Delete existing PDF when upgrading. 2017-06-05 01:41:44 +02:00
Mounir IDRASSI
e5f301d683
Windows: Update signed driver files of 1.20-BETA3 release 2017-06-02 23:09:25 +02:00
Mounir IDRASSI
e9220590ef
Windows: fix compilation error cause by extra '&&' in if statement 2017-06-02 23:09:24 +02:00
Mounir IDRASSI
345a50d976
Windows: remove reference to unused files XUnzip.h/XZip.h in Visual Studio projects 2017-06-02 23:09:22 +02:00
Mounir IDRASSI
55aa098295
Windows: fix high CPU usage when a favorite is configured to mount using VolumeID when its host device is connected to the machine. 2017-06-01 01:56:13 +02:00
Mounir IDRASSI
029341a747
Windows: Add bat file to package debug version of VeraCrypt used in testing/debugging purposes. 2017-06-01 01:56:13 +02:00
Mounir IDRASSI
e7873197a6
Linux/MacOSX: Update location of User Guide pdf in Makefile 2017-06-01 01:56:12 +02:00