diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-12-20 00:14:24 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-12-20 00:18:58 +0100 |
commit | 5640de3584aa5d3ab327ecd7345ded2e0096b464 (patch) | |
tree | 46aad7f454b4797e6377acc41ebc3356a2817799 /src/Driver/EncryptedIoQueue.h | |
parent | 4ed2bf5427539c4111c256f54dd00342c6a3f45f (diff) | |
download | VeraCrypt-5640de3584aa5d3ab327ecd7345ded2e0096b464.tar.gz VeraCrypt-5640de3584aa5d3ab327ecd7345ded2e0096b464.zip |
Windows Driver: Add registry settings to control driver internal encryption queue Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt: - VeraCryptEncryptionFragmentSize (REG_DWORD): size of encryption data fragment in KiB. Default is 256. - VeraCryptEncryptionIoRequestCount (REG_DWORD): maximum number of parallel I/O requests. Default is 16. - VeraCryptEncryptionItemCount (REG_DWORD): maximum number of encryption queue items processed in parallel. Default is 8.
Diffstat (limited to 'src/Driver/EncryptedIoQueue.h')
-rw-r--r-- | src/Driver/EncryptedIoQueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Driver/EncryptedIoQueue.h b/src/Driver/EncryptedIoQueue.h index 184e1714..d9bef42b 100644 --- a/src/Driver/EncryptedIoQueue.h +++ b/src/Driver/EncryptedIoQueue.h @@ -121,6 +121,8 @@ typedef struct SIZE_T SecRegionSize; volatile BOOL ThreadBlockReadWrite; + + int FragmentSize; } EncryptedIoQueue; |