crypto: cts - Convert to skcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:48 +0000 (13:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jul 2016 09:35:44 +0000 (17:35 +0800)
commit0605c41cc53ca13775d202de0de33864a46162ba
treea80cf9f3d4bfcfa2e3c083ae2646631eb3e60e4b
parent499a66e6b689b13d1a4108bec5d7dcdc829a27a8
crypto: cts - Convert to skcipher

This patch converts cts over to the skcipher interface.  It also
optimises the implementation to use one CBC operation for all but
the last block, which is then processed separately.

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