Herbert Xu
9d7a0ab1c7
crypto: ahash - Handle partial blocks in API
...
Provide an option to handle the partial blocks in the ahash API.
Almost every hash algorithm has a block size and are only able
to hash partial blocks on finalisation.
As a first step disable virtual address support for algorithms
with state sizes larger than HASH_MAX_STATESIZE. This is OK as
virtual addresses are currently only used on synchronous fallbacks.
This means ahash_do_req_chain only needs to handle synchronous
fallbacks, removing the complexities of saving the request state.
Also move the saved request state into the ahash_request object
as nesting is no longer possible.
Add a scatterlist to ahash_request to store the partial block.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2025-05-19 13:48:19 +08:00
..
2025-04-17 10:41:47 +08:00
2025-03-15 15:08:53 +08:00
2025-03-21 17:33:38 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2021-03-19 21:59:45 +11:00
2025-05-05 18:20:44 +08:00
2022-12-02 18:12:40 +08:00
2024-05-31 17:34:56 +08:00
2025-05-19 13:48:19 +08:00
2025-04-16 15:36:24 +08:00
2025-05-12 13:34:04 +08:00
2025-05-12 13:33:14 +08:00
2025-05-12 13:32:53 +08:00
2024-05-31 17:34:56 +08:00
2023-06-24 15:50:13 -07:00
2024-05-31 17:34:56 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:33:14 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2025-05-12 13:32:53 +08:00
2025-05-05 18:20:44 +08:00
2022-12-02 18:12:40 +08:00
2025-05-05 18:20:44 +08:00
2025-03-02 15:19:43 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-05-31 17:34:56 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2024-12-02 11:34:44 -08:00
2025-05-05 18:20:44 +08:00
2025-03-15 16:21:22 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-25 10:46:04 +08:00
2025-05-12 13:32:53 +08:00
2025-03-21 17:39:06 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2022-03-03 10:47:50 +12:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-04-12 15:07:52 +08:00
2025-02-09 18:08:12 +08:00
2021-03-13 00:04:03 +11:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:16:21 +08:00
2025-04-16 15:16:21 +08:00
2025-05-05 18:20:44 +08:00
2021-03-26 19:41:58 +11:00
2025-05-12 13:32:53 +08:00
2024-04-12 15:07:52 +08:00
2025-04-16 15:16:21 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2025-05-12 13:32:53 +08:00
2025-05-05 18:20:44 +08:00
2023-10-27 18:04:30 +08:00
2024-04-02 10:49:38 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:33:14 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:33:14 +08:00
2024-04-05 15:46:33 +08:00
2024-10-19 08:44:30 +08:00
2024-08-30 18:22:30 +08:00
2024-10-19 08:44:30 +08:00
2025-05-12 13:34:04 +08:00
2025-05-12 13:33:14 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-03-21 17:39:06 +08:00
2021-01-29 16:07:04 +11:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2024-10-05 13:22:04 +08:00
2025-05-05 18:20:44 +08:00
2023-10-27 18:04:28 +08:00
2023-10-27 18:04:28 +08:00
2025-04-16 15:16:21 +08:00
2025-04-28 19:45:26 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-23 15:52:46 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-05-19 13:48:19 +08:00
2025-04-16 15:36:24 +08:00
2024-08-24 21:39:15 +08:00
2025-04-28 19:45:26 +08:00
2024-04-02 10:49:38 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-10-02 17:23:23 -04:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2025-05-12 13:32:53 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:34:03 +08:00
2025-05-05 13:33:00 +08:00
2022-12-02 18:12:40 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-08-02 20:53:25 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00