From: Rik Snel Date: Sat, 2 Sep 2006 22:56:39 +0000 (+1000) Subject: [BLOCK] dm-crypt: benbi IV, big endian narrow block count for LRW-32-AES X-Git-Tag: v2.6.20-rc1~145^2^2~7^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48527fa7cf7fefb84e9fe03cddd08ddafc9f15f3;p=pandora-kernel.git [BLOCK] dm-crypt: benbi IV, big endian narrow block count for LRW-32-AES LRW-32-AES needs a certain IV. This IV should be provided dm-crypt. The block cipher mode could, in principle generate the correct IV from the plain IV, but I think that it is cleaner to supply the right IV directly. The sector -> narrow block calculation uses a shift for performance reasons. This shift is computed in .ctr and stored in cc->iv_gen_private (as a void *). Signed-off-by: Rik Snel Signed-off-by: Herbert Xu --- Reading git-diff-tree failed