diff options
Diffstat (limited to 'src/Common/Crypto.h')
-rw-r--r-- | src/Common/Crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index 89d22f0e..bb66e307 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h @@ -55,6 +55,7 @@ enum SHA256, BLAKE2S, STREEBOG, + ARGON2, HASH_ENUM_END_ID }; @@ -226,6 +227,7 @@ typedef struct typedef struct keyInfo_t { int noIterations; /* Number of times to iterate (PKCS-5) */ + int memoryCost; /* Memory cost factor (PKCS-5) */ int keyLength; /* Length of the key */ uint64 dummy; /* Dummy field to ensure 16-byte alignment of this structure */ __int8 salt[PKCS5_SALT_SIZE]; /* PKCS-5 salt */ @@ -257,6 +259,7 @@ typedef struct CRYPTO_INFO_t #endif int noIterations; + int memoryCost; int volumePim; BOOL bProtectHiddenVolume; // Indicates whether the volume contains a hidden volume to be protected against overwriting |