crypto: sun8i-ce - move iv data to request context
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 18 Sep 2020 07:23:06 +0000 (07:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:17 +0000 (17:48 +1000)
commita216f8d540cf13211227daf44996e8a530b92468
tree1a68c1b3ada0e43294357111b78017272698c3a6
parent87f34260f5e09a4578132ad1c05aef2d707dd4bf
crypto: sun8i-ce - move iv data to request context

Instead of storing IV data in the channel context, store them in the
request context.
Storing them in the channel structure was conceptualy wrong since they
are per request related.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h