summaryrefslogtreecommitdiffstats
path: root/image_verify.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Static layout: support image verificationLei YU2019-04-041-3/+4
| | | | | | | | | | | Add support of image verification for static layout PNOR code update. Tested: Verify the PNOR code update succeeds with valid-signed PNOR; and fails with invalid-signed PNOR or a PNOR tarball without signature. Change-Id: I1aafeb4e8e07eaa16c170f33f4f21940f7c9c146 Signed-off-by: Lei YU <mine260309@gmail.com>
* clang-format: Update to match docs repoGunnar Mills2018-09-111-8/+10
| | | | | | | | Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I7119c12f1cc0a461cb7e4576dff6a02dcc95cbc4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* image_verify: Add support for OpenSSL 1.1.0Adriana Kobylak2018-09-111-1/+1
| | | | | | | | | | | | | | | With OpenSSL 1.1.0, some of the functions were renamed, for example EVP_MD_CTX_create() and EVP_MD_CTX_destroy() were renamed to EVP_MD_CTX_new() and EVP_MD_CTX_free(). Reference: https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes Abstract them to support old and new APIs. Resolves openbmc/openbmc#3137 Tested: Verified the signature verification was successful. Change-Id: If8b3f185666c3db59567c4ee3bdfa168c501d3da Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Spelling fixesGunnar Mills2018-04-081-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I1070feb715b037adbb55badc516d8a63c0b721bc Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Fix compilation issuesJayanth Othayoth2018-03-281-1/+1
| | | | | | | | -Added fix for squashFSImage file name print error. -Added fix for conf path name typo. Change-Id: Ic11509a16d5d7c35b1bbb191175a8f710e66caad Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Spelling fixesGunnar Mills2018-03-231-5/+5
| | | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Tested: Built the repo Change-Id: Ic12ec06687fee33f6cf49ea9e44d3d06b782f1b6 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add support for signature verification routinesJayanth Othayoth2018-03-231-0/+312
Enabled high level logic flow for the PNOR signed image signature validation routines. Includes reading hash type, key type from Manifest file. Change-Id: I00280fff5a61291852c1f2d5f6fd8aec3dd62bf0 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
OpenPOWER on IntegriCloud