OSDN Git Service

crypto: xts - Convert to skcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Nov 2016 12:08:19 +0000 (20:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Nov 2016 13:23:18 +0000 (21:23 +0800)
commitf1c131b45410a202eb45cc55980a7a9e4e4b4f40
tree7018499e4ee67d43eea6cab1689ca1d09495b2e9
parent700cb3f5fe755b1a2d0f5cf3ae89ad7ef69d321f
crypto: xts - Convert to skcipher

This patch converts xts over to the skcipher interface.  It also
optimises the implementation to be based on ECB instead of the
underlying cipher.  For compatibility the existing naming scheme
of xts(aes) is maintained as opposed to the more obvious one of
xts(ecb(aes)).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/xts.c
include/crypto/xts.h