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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:17:10 +0000 (20:17 +0800)
commit822be00fe67105a90e536df52d1e4d688f34b5b2
treef7e4844d1c560c621af5cba54aa36ea57c257e83
parentd9e79726193346569af7953369a638ee2275ade5
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