crypto: allow blkcipher walks over AEAD data
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Mar 2014 05:28:39 +0000 (13:28 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 18 Jun 2014 19:21:14 +0000 (20:21 +0100)
commit86fac535b5d2c1272b4991fa1e11a7fca7a26d10
tree3403a5915d78b82ddbc2eda25380d609b0b7e12e
parent581a6bd433c6ec65fdb5b4667258a8b275ae5c96
crypto: allow blkcipher walks over AEAD data

This adds the function blkcipher_aead_walk_virt_block, which allows the caller
to use the blkcipher walk API to handle the input and output scatterlists.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 4f7f1d7cff8f2c170ce0319eb4c01a82c328d34f)
Signed-off-by: Mark Brown <broonie@linaro.org>
crypto/blkcipher.c
include/crypto/algapi.h