crypto: chcr - Use SHASH_DESC_ON_STACK
authorHarsh Jain <harsh@chelsio.com>
Tue, 29 Nov 2016 13:30:41 +0000 (19:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 12:01:49 +0000 (20:01 +0800)
commite7922729bef4474c5817fa2184154a1698757d48
treebd05a15da2911d5b799d0e59127588e69034499b
parentadf1ca6182a642866b4dc3019ef539ddcda3bad4
crypto: chcr - Use SHASH_DESC_ON_STACK

Use SHASH_DESC_ON_STACK macro to allocate memory for ipad/opad
calculation.

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