summaryrefslogtreecommitdiff
path: root/init/do_mounts_md.c
diff options
context:
space:
mode:
authorRik Snel <rsnel@cube.dyndns.org>2006-09-03 02:56:39 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-07 05:38:47 +0300
commit48527fa7cf7fefb84e9fe03cddd08ddafc9f15f3 (patch)
tree38062656a96888f3f5dbbf2d74073a0159a39f69 /init/do_mounts_md.c
parent9fe757b0cfcee0724027a675c533077287a21b96 (diff)
downloadlinux-48527fa7cf7fefb84e9fe03cddd08ddafc9f15f3.tar.xz
[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 <rsnel@cube.dyndns.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'init/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions