crypto: caam - fix output sequence contiguity check
authorTudor Ambarus <tudor.ambarus@freescale.com>
Fri, 24 Oct 2014 15:13:37 +0000 (18:13 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Nov 2014 15:15:00 +0000 (23:15 +0800)
commit19167bfd8ae72ceeb41930343227bf8f5fb19a66
tree85be83b386b3b5180731faff2977a9448157281b
parenta727c4b6e523ba2d91854e8145542be74cfd9bab
crypto: caam - fix output sequence contiguity check

This patch fixes the assumption that output sequence is not contiguous
when input sequence is not contiguous and in-place encryption is done.
Output sequence does not need to be contiguous with associated data.

Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c