VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-23 12:33:35 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-25 01:15:19 +0200
commit8c1bde132a66d4766fb4bc1ca3796f4dfa733a8d (patch)
treead9986f1228d060b7a9ae674eab45f5fc5cbc714
parent0e15c65b3e6b67643799917f342df04d0473bb05 (diff)
downloadVeraCrypt-8c1bde132a66d4766fb4bc1ca3796f4dfa733a8d.tar.gz
VeraCrypt-8c1bde132a66d4766fb4bc1ca3796f4dfa733a8d.zip
Windows Driver: correct comment about volume ID computation
-rw-r--r--src/Driver/Ntvol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Driver/Ntvol.c b/src/Driver/Ntvol.c
index 1c242408..53c2371e 100644
--- a/src/Driver/Ntvol.c
+++ b/src/Driver/Ntvol.c
@@ -565,7 +565,7 @@ NTSTATUS TCOpenVolume (PDEVICE_OBJECT DeviceObject,
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);
if (volumeType == TC_VOLUME_TYPE_NORMAL)