summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2009-12-11 00:51:56 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-12-11 00:51:56 +0100
commitb95bf2d3d5a48b095bffe2a0cd8c40453cf59557 (patch)
treebcb6bdd0e5b67eb0aa2277aac125686bb911950a /drivers/dma
parentdm crypt: restructure essiv error path (diff)
downloadlinux-b95bf2d3d5a48b095bffe2a0cd8c40453cf59557.tar.xz
linux-b95bf2d3d5a48b095bffe2a0cd8c40453cf59557.zip
dm crypt: separate essiv allocation from initialisation
This patch separates the construction of IV from its initialisation. (For ESSIV it is a hash calculation based on volume key.) Constructor code now preallocates hash tfm and salt array and saves it in a private IV structure. The next patch requires this to reinitialise the wiped IV without reallocating memory when resuming a suspended device. 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/dma')
0 files changed, 0 insertions, 0 deletions