VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntvol.c
AgeCommit message (Collapse)AuthorFilesLines
2024-06-12Avoid conflict with C++17 features std::byte by using uint8 type instead of byteMounir IDRASSI1-1/+1
2023-11-08Windows: Fix failure to format some disks (e.g. VHDX) caused by partition ↵Mounir IDRASSI1-2/+1
offset not 4K aligned Now we set offset to 1MB which is a typical values used for MBR disks. We also use a more standard way to calculate legacy number of cylinders
2023-08-13Windows: Implement support for mounting partially encrypted system partitionsMounir IDRASSI1-4/+4
For now, we force ReadOnly mounting for such partitions.
2023-07-22Windows: Remove TrueCrypt support. Increment version to 1.26.4.Mounir IDRASSI1-2/+0
2022-02-10Windows Driver: Don't cache the password if outer volume mounting succeeds ↵Mounir IDRASSI1-2/+11
but hidden volume mounting fails
2021-01-02Windows: Fix various warningsMounir IDRASSI1-3/+3
2020-12-11Windows: Fix various compiler warningsMounir IDRASSI1-2/+2
2020-06-28Windows: remove unused code targeting Windows 2000.Mounir IDRASSI1-2/+2
2019-12-08Windows: enhancements to the mechanism preserving file timestamps, ↵Mounir IDRASSI1-1/+33
especially for keyfiles.
2019-11-07Windows Driver: Fix strange crashes caused by probably by APC queue issues ↵Mounir IDRASSI1-0/+37
from calls to IoBuildDeviceIoControlRequest and ZwCreate (cf https://www.osr.com/blog/2018/02/14/beware-iobuilddeviceiocontrolrequest/)
2019-03-09Windows Driver: fix BSOD when mounting outer volume with hidden volume ↵Mounir IDRASSI1-1/+1
protection if RAM encryption is enabled
2019-03-08Windows Driver: fix BSOD when mounting hidden volume if RAM encryption is ↵Mounir IDRASSI1-4/+5
enabled
2019-03-01Windows: Implement RAM encryption for keys on 64-bit machines using ChaCha12 ↵Mounir IDRASSI1-0/+4
cipher and t1ha non-cryptographic fast hash (https://github.com/leo-yuriev/t1ha)
2019-01-21Windows driver: remove volumes master keys from CRYPTO_INFO since they are ↵Mounir IDRASSI1-1/+1
not needed after their key schedule is created
2018-08-18Windows: Implement workaround on Windows 10 to make VeraCrypt encrypted ↵Mounir IDRASSI1-0/+10
disks visible to Windows defragmenter
2018-03-04Windows: Implement TRIM support for non-system SSD partitions/drives and add ↵Mounir IDRASSI1-0/+28
driver option to enable it (TRIM is disabled by default for non-system SSD partitions/drives)
2017-07-29Windows Driver: avoid allocating memory for some ↵Mounir IDRASSI1-37/+16
IOCTL_STORAGE_QUERY_PROPERTY calls that always return fixed size structures.
2017-07-27Windows driver: correctly handle IOCTL_DISK_GET_DRIVE_GEOMETRY_EX to fix ↵Mounir IDRASSI1-3/+44
issues with some disks. Implement IOCTL_STORAGE_GET_MEDIA_TYPES_EX.
2017-07-23Windows Driver: make IOCTL_DISK_GET_DRIVE_GEOMETRY_EX support optional. Make ↵Mounir IDRASSI1-2/+1
disk size equal to partition size to avoid compatibility issues with existing software.
2017-07-20Windows driver: remove filesystem detection mechanism when mounting volumes ↵Mounir IDRASSI1-82/+0
since it is not reliable.
2017-07-19Windows Driver: remove dependency to wcsstr by using simple memcmp comparisonMounir IDRASSI1-1/+1
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-05-28Windows Driver: enhance detection of FAT volumes.Mounir IDRASSI1-3/+13
2017-05-26Windows Driver: return correct partition type value by trying to detect the ↵Mounir IDRASSI1-0/+72
filesystem used in the volume.
2017-05-25Windows Driver: correct comment about volume ID computationMounir IDRASSI1-1/+1
2017-05-25Windows Driver: correct value of number of cylinders by adding 1 since our ↵Mounir IDRASSI1-1/+2
virtual partition starts at Extension->BytesPerSector and not 0.
2017-05-25Windows: query extra host drive information using ↵Mounir IDRASSI1-0/+33
IOCTL_STORAGE_QUERY_PROPERTY (StorageAdapterProperty) in both driver and user mode applications.
2017-05-25Windows Driver: call IOCTL_STORAGE_QUERY_PROPERTY in a more standard way by ↵Mounir IDRASSI1-12/+27
using STORAGE_DESCRIPTOR_HEADER in order to be compatible with any future structure changes.
2017-05-17Windows: use IOCTL_DISK_GET_DRIVE_GEOMETRY_EX instead of the deprecated ↵Mounir IDRASSI1-5/+5
IOCTL_DISK_GET_DRIVE_GEOMETRY in order to get accurate disk size value.
2016-05-10Remove trailing whitespaceDavid Foerster1-21/+21
2016-05-10Normalize all line terminatorsDavid Foerster1-900/+900
2016-04-14Windows: Finalize implementation of the new volume ID mechanism. Use SHA-256 ↵Mounir IDRASSI1-1/+1
instead of SHA-512 to compute volume ID to reduce string size and make more convenient to use.
2016-04-08Windows: start implementation of volume ID mechanism that will be used to ↵Mounir IDRASSI1-0/+3
identify VeraCrypt disk volumes instead of device name.
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-12-21Windows: Implement PIM caching, both for system encryption and for normal ↵Mounir IDRASSI1-0/+2
volumes. Add options to activate it in the Preferences and System Settings.
2015-08-31Windows: Support setting volume label in Explorer through mount option. ↵Mounir IDRASSI1-0/+3
Support using favorite label as label in Explorer.
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-7/+9
and TrueCrypt 3.0.
2015-07-11Use Pim name for internal variables instead of the old name PinMounir IDRASSI1-2/+2
2015-05-26Windows: first implementation of dynamic modeMounir IDRASSI1-0/+2
2015-05-03Windows Driver: Implement querying physical sector size of veraCrypt volume ↵Mounir IDRASSI1-3/+32
through IOCTL_STORAGE_QUERY_PROPERTY
2015-02-09Static Code Analysis: in Windows Driver, avoid using uninitialized stack ↵Mounir IDRASSI1-4/+8
memory as random and use proper random value for wipe operation. Solve potential double-free issue.
2014-12-28Windows: support loading TrueCrypt volumes. Implement converting TrueCrypt ↵Mounir IDRASSI1-0/+2
volumes to VeraCrypt using the change password functionality.
2014-12-20Reduce time for reporting wrong password by removing support for legacy ↵Mounir IDRASSI1-23/+2
hidden format because it was never functional and it was superseded by current hidden format.
2014-12-16Windows: Enhance performance by implementing the possibility to choose the ↵Mounir IDRASSI1-0/+2
correct hash algorithm of volumes during various operations (mount, change password...). In case of system encryption, slightly speedup Windows startup time by making the driver pickup the correct hash algorithm used for the encryption.
2014-11-08Static Code Analysis : Use Safe string functions inside VeraCrypt Device ↵Mounir IDRASSI1-5/+15
Driver to avoid potential security issues. Add many checks for NULL pointers to handle low memory use cases.
2014-11-08Add original TrueCrypt 7.1a sourcesMounir IDRASSI1-0/+862