]> git.ipfire.org Git - thirdparty/qemu.git/commit
test/qtest/hace: Support to validate 64-bit hmac key buffer addresses
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:59 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit823288fc136f8d4b165d2eb573306893e43bcdff
treeb9e647c18af056507cb7a78640f2ba64fc78b07f
parent88d8515fb76ca7b3de8a4cc89264e8494655567e
test/qtest/hace: Support to validate 64-bit hmac key buffer addresses

Added "key" and "key_hi" fields to "AspeedMasks" for 64-bit addresses test.
Updated "aspeed_test_addresses" to validate "HACE_HASH_KEY_BUFF" and
"HACE_HASH_KEY_BUFF_HI".
Ensured correct masking of 64-bit addresses by checking both lower and upper
32-bit registers.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-28-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/qtest/aspeed-hace-utils.c
tests/qtest/aspeed-hace-utils.h
tests/qtest/aspeed_hace-test.c