crypto: caam - Reintroduce DESC_MAX_USED_BYTES
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2015 06:25:55 +0000 (14:25 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Jun 2015 06:16:31 +0000 (14:16 +0800)
commit87e51b072485f519c6ef077f60f4b837677202cc
tree5d27889b7d5daa128a2a05f051236882edba9ada
parentf5d8660acb9623470adcef426c6ff7b07cbe4b74
crypto: caam - Reintroduce DESC_MAX_USED_BYTES

I incorrectly removed DESC_MAX_USED_BYTES when enlarging the size
of the shared descriptor buffers, thus making it four times larger
than what is necessary.  This patch restores the division by four
calculation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c