VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Unix/SystemInfo.cpp
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/Platform/Unix/SystemInfo.cpp
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/Platform/Unix/SystemInfo.cpp')
0 files changed, 0 insertions, 0 deletions
51 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204