ipmi: start implementing flashDataVerify
Change-Id: I446ca8573db31eb53dc7aefbe25cdb9d23d51d29
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/ipmi.hpp b/ipmi.hpp
index a892300..a389e8e 100644
--- a/ipmi.hpp
+++ b/ipmi.hpp
@@ -104,3 +104,16 @@
*/
ipmi_ret_t hashFinish(UpdateInterface* updater, const uint8_t* reqBuf,
uint8_t* replyBuf, size_t* dataLen);
+
+/**
+ * Start the flash image verification process (whatever that is).
+ *
+ * @param[in] updater - Pointer to Updater object.
+ * @param[in] reqBuf - the IPMI packet.
+ * @param[in] replyBuf - Pointer to buffer for any response.
+ * @param[in,out] dataLen - Initially reqBuf length, set to replyBuf
+ * length when done.
+ * @return corresponding IPMI return code.
+ */
+ipmi_ret_t dataVerify(UpdateInterface* updater, const uint8_t* reqBuf,
+ uint8_t* replyBuf, size_t* dataLen);