From 79f77910363d9b60958facf104c067a79ad42bb2 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 13 Jun 2025 22:25:08 +0900 Subject: [PATCH] Windows: Add password length and pin value defined to SDK header --- src/FormatDLL/VeraCryptFormatSDK.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FormatDLL/VeraCryptFormatSDK.h b/src/FormatDLL/VeraCryptFormatSDK.h index 944ddd5f..5f77cdbb 100644 --- a/src/FormatDLL/VeraCryptFormatSDK.h +++ b/src/FormatDLL/VeraCryptFormatSDK.h @@ -31,6 +31,9 @@ #define VCF_API __declspec(dllimport) #endif +#define VC_MAX_PASSWORD 128 // Maximum possible password length +#define VC_MAX_PIM_VALUE 2147468 // Maximum value to have a positive 32-bit result for formula 15000 + (PIM x 1000) + #ifdef __cplusplus extern "C" { #endif