crypto: chcr - Fix memory corruption
authorHarsh Jain <harsh@chelsio.com>
Tue, 29 Nov 2016 13:30:34 +0000 (19:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Nov 2016 11:46:44 +0000 (19:46 +0800)
commit66bf093772040ae8b864d2cf953f2c73005f7815
treef263ef833a13fb2976d9e91719c8c715b8d88846
parent5102981212454998d549273ff9847f19e97a1794
crypto: chcr - Fix memory corruption

Fix memory corruption done by  *((u32 *)dec_key + k)
 operation.

Signed-off-by: Jitendra Lulla <JLULLA@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.h