]> git.baikalelectronics.ru Git - kernel.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)
commite3bf3dab3bd1b3591b1411851ad552d0dbc4cb48
treeef5ed37473658b95817e3ec445a5afc6a3177ee8
parent71166e0718c81357e68b525a031e65e538b2f0f8
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