#
33503e2a |
| 03-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I2a188ebd3faf376ecba3e20ef6a28ffbaa986628 Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I2a188ebd3faf376ecba3e20ef6a28ffbaa986628 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
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 ...
|
#
2b1edef0 |
| 24-Jul-2020 |
Zhikui Ren <zhikui.ren@intel.com> |
add size checking for input payload data
verify input data size before accessing to prevent out of bound access.
Tested: ipmitool with lanplus works same as without the change. ipmitool -I lanplus
add size checking for input payload data
verify input data size before accessing to prevent out of bound access.
Tested: ipmitool with lanplus works same as without the change. ipmitool -I lanplus -U xx -P xx -H ip -C 17 sol info ipmitool -I lanplus -U xx -P xx -H ip -C 17 sensor list ipmitool -I lanplus -U xx -P xx -H ip -C 17 sdr list ipmitool -I lanplus -U xx -P xx -H ip -C 17 user list 1
Signed-off-by: Zhikui Ren <zhikui.ren@intel.com> Change-Id: I5025aa2666c8873b7c63f8323a932c0480b59304
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 ...
|
#
62ec622e |
| 08-Apr-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Spelling fixes
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: I30765
Spelling fixes
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: I30765c0f799dabdb44b705a9720014db9a1b21df Signed-off-by: Gunnar Mills <gmills@us.ibm.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 ...
|
#
f6c97e11 |
| 02-Aug-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Implement RAII for openssl crypto function
Resolves openbmc/openbmc#1199
Change-Id: Icc19b66a2b027a74233187788d8aafcf3a2a964a Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
518eccea |
| 25-Jan-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Implementation of AES-CBC-128 Decryption & Encryption function
Change-Id: I4680f1eb7a19bffb9c336caf03b0aaa9ae0421fc Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
d08b5235 |
| 24-Jan-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Interfaces for the Confidentiality Algorithm
This patch defines the interfaces for the confidentaility algorithm. It provides API to decrypt the cipher payload and encrypt the plain text payload.
C
Interfaces for the Confidentiality Algorithm
This patch defines the interfaces for the confidentaility algorithm. It provides API to decrypt the cipher payload and encrypt the plain text payload.
Change-Id: I0c47ee14d5d5574c4d4996e437dffcaa2aa62f9a Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|