From f5606a44a6331715e9a8a43d6f4441f0cd89cb3a Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 14 Apr 2016 08:52:06 +0200 Subject: Windows: Finalize implementation of the new volume ID mechanism. Use SHA-256 instead of SHA-512 to compute volume ID to reduce string size and make more convenient to use. --- src/Common/Common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common/Common.h') diff --git a/src/Common/Common.h b/src/Common/Common.h index 3780cfe1..180cbffb 100644 --- a/src/Common/Common.h +++ b/src/Common/Common.h @@ -21,6 +21,8 @@ #define MAX_HOST_DRIVE_NUMBER 64 #define MAX_HOST_PARTITION_NUMBER 32 +#define VOLUME_ID_SIZE SHA256_DIGESTSIZE + typedef enum { // IMPORTANT: If you add a new item here, update IsOSVersionAtLeast(). -- cgit v1.2.3