summaryrefslogtreecommitdiffstats
path: root/image_verify.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: Update to match docs repoGunnar Mills2018-09-111-9/+11
| | | | | | | | Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17dd8054 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#3136 Tested: Verified the signature verification was successful. Change-Id: I2297243fdd652055fe9ea88f26eb2dcf473d24e6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Refactor of bmcImagesLei YU2018-07-171-0/+1
| | | | | | | | | | | | | | bmcImages were in image_verify.hpp but it is used not only in image verification, but elsewhere. Move it into a more generic header file, images.hpp, so it makes more clear that users of bmcImages include images.hpp instead of image_verify.hpp Tested: Verify the code pass the build. Change-Id: If9adf315eee9047d9d08ab93ed7c0ff3c97f7a1e Signed-off-by: Lei YU <mine260309@gmail.com>
* Spelling fixesGunnar Mills2018-04-091-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: I2ca3fd16d7cc84fdce63089b47fefb8f128894fd Signed-off-by: Gunnar Mills <gmills@us.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: I4fb378699d436e0c41adf80978f7cdaec12c6404 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Enabled OpenSSL based signature validation functionsJayanth Othayoth2018-03-131-8/+132
| | | | | | | | Added support for OpenSSL based function for the signed image validation. Change-Id: I45bb677276694b0bbb92c7c694c7f95b8b2c011d Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add support for signature verification routinesJayanth Othayoth2018-03-131-0/+170
| | | | | | | | | | 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>
* Create initial Signature verification classJayanth Othayoth2018-03-131-0/+17
Initial version of the signature validation infrastructure for BMC signed image. Change-Id: I79d8ad10dbb7e3c4f0ffd21609b483be6734b4af Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
OpenPOWER on IntegriCloud