mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows Driver: correct comment about volume ID computation
This commit is contained in:
@@ -565,7 +565,7 @@ NTSTATUS TCOpenVolume (PDEVICE_OBJECT DeviceObject,
|
|||||||
|
|
||||||
Extension->cryptoInfo->bPartitionInInactiveSysEncScope = mount->bPartitionInInactiveSysEncScope;
|
Extension->cryptoInfo->bPartitionInInactiveSysEncScope = mount->bPartitionInInactiveSysEncScope;
|
||||||
|
|
||||||
/* compute the ID of this volume: SHA-512 of the effective header */
|
/* compute the ID of this volume: SHA-256 of the effective header */
|
||||||
sha256 (Extension->volumeID, readBuffer, TC_VOLUME_HEADER_EFFECTIVE_SIZE);
|
sha256 (Extension->volumeID, readBuffer, TC_VOLUME_HEADER_EFFECTIVE_SIZE);
|
||||||
|
|
||||||
if (volumeType == TC_VOLUME_TYPE_NORMAL)
|
if (volumeType == TC_VOLUME_TYPE_NORMAL)
|
||||||
|
|||||||
Reference in New Issue
Block a user