diff options
author | Milan Broz <mbroz@redhat.com> | 2009-12-11 00:51:57 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-12-11 00:51:57 +0100 |
commit | 542da317668c35036e8471822a564b609d05af66 (patch) | |
tree | 3c553eda1e52cde6b7270fb0b7aa3b5db80d58d9 /drivers/acpi/pci_slot.c | |
parent | dm crypt: separate essiv allocation from initialisation (diff) | |
download | linux-542da317668c35036e8471822a564b609d05af66.tar.xz linux-542da317668c35036e8471822a564b609d05af66.zip |
dm crypt: make wipe message also wipe essiv key
The "wipe key" message is used to wipe the volume key from memory
temporarily, for example when suspending to RAM.
But the initialisation vector in ESSIV mode is calculated from the
hashed volume key, so the wipe message should wipe this IV key too and
reinitialise it when the volume key is reinstated.
This patch adds an IV wipe method called from a wipe message callback.
ESSIV is then reinitialised using the init function added by the
last patch.
Cc: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/acpi/pci_slot.c')
0 files changed, 0 insertions, 0 deletions