summaryrefslogtreecommitdiffstats
path: root/image_verify.cpp
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2018-02-21 05:12:39 -0600
committerJayanth Othayoth <ojayanth@in.ibm.com>2018-03-13 06:07:48 -0500
commit9d7cd834ecfd2a8e868de398c8122fd31e0b7961 (patch)
tree6cebd522a0068ffe2ce191d7adb93fafd7dafa19 /image_verify.cpp
parent2285fe0fc6a6bba7c587bec0a1f733b333dc2650 (diff)
downloadphosphor-bmc-code-mgmt-9d7cd834ecfd2a8e868de398c8122fd31e0b7961.tar.gz
phosphor-bmc-code-mgmt-9d7cd834ecfd2a8e868de398c8122fd31e0b7961.zip
Create initial Signature verification class
Initial version of the signature validation infrastructure for BMC signed image. Change-Id: I79d8ad10dbb7e3c4f0ffd21609b483be6734b4af Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'image_verify.cpp')
-rw-r--r--image_verify.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/image_verify.cpp b/image_verify.cpp
new file mode 100644
index 0000000..be5536c
--- /dev/null
+++ b/image_verify.cpp
@@ -0,0 +1,17 @@
+#include "image_verify.hpp"
+
+namespace phosphor
+{
+namespace software
+{
+namespace image
+{
+
+bool Signature::verify()
+{
+ return true;
+}
+
+} // namespace image
+} // namespace software
+} // namespace phosphor
OpenPOWER on IntegriCloud