dm crypt: make wipe message also wipe tfm key
authorMilan Broz <mbroz@redhat.com>
Thu, 10 Dec 2009 23:51:55 +0000 (23:51 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:51:55 +0000 (23:51 +0000)
commit0b4309581b5be8749afdd5a9087fd82a2a5c9932
tree4e29641aa1da9e8dc7ab8394f12162976ebef986
parent8e87b9b81b3c370f7e53c1ab6e1c3519ef37a644
dm crypt: make wipe message also wipe tfm key

The "wipe key" message is used to wipe a volume key from memory
temporarily, for example when suspending to RAM.

There are two instances of the key in memory (inside crypto tfm)
but only one got wiped.  This patch wipes them both.

Cc: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c
This page took 0.025459 seconds and 5 git commands to generate.