Files
linux/crypto
Herbert Xu 108ce629cf crypto: hash - Fix synchronous ahash chaining fallback
The synchronous ahash fallback code paths are broken because the
ahash_restore_req assumes there is always a state object.  Fix this
by removing the state from ahash_restore_req and localising it to
the asynchronous completion callback.

Also add a missing synchronous finish call in ahash_def_digest_finish.

Fixes: f2ffe5a918 ("crypto: hash - Add request chaining API")
Fixes: 439963cdc3 ("crypto: ahash - Add virtual address support")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-03-22 07:25:19 +08:00
..
2023-12-08 11:59:46 +08:00
2024-02-02 18:08:12 +08:00
2024-08-17 13:55:50 +08:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2020-02-28 08:43:21 +08:00
2024-04-02 10:49:38 +08:00
2024-12-14 17:21:44 +08:00
2024-04-02 10:49:38 +08:00
2024-04-02 10:49:38 +08:00
2024-12-14 17:21:43 +08:00
2025-03-02 21:40:56 +00:00
2024-08-02 20:53:25 +08:00