8425624a | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I8d0072c279e4de87dc001190845d0ca6da233345 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
67aaec2e | 04-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Remove compilation using autotools
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I554a8a14a2a8b887c2660dcd3c893313327178dc |
94f781a8 | 04-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
meson: Add meson build
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I711ec60fe2ab459db1d31c7dedfb9d3ba64061ae |
198b0f81 | 04-Aug-2022 |
George Liu <liuxiwei@inspur.com> |
Safe overloading with std::equal
Since C++20, there is a safer way to overload std::equal: template< class InputIt1, class InputIt2 > constexpr bool equal( InputIt1 first1, InputIt1 last1,
Safe overloading with std::equal
Since C++20, there is a safer way to overload std::equal: template< class InputIt1, class InputIt2 > constexpr bool equal( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2 ); Because if they are different lengths, it won't run past on either side. In theory, they should always be the same length.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1d25331521c1590b5f448f93b657f58f9f06d778
show more ...
|
fc37e59e | 19-Dec-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: replace std::cerr with phosphor::logging calls
This is part of a cleanup and standardization effort of code to get existing code up to date.
Change-Id: I0c982ef8d7afa2f56a9cd204bb8ac31127
netipmid: replace std::cerr with phosphor::logging calls
This is part of a cleanup and standardization effort of code to get existing code up to date.
Change-Id: I0c982ef8d7afa2f56a9cd204bb8ac3112769641c Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
cbccb05a | 24-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: move event loop to boost::asio::io_context
Replacing the event loop with asio provides for more flexibility and less code than the sd_event model. Intially, this will require the loop to h
netipmid: move event loop to boost::asio::io_context
Replacing the event loop with asio provides for more flexibility and less code than the sd_event model. Intially, this will require the loop to handle both sd_events with a wrapper, but after all the sd_event sources are replaced with asio event sources the wrapper can be removed.
Change-Id: Icf020c6c26a214bb1239641733c89603501c0c49 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
9e801a2b | 12-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
netipmid: apply clang-format rules
Lots of whitespace change. Let clang-format do its job and keep the code looking nice.
Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon
netipmid: apply clang-format rules
Lots of whitespace change. Let clang-format do its job and keep the code looking nice.
Change-Id: Idfcad1a99cab8170d55a06163de8ad3f420b68b7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
584fa887 | 06-Sep-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
Add support for OpenSSL 1.1.0
With OpenSSL 1.1.0, some of the functions were deprecated, such as EVP_CIPHER_CTX_cleanup. Replace EVP_CIPHER_CTX_cleanup with EVP_CIPHER_CTX_free and replace EVP_CIPHE
Add support for OpenSSL 1.1.0
With OpenSSL 1.1.0, some of the functions were deprecated, such as EVP_CIPHER_CTX_cleanup. Replace EVP_CIPHER_CTX_cleanup with EVP_CIPHER_CTX_free and replace EVP_CIPHER_CTX_init with EVP_CIPHER_CTX_new as these are the new recommended interfaces.
These exist in OpenSSL 1.0.2 already so this change is backward compatible.
Resolves openbmc/openbmc#3135
Change-Id: I937d19708b10c33d9544f27af47963634c2bd36b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
7e9e2ef6 | 29-Nov-2017 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
Add support for cipher suite 17
cipher suite 17 uses RAKP_HMAC_SHA256 for authentication and RAKP_HMAC_SHA256_128 for integrity. This adds those in and fixes up the lookups so the stack knows about
Add support for cipher suite 17
cipher suite 17 uses RAKP_HMAC_SHA256 for authentication and RAKP_HMAC_SHA256_128 for integrity. This adds those in and fixes up the lookups so the stack knows about the new algorithms.
Change-Id: Icdc66563d08060fc0e541ceaf3bee9dd5f89fdb2 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
9b307be6 | 22-Nov-2017 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
Prepare for adding RMCP+ cipher suite 17
In many places, there are baked-in assumptions about algorithms that tie the session initiation to cipher suite 3. This commit teases out those assumptions a
Prepare for adding RMCP+ cipher suite 17
In many places, there are baked-in assumptions about algorithms that tie the session initiation to cipher suite 3. This commit teases out those assumptions and prepares for the next patch that actually adds in the new authentication and integrity algorithms to support cipher suite 17.
Change-Id: I2ee3672a7c503b89c5ff0aba30cf7a4601e24d04 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
70fd29cf | 30-Nov-2017 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
explicit use of std::vector instead of buffer/Buffer
There were several scoped 'using buffer = std::vector<uint8_t>;' in header files. This consolidates the code base to use std::vector<uint8_t> ins
explicit use of std::vector instead of buffer/Buffer
There were several scoped 'using buffer = std::vector<uint8_t>;' in header files. This consolidates the code base to use std::vector<uint8_t> instead of buffer or Buffer. This makes the code easier to read and debug.
Change-Id: I918a0f6ca9b8e4b9d331175dccff45cbf4c8379d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
1e5a76a0 | 30-Jan-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Enable gtest and write testcases for Integrity & Conf algorithms
Resolves openbmc/openbmc#870 Resolves openbmc/openbmc#447
Change-Id: Idfeaf7b0c458faefc0e825419539f9500ee3ae8c Signed-off-by: Tom Jo
Enable gtest and write testcases for Integrity & Conf algorithms
Resolves openbmc/openbmc#870 Resolves openbmc/openbmc#447
Change-Id: Idfeaf7b0c458faefc0e825419539f9500ee3ae8c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|