crypto: chcr - Adjust Dest. buffer size
authorHarsh Jain <harsh@chelsio.com>
Tue, 29 Nov 2016 13:30:40 +0000 (19:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 12:01:48 +0000 (20:01 +0800)
commitadf1ca6182a642866b4dc3019ef539ddcda3bad4
treeff5f8a67daa5b8b490e03a2174ce814456f6fcaf
parentcc1b156df510f43d890d78cb3a92b3a616ecf691
crypto: chcr - Adjust Dest. buffer size

Destination buffer size passed to hardware should not be greater
than crypto operation output.

Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c