diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-05-15 16:09:40 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-05-25 23:39:11 +0200 |
commit | b9ccbe212e2443294dd636cb17b4e436db8774a7 (patch) | |
tree | 836f9e66b5e0beff3103a8680148185b32bd4b70 /python | |
parent | 02c4c448460e1370f767c56749a1756a5c4dcc3a (diff) | |
download | qemu-b9ccbe212e2443294dd636cb17b4e436db8774a7.zip qemu-b9ccbe212e2443294dd636cb17b4e436db8774a7.tar.gz qemu-b9ccbe212e2443294dd636cb17b4e436db8774a7.tar.bz2 |
hw/misc/aspeed_hace: Extract accumulation-mode hash execution into helper function
To improve code readability and maintainability of do_hash_operation(), this
commit introduces a new helper function: hash_execute_acc_mode().
This function encapsulates the full flow for accumulation mode, including
context initialization, update, conditional finalization, and digest writeback
with I/O vector unmapping.
No functional changes are introduced.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-9-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions