diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-07 20:44:00 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-07 20:47:07 +0200 |
commit | 4b98ff0e9810a218f802d08cfd546c2fd67757dc (patch) | |
tree | 18b1aef253d7e626d2e3c078e477edc61bea13d9 /src/Common/EncryptionThreadPool.h | |
parent | aeba32ba8b459a142ce2d92d8e89d70fbb25a92f (diff) | |
download | VeraCrypt-4b98ff0e9810a218f802d08cfd546c2fd67757dc.tar.gz VeraCrypt-4b98ff0e9810a218f802d08cfd546c2fd67757dc.zip |
Windows: Better implementation of PRF autodetection optimization.
Diffstat (limited to 'src/Common/EncryptionThreadPool.h')
-rw-r--r-- | src/Common/EncryptionThreadPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/EncryptionThreadPool.h b/src/Common/EncryptionThreadPool.h index 9cb3ffa7..053d4107 100644 --- a/src/Common/EncryptionThreadPool.h +++ b/src/Common/EncryptionThreadPool.h @@ -33,7 +33,7 @@ size_t GetCpuCount (WORD* pGroupCount); #endif void EncryptionThreadPoolBeginKeyDerivation (TC_EVENT *completionEvent, TC_EVENT *noOutstandingWorkItemEvent, LONG *completionFlag, LONG *outstandingWorkItemCount, int pkcs5Prf, char *password, int passwordLength, char *salt, int iterationCount, char *derivedKey); -void EncryptionThreadPoolBeginReadVolumeHeaderFinalization (TC_EVENT *keyDerivationCompletedEvent, TC_EVENT *noOutstandingWorkItemEvent, LONG* outstandingWorkItemCount, void* keyDerivationWorkItems, int keyDerivationWorkItemsSize); +void EncryptionThreadPoolBeginReadVolumeHeaderFinalization (TC_EVENT *keyDerivationCompletedEvent, TC_EVENT *noOutstandingWorkItemEvent, LONG* outstandingWorkItemCount, void* keyInfoBuffer, int keyInfoBufferSize, void* keyDerivationWorkItems, int keyDerivationWorkItemsSize); void EncryptionThreadPoolDoWork (EncryptionThreadPoolWorkType type, byte *data, const UINT64_STRUCT *startUnitNo, uint32 unitCount, PCRYPTO_INFO cryptoInfo); BOOL EncryptionThreadPoolStart (size_t encryptionFreeCpuCount); void EncryptionThreadPoolStop (); |