crypto: allow blkcipher walks over AEAD data
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Mar 2014 05:28:39 +0000 (13:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:17:11 +0000 (20:17 +0800)
commit4f7f1d7cff8f2c170ce0319eb4c01a82c328d34f
treed894dab0c42e11d7159d56b3949e96fdba91fadb
parent822be00fe67105a90e536df52d1e4d688f34b5b2
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>
crypto/blkcipher.c
include/crypto/algapi.h