crypto: ctr - make rfc3686 asynchronous block cipher
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 28 Dec 2012 10:04:58 +0000 (12:04 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 8 Jan 2013 06:03:04 +0000 (07:03 +0100)
commit69d3150cfc2075d1693d17dc711de61bf4e4a6c4
treed7adbb68df3daa6d6f8fc39b1b27c0255083f9db
parent71331da500cc13dc3c7e5db397d553c80b2e9994
crypto: ctr - make rfc3686 asynchronous block cipher

Some hardware crypto drivers register asynchronous ctr(aes), which is left
unused in IPSEC because rfc3686 template only supports synchronous block
ciphers. Some other drivers register rfc3686(ctr(aes)) to workaround this
limitation but not all.

This patch changes rfc3686 to use asynchronous block ciphers, to allow async
ctr(aes) algorithms to be utilized automatically by IPSEC.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
crypto/ctr.c
crypto/tcrypt.c
crypto/tcrypt.h