aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-05-15 13:54:37 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-05-19 13:48:19 +0800
commit9d7a0ab1c75365158b28a5f7fa516061ea40b1b8 (patch)
tree16f21dab1c19d60f4947de6312776dde92da7106 /tools/perf/scripts/python/export-to-postgresql.py
parentcrypto: hash - Add export_core and import_core hooks (diff)
downloadwireguard-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions