]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a7bec42e04cea90c7dbba2778d70482aaf3964b
tree85be83b386b3b5180731faff2977a9448157281b
parentdd44bbda597ad57aee190b7c01d8d671f35c07f6
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