]> asedeno.scripts.mit.edu Git - linux.git/commit
dm crypt: omit parsing of the encapsulated cipher
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 19 Aug 2019 14:17:38 +0000 (17:17 +0300)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Sep 2019 20:46:16 +0000 (16:46 -0400)
commitb1d1e29639dff5290945e45262e172aaa9e89cbe
treeef5ed37473658b95817e3ec445a5afc6a3177ee8
parenta1a262b66e5554974b56b1dcacb3f0aec9b273a1
dm crypt: omit parsing of the encapsulated cipher

Only the ESSIV IV generation mode used to use cc->cipher so it could
instantiate the bare cipher used to encrypt the IV. However, this is
now taken care of by the ESSIV template, and so no users of cc->cipher
remain. So remove it altogether.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c