tests/qtest: Add test for Aspeed HACE
commit666099520aabd27f1995efd54a34ae8522eb2602
authorJoel Stanley <joel@jms.id.au>
Sat, 1 May 2021 08:03:51 +0000 (1 10:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:51 +0000 (1 10:03 +0200)
treec5972557e9ea037eb807fbca8a285dd2276adfb9
parenta3888d757acdd92c4c49fb9cad5f5733d8280a86
tests/qtest: Add test for Aspeed HACE

This adds a test for the Aspeed Hash and Crypto (HACE) engine. It tests
the currently implemented behavior of the hash functionality.

The tests are similar, but are cut/pasted instead of broken out into a
common function so the assert machinery produces useful output when a
test fails.

Co-developed-by: Cédric Le Goater <clg@kaod.org>
Co-developed-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20210409000253.1475587-4-joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
MAINTAINERS
tests/qtest/aspeed_hace-test.c [new file with mode: 0644]
tests/qtest/meson.build