dm crypt: move private iv fields to structs
authorMilan Broz <mbroz@redhat.com>
Thu, 10 Dec 2009 23:51:55 +0000 (23:51 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:05:00 +0000 (14:05 -0800)
commitc7f27e82997f9c835b4c241d1f302501d0cdcc9e
tree5215d83a23516ee07c71daf26432dd33c0f12997
parent5f5d50a0f5530e5a6df52755c74ec5a47829f8cc
dm crypt: move private iv fields to structs

commit 6047359277517c4e56d8bfd6ea4966d7a3924151 upstream.

Define private structures for IV so it's easy to add further attributes
in a following patch which fixes the way key material is wiped from
memory.  Also move ESSIV destructor and remove unnecessary 'status'
operation.

There are no functional changes in this patch.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-crypt.c