summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: Update to match docs repoGunnar Mills2018-09-111-4/+7
| | | | | | | | Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17dd8054 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Refactor of bmcImagesLei YU2018-07-171-1/+2
| | | | | | | | | | | | | | 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>
* Add unit tests for testing Signature verification functionalityJayanth Othayoth2018-03-292-2/+148
| | | | | | | Resolves openbmc/openbmc#2838 Change-Id: I60b5ca418551d404d29646fd729311adbe81290c Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Enable clang code formatAdriana Kobylak2018-03-021-17/+15
| | | | | Change-Id: Ia899858c11cff6e4fa26b820b35b1e5dca1b57df Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Use sha512 to calculate the versionID for images.Saqib Khan2017-10-042-8/+15
| | | | | | | | | | | | - We needed a hash algorithm that can be replicated on multiple platforms and across multiple programming languages. - This would allow the user to calculate the versionID by executing the following command to obtain correct versionID. echo -n "<versionID>" | sha512sum | cut -b 1-8 - This is part of the change required for openbmc/openbmc#2323 Change-Id: Ibc96a2871f07cb549c482c06dec7090e6ba3a766 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Move Active BMC version object to item_updater.Saqib Khan2017-06-261-2/+4
| | | | | | | | | - There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functionality to MANAGER class. Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Move version gtests to phosphor-bmc-code-mgmtGunnar Mills2017-05-113-0/+103
Moving the version gtests from openpower-pnor-code-mgmt to phosphor-bmc-code-mgmt. This code has been reviewed before, the only changes are renaming to "namespace phosphor", changes related to renaming the files, and changes related to renaming function getVersion to getValue. Change-Id: Id799fcfff8effbb4c63f1f4e7169aa425567dd41 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
OpenPOWER on IntegriCloud