crypto: lrw - Convert to skcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Nov 2016 12:08:16 +0000 (20:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Nov 2016 13:23:17 +0000 (21:23 +0800)
commit700cb3f5fe755b1a2d0f5cf3ae89ad7ef69d321f
treeb53f52270de98471b02be0bfcaca6cc779da8cf1
parentcf2c0fe7408404b17c039f4683bce939210d1989
crypto: lrw - Convert to skcipher

This patch converts lrw 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 lrw(aes) is maintained as opposed to the more obvious one of
lrw(ecb(aes)).

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