#
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 ...
|
#
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 ...
|
#
bc8958fe |
| 03-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id:
Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1e06864afc29ce7de463e62fa2a0eb6f70e8fd93
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 ...
|
#
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 ...
|
#
d212a6dc |
| 10-Jan-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Implementation of HMAC-SHA1-96 Integrity Algorithm
Change-Id: Id301f0cb6e7cc9cde79385a18f3999d8d9c0feab Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
77531db5 |
| 10-Jan-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Interface for the Integrity Algorithm
This patch defines the interfaces for the integrity algorithm. It provides the API to verify integrity data of the incoming packet and to generate integrity dat
Interface for the Integrity Algorithm
This patch defines the interfaces for the integrity algorithm. It provides the API to verify integrity data of the incoming packet and to generate integrity data for the outgoing packet.
Change-Id: Ibd645c0ab0d9f4ec26f085353d141f7a3262ab2e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|