crypto: remove direct blkcipher_walk dependency on transform
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Mar 2014 05:28:38 +0000 (13:28 +0800)
committerJP Abgrall <jpa@google.com>
Thu, 28 Aug 2014 17:22:27 +0000 (10:22 -0700)
commit29c0c76ffbf9208b6348cef882dd053a6190bb66
treec6e7fd4ef85cfa11e0c62f8c684218123e8a1972
parent9ed72656162f38017af94acf2e986fdb04fecd05
crypto: remove direct blkcipher_walk dependency on transform

In order to allow other uses of the blkcipher walk API than the blkcipher
algos themselves, this patch copies some of the transform data members to the
walk struct so the transform is only accessed at walk init time.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/blkcipher.c
include/crypto/algapi.h