[avb] Verify kernel integrity against the trusted key
This implementation is only tested with glibc outside pvmfw as
it still requires some libc methods implementation in pvmfw. When
the latter is ready, we can connect pvmfw to this implementation.
Bug: 256148034
Test: atest libpvmfw_avb.test && m pvmfw_img
Change-Id: I3e6372411fdd81b6293bbd34215d650c4276af8a
diff --git a/pvmfw/src/entry.rs b/pvmfw/src/entry.rs
index 1b35c79..e979a95 100644
--- a/pvmfw/src/entry.rs
+++ b/pvmfw/src/entry.rs
@@ -47,6 +47,7 @@
/// The provided ramdisk was invalid.
InvalidRamdisk,
/// Failed to verify the payload.
+ #[allow(dead_code)]
PayloadVerificationError,
}