summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2019-07-09 15:22:12 +0200
committerMike Snitzer <snitzer@redhat.com>2019-07-09 14:14:21 -0400
commit4a52ffc7ca6f03005ce10c67412752dd068f79a3 (patch)
treef2bec54623cbca5900e467c5b159293850ba1c22 /COPYING
parent131670c2625307551c23970ebcc0f8bc0fc9b4ef (diff)
downloadlinux-4a52ffc7ca6f03005ce10c67412752dd068f79a3.tar.gz
linux-4a52ffc7ca6f03005ce10c67412752dd068f79a3.tar.bz2
linux-4a52ffc7ca6f03005ce10c67412752dd068f79a3.zip
dm crypt: wipe private IV struct after key invalid flag is set
If a private IV wipe function fails, the code does not set the key invalid flag. To fix this, move code to after the flag is set to prevent the device from resuming in an inconsistent state. Also, this allows using of a randomized key in private wipe function (to be used in a following commit). Signed-off-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions