From 8c1bde132a66d4766fb4bc1ca3796f4dfa733a8d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 23 May 2017 12:33:35 +0200 Subject: Windows Driver: correct comment about volume ID computation --- src/Driver/Ntvol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3