VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/EncryptedIoQueue.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-03 19:30:50 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-03 19:32:45 +0200
commitccda60f82f0dd3ba41c54bf14b4b553a87cac794 (patch)
tree8a5e10e0dc8a77041ef49d5e9195e5a1d5db26eb /src/Driver/EncryptedIoQueue.c
parent1298f83aa49948962b57dc302cc868130b60c0b5 (diff)
downloadVeraCrypt-ccda60f82f0dd3ba41c54bf14b4b553a87cac794.tar.gz
VeraCrypt-ccda60f82f0dd3ba41c54bf14b4b553a87cac794.zip
Windows: If Secure Desktop is started and random generator was not initialized before us, then stop random generator after we finish in order to avoid consuming CPU because of periodic fast poll thread. Next time a critical operation that requires RNG is performed, it will be initialized again. We do this because since the addition of secure desktop support, every time secure desktop is displayed, the RNG fast poll thread was started even if the user will never perform any critical operation that requires random bytes.
Diffstat (limited to 'src/Driver/EncryptedIoQueue.c')
0 files changed, 0 insertions, 0 deletions