dm crypt: move private iv fields to structs
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)
commit6047359277517c4e56d8bfd6ea4966d7a3924151
treef7e28344ace2714ff5346a758dd02682c8761852
parent0b4309581b5be8749afdd5a9087fd82a2a5c9932
dm crypt: move private iv fields to structs

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.

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