crypto: chcr - Avoid algo allocation in softirq.
authorHarsh Jain <harsh@chelsio.com>
Fri, 23 Jun 2017 14:15:11 +0000 (19:45 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 12 Jul 2017 10:38:08 +0000 (18:38 +0800)
commitd3f1d2f7863137c5d71e64041b48968db29b149e
treee355670658068522a14a1d71698c9d036c0b6869
parent854b06f768794cd664886ec3ba3a5b1c58d42167
crypto: chcr - Avoid algo allocation in softirq.

Thsi patch fixes calling "crypto_alloc_cipher" call in bottom halves.
Pre allocate aes cipher required to update Tweak value for XTS.

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