tests: Use libopen_dice_clear_memory
Stop re-implementing DiceClearMemory() wherever needed and use the
standalone implementation provided by upstream open-dice in our tests.
Note that the following tests:
- libservice_vm_requests.test
- libdiced_open_dice_nostd.integration_test
ues libdiced_open_dice_nostd but don't seem to require a definition of
DiceClearMemory(), which _could_ mean that one of their dependencies is
providing it e.g. libopen_dice_cbor or libopen_dice_cbor_p384.
Bug: 357008987
Test: m libpvmfw.dice.test
Test: m libdiced_sample_inputs_nostd.integration_test
Change-Id: I4b4ef61705ced42747fe5ddf3ebad13d91122554
diff --git a/libs/dice/sample_inputs/Android.bp b/libs/dice/sample_inputs/Android.bp
index 36fe8c7..c1c4566 100644
--- a/libs/dice/sample_inputs/Android.bp
+++ b/libs/dice/sample_inputs/Android.bp
@@ -78,4 +78,5 @@
"libdiced_open_dice_nostd",
"libdiced_sample_inputs_nostd",
],
+ static_libs: ["libopen_dice_clear_memory"],
}