VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/HostDevice.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-25 20:11:28 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:24:22 +0100
commit714a2ce0ae7e8b2cee32b0d6245a59e787758fc5 (patch)
treeed8be0c157a9024421c205b89f796ae385250717 /src/Core/HostDevice.cpp
parentc1378f781aaaa4d9e57c0a383cded7173bde7663 (diff)
downloadVeraCrypt-714a2ce0ae7e8b2cee32b0d6245a59e787758fc5.tar.gz
VeraCrypt-714a2ce0ae7e8b2cee32b0d6245a59e787758fc5.zip
Bootloader: in function ReadVolumeHeader, arrays dk and masterKey have the same size and they are never needed at the same time. So, we can minimize stack memory usage by using only one array instead of two. At the end of the function, the array is erased securely.
Diffstat (limited to 'src/Core/HostDevice.cpp')
0 files changed, 0 insertions, 0 deletions