diff options
author | 2025-05-15 13:54:37 +0800 | |
---|---|---|
committer | 2025-05-19 13:48:19 +0800 | |
commit | 9d7a0ab1c75365158b28a5f7fa516061ea40b1b8 (patch) | |
tree | 16f21dab1c19d60f4947de6312776dde92da7106 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | crypto: hash - Add export_core and import_core hooks (diff) | |
download | wireguard-linux-9d7a0ab1c75365158b28a5f7fa516061ea40b1b8.tar.xz wireguard-linux-9d7a0ab1c75365158b28a5f7fa516061ea40b1b8.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions