summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRik Snel <rsnel@cube.dyndns.org>2006-09-03 08:56:39 +1000
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:38:47 -0800
commit48527fa7cf7fefb84e9fe03cddd08ddafc9f15f3 (patch)
tree38062656a96888f3f5dbbf2d74073a0159a39f69 /crypto
parent9fe757b0cfcee0724027a675c533077287a21b96 (diff)
[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 'crypto')
0 files changed, 0 insertions, 0 deletions