crypto: crypto4xx - use sync skcipher for fallback
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 22 Apr 2019 11:26:00 +0000 (13:26 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 May 2019 06:03:29 +0000 (14:03 +0800)
commit9848e4c873c1cae019bbef4ab3a500a05ca59fe6
tree1ed5c1beebe3a50edd2391bac72a8aab4cabbc16
parent7e92e1717e3eaf6b322c252947c696b3059f05be
crypto: crypto4xx - use sync skcipher for fallback

This replaces struct crypto_skcipher and the extra request size
with struct crypto_sync_skcipher and SYNC_SKCIPHER_REQUEST_ON_STACK(),
which uses a fixed stack size.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_alg.c
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h