crypto: allow blkcipher walks over AEAD data
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Mar 2014 05:28:39 +0000 (13:28 +0800)
committerJP Abgrall <jpa@google.com>
Thu, 28 Aug 2014 17:22:27 +0000 (10:22 -0700)
commit15aaa954da86024fa1b4e1c26b162fb7be84d2df
tree9e17d49a379b6d7cd09037e92e3a5df31bde6092
parent29c0c76ffbf9208b6348cef882dd053a6190bb66
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