[rkp-hal] Add DICE chain to the CSR in service VM
Bug: 301574013
Test: atest rialto_test
Change-Id: Idc6ccd8be08aed25a68fa69b7626564a5f734de5
diff --git a/service_vm/comm/src/message.rs b/service_vm/comm/src/message.rs
index 2671f7d..d3ef669 100644
--- a/service_vm/comm/src/message.rs
+++ b/service_vm/comm/src/message.rs
@@ -110,6 +110,9 @@
/// An error happened when serializing to/from a `Value`.
CborValueError,
+
+ /// The DICE chain of the service VM is missing.
+ MissingDiceChain,
}
impl fmt::Display for RequestProcessingError {
@@ -125,6 +128,7 @@
Self::CborValueError => {
write!(f, "An error happened when serializing to/from a CBOR Value.")
}
+ Self::MissingDiceChain => write!(f, "The DICE chain of the service VM is missing"),
}
}
}