crypto: stm32 - Move hash state into separate structure
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Mar 2023 09:09:19 +0000 (17:09 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Mar 2023 03:16:44 +0000 (11:16 +0800)
commitc0c5d6428b3888b6d6931afc11f94d1f79a25356
treee0f5c33c006e70c319d32ef1ab3ff831e39eb6e5
parentcfac232d4d86c4458787ea92b1b1d99225c6f29e
crypto: stm32 - Move hash state into separate structure

Create a new struct stm32_hash_state so that it may be exported
in future instead of the entire request context.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/stm32/stm32-hash.c