Add support for signature verification routines
Enabled high level logic flow for the signed image
signature validation routines.
Includes reading hash type, key type from Manifest file.
Change-Id: I9b0213042bb15882f351e7937fd17fb0a3e9fb33
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index 4d07ac9..df73fc5 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -12,6 +12,7 @@
#include <experimental/filesystem>
#include "version.hpp"
#include "serialize.hpp"
+#include "image_verify.hpp"
namespace phosphor
{
@@ -26,11 +27,9 @@
using namespace phosphor::logging;
using namespace sdbusplus::xyz::openbmc_project::Software::Version::Error;
+using namespace phosphor::software::image;
namespace fs = std::experimental::filesystem;
-const std::vector<std::string> bmcImages = {"image-kernel", "image-rofs",
- "image-rwfs", "image-u-boot"};
-
void ItemUpdater::createActivation(sdbusplus::message::message& msg)
{