crypto: xts - use blocksize constant
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 18 Oct 2011 10:33:07 +0000 (13:33 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 Nov 2011 03:53:32 +0000 (11:53 +0800)
commitf9d2691fc9a00f39b587f965c33cca012a5597bc
treeaec2fc72e15ed2fd9ba3ccd5f368961e6183d8ba
parent81559f9ad3d88c033e4ec3b6468012dbfda3b31d
crypto: xts - use blocksize constant

XTS has fixed blocksize of 16. Define XTS_BLOCK_SIZE and use in place of
crypto_cipher_blocksize().

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/xts.c