]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b85acfd4b434dba1f6b9ed99cf324c5dc8b193b
treef7e4844d1c560c621af5cba54aa36ea57c257e83
parentf356c9db0c10c3f01ebe21c260234076bd707598
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