#
96442c88 |
| 16-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I014e7670ca4ba57f7e1b80e96c001474cf7a6676 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
7fb6c346 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I4530f5b9df4f5898e26a2eef7efcf82e9728197f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
3ce1a4cb |
| 08-Dec-2021 |
Adriana Kobylak <anoo@us.ibm.com> |
openssl: stop using deprecated read_RSAPublicKey Starting with openssl 3, the PEM_read_bio_RSAPublicKey function is deprecated. There is an existing API, PEM_read_PUBKEY which gives a
openssl: stop using deprecated read_RSAPublicKey Starting with openssl 3, the PEM_read_bio_RSAPublicKey function is deprecated. There is an existing API, PEM_read_PUBKEY which gives a nicer EVP_PKEY object instead. Switch to use this. Tested: Unit tests pass, which call 'verify' and use this code path. Change-Id: Id3d5cf5f200ae1fcb66329c848f6c3567f7ef3d7 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
9f44c99a |
| 06-Nov-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
c++17: drop experimental::filesystem Use the real filesystem library, and drop support for building with experimental under c++14. Change-Id: I47cbfc30b223db9dc28e9536ceb84e9fe3
c++17: drop experimental::filesystem Use the real filesystem library, and drop support for building with experimental under c++14. Change-Id: I47cbfc30b223db9dc28e9536ceb84e9fe3342e96 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
8facccfa |
| 04-Nov-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
style: update clang-format Pull the most recent OpenBMC style rules and run clang-format. Change-Id: Ifecce87b6aa64a2800dab3ba1e09ae415accb548 Signed-off-by: Brad Bishop <bradle
style: update clang-format Pull the most recent OpenBMC style rules and run clang-format. Change-Id: Ifecce87b6aa64a2800dab3ba1e09ae415accb548 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
ab139ce9 |
| 16-May-2020 |
Andrew Geissler <geissonator@yahoo.com> |
string: ensure string included Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly.
string: ensure string included Latest upstream yocto appears to have removed a free include of string. This is causing compile failures for files which do not include it properly. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ic1bf10e15071227582e5738336f632d33705c80b
show more ...
|
#
2b2d2298 |
| 18-Mar-2019 |
Lei YU <mine260309@gmail.com> |
Static layout: support image verification Add support of image verification for static layout PNOR code update. Tested: Verify the PNOR code update succeeds with valid-signed PNOR;
Static layout: support image verification 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>
show more ...
|
#
1db9adf3 |
| 05-Mar-2019 |
Lei YU <mine260309@gmail.com> |
Refactor: Fix issues found by cppcheck Resolve several issues found by cppcheck: [msl_verify.hpp:28]: (style) Class 'MinimumShipLevel' has a constructor with 1 argument that is
Refactor: Fix issues found by cppcheck Resolve several issues found by cppcheck: [msl_verify.hpp:28]: (style) Class 'MinimumShipLevel' has a constructor with 1 argument that is not explicit. [ubi/watch.hpp:21]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [item_updater_main.cpp:22] -> [item_updater_main.cpp:49]: (style) Local variable rc shadows outer symbol [serialize.cpp:19]: (performance) Function parameter 'versionId' should be passed by const reference. [ubi/watch.hpp:43]: (style) Struct 'CustomFd' has a constructor with 1 argument that is not explicit. [serialize.cpp:52]: (performance) Function parameter 'versionId' should be passed by const reference. [serialize.cpp:116]: (performance) Function parameter 'versionId' should be passed by const reference. [activation.cpp:115] -> [activation.cpp:152]: (style) Local variable mapperResponseMsg shadows outer symbol [version.hpp:114]: (performance) Variable 'eraseCallback' is assigned in constructor body. Consider performing initialization in initialization list. [image_verify.hpp:53]: (style) Struct 'CustomFd' has a constructor with 1 argument that is not explicit. [ubi/item_updater_ubi.cpp:192]: (performance) Function parameter 'versionId' should be passed by const reference. [ubi/item_updater_ubi.cpp:203]: (performance) Function parameter 'versionId' should be passed by const reference. Tested: Verify the code compiles and cppcheck does not report the above issues. Change-Id: I096392a2a7a283fe198c9c29185125e61295e10f Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
f6ed5897 |
| 07-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
clang-format: Update to match docs repo Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I7119c12f1cc0a461cb7e4576dff6a02dcc9
clang-format: Update to match docs repo Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I7119c12f1cc0a461cb7e4576dff6a02dcc95cbc4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
70ca2422 |
| 06-Sep-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
image_verify: Add support for OpenSSL 1.1.0 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_CT
image_verify: Add support for OpenSSL 1.1.0 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>
show more ...
|
#
70804dcd |
| 20-Mar-2018 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
Add support for signature verification routines Enabled high level logic flow for the PNOR signed image signature validation routines. Includes reading hash type, key type from
Add support for signature verification routines 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>
show more ...
|